From c48c32c1d58312e02017c436b7725a5793abfd42 Mon Sep 17 00:00:00 2001 From: djm Date: Wed, 10 Oct 2001 05:00:49 +0000 Subject: [PATCH] - 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 | 6 ++++++ key.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 03233f20..44fa7eb5 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 diff --git a/key.c b/key.c index 5c711b9d..57df5b93 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; } -- 2.45.1