gnupg/gnupg.patch

changeset 107
2f8ffdf7658b
parent 30
3839a3a70f72
child 286
552d1939222f
     1.1 --- a/gnupg/gnupg.patch	Wed Feb 18 16:40:58 2009 +0100
     1.2 +++ b/gnupg/gnupg.patch	Sat Feb 21 16:39:01 2009 +0100
     1.3 @@ -33,3 +33,18 @@
     1.4   cat >conftest.$ac_ext <<_ACEOF
     1.5   /* confdefs.h.  */
     1.6   _ACEOF
     1.7 +Index: configure
     1.8 +--- g10/seckey-cert.c.orig	2008-03-18 17:46:32.000000000 +0100
     1.9 ++++ g10/seckey-cert.c	2009-02-18 21:25:25.508715635 +0100
    1.10 +@@ -209,6 +209,11 @@
    1.11 +                 csum += checksum (buffer, ndata);
    1.12 +                 gcry_mpi_release (sk->skey[i]);
    1.13 + 
    1.14 ++        if (sk->protect.algo==CIPHER_ALGO_IDEA) {
    1.15 ++            buffer[0] = 0;
    1.16 ++            buffer[1] = 0;
    1.17 ++        }
    1.18 ++
    1.19 + 		err = gcry_mpi_scan( &sk->skey[i], GCRYMPI_FMT_PGP,
    1.20 + 				     buffer, ndata, &ndata );
    1.21 + 		xfree (buffer);

mercurial