and the first patch

Werner Koch wk at gnupg.org
Fri Sep 7 19:40:01 CEST 2001


Hi,

Disastry pointed a stupid error regarding the new features flag out. 

Thanks,

   Werner

Index: g10/keygen.c
===================================================================
RCS file: /cvs/gnupg/gnupg/g10/keygen.c,v
retrieving revision 1.70.2.27
diff -u -r1.70.2.27 keygen.c
--- g10/keygen.c	2001/09/07 07:57:51	1.70.2.27
+++ g10/keygen.c	2001/09/07 16:35:50
@@ -292,7 +292,7 @@
         return; /* already set */
     if (!s || !n) { /* create a new one */
         n = 1;
-        buf = m_alloc (n);
+        buf = m_alloc_clear (n);
     }
     else {
         buf = m_alloc (n);



-- 
Werner Koch        Omnis enim res, quae dando non deficit, dum habetur
g10 Code GmbH      et non datur, nondum habetur, quomodo habenda est.
Privacy Solutions                                        -- Augustinus





More information about the Gnupg-devel mailing list