From af3030f70996be721a5152f23d5ea9a930a93b45 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 10 Oct 2001 15:00:49 +1000 Subject: - markus@cvs.openbsd.org 2001/10/04 14:34:16 [key.c] call OPENSSL_free() for memory allocated by openssl; from chombier@mac.com --- ChangeLog | 8 +++++++- key.c | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2064abf25..9c8dc92bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +20011010 + - (djm) OpenBSD CVS Sync + - markus@cvs.openbsd.org 2001/10/04 14:34:16 + [key.c] + call OPENSSL_free() for memory allocated by openssl; from chombier@mac.com + 20011007 - (bal) ssh-copy-id corrected permissions for .ssh/ and authorized_keys. Prompted by Matthew Vernon @@ -6642,4 +6648,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1584 2001/10/08 01:54:24 mouring Exp $ +$Id: ChangeLog,v 1.1585 2001/10/10 05:00:49 djm Exp $ diff --git a/key.c b/key.c index 5c711b9d7..57df5b93a 100644 --- a/key.c +++ b/key.c @@ -32,7 +32,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: key.c,v 1.32 2001/09/19 13:23:29 markus Exp $"); +RCSID("$OpenBSD: key.c,v 1.33 2001/10/04 14:34:16 markus Exp $"); #include @@ -354,7 +354,7 @@ write_bignum(FILE *f, BIGNUM *num) return 0; } fprintf(f, " %s", buf); - xfree(buf); + OPENSSL_free(buf); return 1; } -- cgit v1.2.3