X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=smime.c;h=2361830e117d472b744be07322e50f471403ad7a;hb=09e1bf15b3c55ca9c44c09d2e91dd251af2da706;hp=24c237cb3c255ffbe4293b4cb75883828fe6b044;hpb=9bd4cf1b49105dcc131bf722abcbb24fed67d4dc;p=apps%2Fmadmutt.git diff --git a/smime.c b/smime.c index 24c237c..2361830 100644 --- a/smime.c +++ b/smime.c @@ -464,8 +464,8 @@ char* smime_ask_for_key (char *prompt, char *mailbox, short public) } } if (hash) { - fname = safe_malloc(14); /* Hash + '.' + Suffix + \n + \0 */ - sprintf(fname, "%.8x.%i\n", Table[cur].hash, Table[cur].suffix); + fname = safe_malloc(13); /* Hash + '.' + Suffix + \0 */ + sprintf(fname, "%.8x.%i", Table[cur].hash, Table[cur].suffix); } else fname = NULL;