[key.c]
     call OPENSSL_free() for memory allocated by openssl; from chombier@mac.com
This commit is contained in:
Damien Miller 2001-10-10 15:00:49 +10:00
parent 7c23540fff
commit af3030f709
2 changed files with 9 additions and 3 deletions

View File

@ -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 $

4
key.c
View File

@ -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;
}