summaryrefslogtreecommitdiff
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 2064abf25..9c8dc92bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
120011010
2 - (djm) OpenBSD CVS Sync
3 - markus@cvs.openbsd.org 2001/10/04 14:34:16
4 [key.c]
5 call OPENSSL_free() for memory allocated by openssl; from chombier@mac.com
6
120011007 720011007
2 - (bal) ssh-copy-id corrected permissions for .ssh/ and authorized_keys. 8 - (bal) ssh-copy-id corrected permissions for .ssh/ and authorized_keys.
3 Prompted by Matthew Vernon <matthew@sel.cam.ac.uk> 9 Prompted by Matthew Vernon <matthew@sel.cam.ac.uk>
@@ -6642,4 +6648,4 @@
6642 - Wrote replacements for strlcpy and mkdtemp 6648 - Wrote replacements for strlcpy and mkdtemp
6643 - Released 1.0pre1 6649 - Released 1.0pre1
6644 6650
6645$Id: ChangeLog,v 1.1584 2001/10/08 01:54:24 mouring Exp $ 6651$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 @@
32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 */ 33 */
34#include "includes.h" 34#include "includes.h"
35RCSID("$OpenBSD: key.c,v 1.32 2001/09/19 13:23:29 markus Exp $"); 35RCSID("$OpenBSD: key.c,v 1.33 2001/10/04 14:34:16 markus Exp $");
36 36
37#include <openssl/evp.h> 37#include <openssl/evp.h>
38 38
@@ -354,7 +354,7 @@ write_bignum(FILE *f, BIGNUM *num)
354 return 0; 354 return 0;
355 } 355 }
356 fprintf(f, " %s", buf); 356 fprintf(f, " %s", buf);
357 xfree(buf); 357 OPENSSL_free(buf);
358 return 1; 358 return 1;
359} 359}
360 360