summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-04-04 15:30:52 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-04-04 15:30:52 +0000
commit900e1f591631461911eff2086a658d43cade7486 (patch)
tree9ae6fbf9b07ae04cabbfde43a2fcfed6cedae42f /usr.bin
parent50996f7ea20db69057fa8dc13a911c8ed3c3ff6c (diff)
missing free.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/sshconnect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c
index 3999d95ea86..972ffeee652 100644
--- a/usr.bin/ssh/sshconnect.c
+++ b/usr.bin/ssh/sshconnect.c
@@ -10,7 +10,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshconnect.c,v 1.59 2000/04/04 15:19:43 markus Exp $");
+RCSID("$OpenBSD: sshconnect.c,v 1.60 2000/04/04 15:30:51 markus Exp $");
#include <ssl/bn.h>
#include "xmalloc.h"
@@ -1467,8 +1467,8 @@ ssh_kex2(char *host, struct sockaddr *hostaddr)
dh_server_pub,
shared_secret
);
- buffer_clear(client_kexinit);
- buffer_clear(server_kexinit);
+ buffer_free(client_kexinit);
+ buffer_free(server_kexinit);
xfree(client_kexinit);
xfree(server_kexinit);
#ifdef DEBUG_KEXDH