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.
This commit is contained in:
agc 2010-06-01 03:19:26 +00:00
parent c47694a416
commit 9fc2904ac1
1 changed files with 1 additions and 2 deletions

View File

@ -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_seckey_free(__ops_seckey_t *key)
__ops_show_pka(key->pubkey.alg));
}
free(key->checkhash);
__ops_pubkey_free(&key->pubkey);
}
static int