<<< Date Index >>>     <<< Thread Index >>>

Re: issue with smime and mutt 1.5.5.1



On 2004-01-03 17:34:07 -0600, Will Fiveash wrote:

> I don't have smime_default_key set in .muttrc thus
> SmimeDefaultKey is NULL.  Should I open a bug?

No. ;-)

--- smime.c     30 Dec 2003 13:04:20 -0000      3.30
+++ smime.c     4 Jan 2004 09:40:56 -0000
@@ -692,10 +692,10 @@
   }
 
   snprintf (SmimeKeyToUse, sizeof (SmimeKeyToUse), "%s/%s", 
-           NONULL (SmimeKeys), SmimeDefaultKey);
+           NONULL (SmimeKeys), NONULL (SmimeDefaultKey));
   
   snprintf (SmimeCertToUse, sizeof (SmimeCertToUse), "%s/%s",
-           NONULL (SmimeCertificates), SmimeDefaultKey);
+           NONULL (SmimeCertificates), NONULL (SmimeDefaultKey));
 }
 
 void smime_getkeys (ENVELOPE *env)


-- 
Thomas Roessler · Personal soap box at <http://log.does-not-exist.org/>.