summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-10-10 15:00:49 +1000
committerDamien Miller <djm@mindrot.org>2001-10-10 15:00:49 +1000
commitaf3030f70996be721a5152f23d5ea9a930a93b45 (patch)
tree4b29af939680edf481ea606fc552f33b92699d29
parent7c23540fffc70f9b981db318b569ec061e79e91a (diff)
- markus@cvs.openbsd.org 2001/10/04 14:34:16
[key.c] call OPENSSL_free() for memory allocated by openssl; from chombier@mac.com
-rw-r--r--ChangeLog8
-rw-r--r--key.c4
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2064abf2..9c8dc92b 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 <matthew@sel.cam.ac.uk>
@@ -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 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 <openssl/evp.h>
@@ -354,7 +354,7 @@ write_bignum(FILE *f, BIGNUM *num)
return 0;
}
fprintf(f, " %s", buf);
- xfree(buf);
+ OPENSSL_free(buf);
return 1;
}