summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/key.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-10-04 14:34:16 +0000
committermarkus <markus@openbsd.org>2001-10-04 14:34:16 +0000
commitc085232e8405e1e65458687208a6e133a4931bfc (patch)
tree491b49ecf2f7a7561a1257195bac8f7f4505f4b9 /usr.bin/ssh/key.c
parente.g. and i.e. cleanup (diff)
downloadwireguard-openbsd-c085232e8405e1e65458687208a6e133a4931bfc.tar.xz
wireguard-openbsd-c085232e8405e1e65458687208a6e133a4931bfc.zip
call OPENSSL_free() for memory allocated by openssl; from chombier@mac.com
Diffstat (limited to 'usr.bin/ssh/key.c')
-rw-r--r--usr.bin/ssh/key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/key.c b/usr.bin/ssh/key.c
index 5c711b9d797..57df5b93aef 100644
--- a/usr.bin/ssh/key.c
+++ b/usr.bin/ssh/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;
}