Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/netpgp/dist/src/lib when cleaning up, do...



details:   https://anonhg.NetBSD.org/src/rev/15d253cc5f28
branches:  trunk
changeset: 755311:15d253cc5f28
user:      agc <agc%NetBSD.org@localhost>
date:      Tue Jun 01 03:19:26 2010 +0000

description:
when cleaning up, don't try to free the public key which is part of the
secret key - shown up by Mac OS X malloc.

diffstat:

 crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r d2f779011799 -r 15d253cc5f28 crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c
--- a/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c    Tue Jun 01 02:40:13 2010 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c    Tue Jun 01 03:19:26 2010 +0000
@@ -58,7 +58,7 @@
 
 #if defined(__NetBSD__)
 __COPYRIGHT("@(#) Copyright (c) 2009 The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: packet-parse.c,v 1.35 2010/05/25 01:05:10 agc Exp $");
+__RCSID("$NetBSD: packet-parse.c,v 1.36 2010/06/01 03:19:26 agc Exp $");
 #endif
 
 #ifdef HAVE_OPENSSL_CAST_H
@@ -2246,7 +2246,6 @@
                        __ops_show_pka(key->pubkey.alg));
        }
        free(key->checkhash);
-       __ops_pubkey_free(&key->pubkey);
 }
 
 static int 



Home | Main Index | Thread Index | Old Index