diff options
Diffstat (limited to 'sshconnect2.c')
-rw-r--r-- | sshconnect2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sshconnect2.c b/sshconnect2.c index 281fecdc9..3a218113c 100644 --- a/sshconnect2.c +++ b/sshconnect2.c | |||
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: sshconnect2.c,v 1.133 2003/11/21 11:57:03 djm Exp $"); | 26 | RCSID("$OpenBSD: sshconnect2.c,v 1.134 2004/01/19 21:25:15 markus Exp $"); |
27 | 27 | ||
28 | #include "openbsd-compat/sys-queue.h" | 28 | #include "openbsd-compat/sys-queue.h" |
29 | 29 | ||
@@ -1267,7 +1267,7 @@ ssh_keysign(Key *key, u_char **sigp, u_int *lenp, | |||
1267 | 1267 | ||
1268 | if (ssh_msg_recv(from[0], &b) < 0) { | 1268 | if (ssh_msg_recv(from[0], &b) < 0) { |
1269 | error("ssh_keysign: no reply"); | 1269 | error("ssh_keysign: no reply"); |
1270 | buffer_clear(&b); | 1270 | buffer_free(&b); |
1271 | return -1; | 1271 | return -1; |
1272 | } | 1272 | } |
1273 | close(from[0]); | 1273 | close(from[0]); |
@@ -1279,11 +1279,11 @@ ssh_keysign(Key *key, u_char **sigp, u_int *lenp, | |||
1279 | 1279 | ||
1280 | if (buffer_get_char(&b) != version) { | 1280 | if (buffer_get_char(&b) != version) { |
1281 | error("ssh_keysign: bad version"); | 1281 | error("ssh_keysign: bad version"); |
1282 | buffer_clear(&b); | 1282 | buffer_free(&b); |
1283 | return -1; | 1283 | return -1; |
1284 | } | 1284 | } |
1285 | *sigp = buffer_get_string(&b, lenp); | 1285 | *sigp = buffer_get_string(&b, lenp); |
1286 | buffer_clear(&b); | 1286 | buffer_free(&b); |
1287 | 1287 | ||
1288 | return 0; | 1288 | return 0; |
1289 | } | 1289 | } |