From: Udo Schweigert Date: Mon, 28 Feb 2005 14:37:09 +0000 (+0000) Subject: As pointed out in a separate thread, here is a patch which fixes the X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29782cfde7a7621fbdd6950cb8212844e14d5ced;p=neomutt As pointed out in a separate thread, here is a patch which fixes the problem of a failing openssl after interactively selecting a recipient's key. --- diff --git a/smime.c b/smime.c index c43eb2b63..b635a313a 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;