From: Jeff Ito Date: Wed, 5 Oct 2005 19:20:22 +0000 (+0000) Subject: S/MIME key selection truncates the last character of the selected key for X-Git-Tag: mutt-1-5-12-rel~305 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80a4a41e17efe0159214cf8745130fcd3d6348a2;p=mutt S/MIME key selection truncates the last character of the selected key for no apparent reason. Removed until someone can justify it. Closes: #2081. --- diff --git a/smime.c b/smime.c index e8150a7d..ea54973b 100644 --- a/smime.c +++ b/smime.c @@ -1989,7 +1989,6 @@ int smime_send_menu (HEADER *msg, int *redraw) if ((p = smime_ask_for_key (_("Sign as: "), NULL, 0))) { - p[mutt_strlen (p)-1] = '\0'; mutt_str_replace (&SmimeDefaultKey, p); msg->security |= SIGN;