$NetBSD: patch-aj,v 1.1 2005/10/05 20:08:32 tonio Exp $

--- smime.c.orig	2005-08-14 14:33:37.000000000 +0200
+++ smime.c
@@ -1989,7 +1989,6 @@ int smime_send_menu (HEADER *msg, int *r
 
     if ((p = smime_ask_for_key (_("Sign as: "), NULL, 0))) 
     {
-      p[mutt_strlen (p)-1] = '\0';
       mutt_str_replace (&SmimeDefaultKey, p);
 	
       msg->security |= SIGN;
