diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-04-27 08:01:29 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-04-27 08:01:29 +0000 |
commit | 79e447f37ab0942e73f92029a8c9d61eeb94bc3f (patch) | |
tree | 075cd55f6615bfc14ba88b51ba55dafcf7ce895e /usr.bin/ssh/ssh-keygen.c | |
parent | 204aba230ecae24f5d479cde1602597d8d321e01 (diff) |
xfree DSA blobs
Diffstat (limited to 'usr.bin/ssh/ssh-keygen.c')
-rw-r--r-- | usr.bin/ssh/ssh-keygen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c index eae66500250..51ff058d96b 100644 --- a/usr.bin/ssh/ssh-keygen.c +++ b/usr.bin/ssh/ssh-keygen.c @@ -7,7 +7,7 @@ */ #include "includes.h" -RCSID("$Id: ssh-keygen.c,v 1.20 2000/04/26 21:55:04 deraadt Exp $"); +RCSID("$Id: ssh-keygen.c,v 1.21 2000/04/27 08:01:27 markus Exp $"); #include <openssl/evp.h> #include <openssl/pem.h> @@ -130,6 +130,7 @@ do_convert_to_ssh2(struct passwd *pw) dump_base64(stdout, blob, len); fprintf(stdout, SSH_COM_MAGIC_END "\n"); key_free(k); + xfree(blob); exit(0); } @@ -206,6 +207,7 @@ do_print_public(struct passwd *pw) if (!key_write(k, stdout)) fprintf(stderr, "key_write failed"); key_free(k); + xfree(blob); fprintf(stdout, "\n"); exit(0); } |