diff options
-rw-r--r-- | auth2-chall.c | 6 | ||||
-rw-r--r-- | auth2-pubkey.c | 6 | ||||
-rw-r--r-- | sshconnect2.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/auth2-chall.c b/auth2-chall.c index 5edd0e653..4fd18f467 100644 --- a/auth2-chall.c +++ b/auth2-chall.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth2-chall.c,v 1.49 2018/07/09 21:35:50 markus Exp $ */ | 1 | /* $OpenBSD: auth2-chall.c,v 1.50 2018/07/11 18:55:11 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
4 | * Copyright (c) 2001 Per Allansson. All rights reserved. | 4 | * Copyright (c) 2001 Per Allansson. All rights reserved. |
@@ -280,9 +280,9 @@ send_userauth_info_request(struct ssh *ssh) | |||
280 | (r = sshpkt_put_u8(ssh, echo_on[i])) != 0) | 280 | (r = sshpkt_put_u8(ssh, echo_on[i])) != 0) |
281 | fatal("%s: %s", __func__, ssh_err(r)); | 281 | fatal("%s: %s", __func__, ssh_err(r)); |
282 | } | 282 | } |
283 | if ((r = sshpkt_send(ssh)) != 0) | 283 | if ((r = sshpkt_send(ssh)) != 0 || |
284 | (r = ssh_packet_write_wait(ssh)) != 0) | ||
284 | fatal("%s: %s", __func__, ssh_err(r)); | 285 | fatal("%s: %s", __func__, ssh_err(r)); |
285 | ssh_packet_write_wait(ssh); | ||
286 | 286 | ||
287 | for (i = 0; i < kbdintctxt->nreq; i++) | 287 | for (i = 0; i < kbdintctxt->nreq; i++) |
288 | free(prompts[i]); | 288 | free(prompts[i]); |
diff --git a/auth2-pubkey.c b/auth2-pubkey.c index e649a6253..c4d0f7908 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth2-pubkey.c,v 1.81 2018/07/09 21:35:50 markus Exp $ */ | 1 | /* $OpenBSD: auth2-pubkey.c,v 1.82 2018/07/11 18:55:11 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -218,9 +218,9 @@ userauth_pubkey(struct ssh *ssh) | |||
218 | != 0 || | 218 | != 0 || |
219 | (r = sshpkt_put_cstring(ssh, pkalg)) != 0 || | 219 | (r = sshpkt_put_cstring(ssh, pkalg)) != 0 || |
220 | (r = sshpkt_put_string(ssh, pkblob, blen)) != 0 || | 220 | (r = sshpkt_put_string(ssh, pkblob, blen)) != 0 || |
221 | (r = sshpkt_send(ssh)) != 0) | 221 | (r = sshpkt_send(ssh)) != 0 || |
222 | (r = ssh_packet_write_wait(ssh)) != 0) | ||
222 | fatal("%s: %s", __func__, ssh_err(r)); | 223 | fatal("%s: %s", __func__, ssh_err(r)); |
223 | ssh_packet_write_wait(ssh); | ||
224 | authctxt->postponed = 1; | 224 | authctxt->postponed = 1; |
225 | } | 225 | } |
226 | } | 226 | } |
diff --git a/sshconnect2.c b/sshconnect2.c index 9874b4485..fb90e8afc 100644 --- a/sshconnect2.c +++ b/sshconnect2.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect2.c,v 1.279 2018/07/11 18:53:29 markus Exp $ */ | 1 | /* $OpenBSD: sshconnect2.c,v 1.280 2018/07/11 18:55:11 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * Copyright (c) 2008 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2008 Damien Miller. All rights reserved. |
@@ -234,9 +234,9 @@ ssh_kex2(char *host, struct sockaddr *hostaddr, u_short port) | |||
234 | /* send 1st encrypted/maced/compressed message */ | 234 | /* send 1st encrypted/maced/compressed message */ |
235 | if ((r = sshpkt_start(ssh, SSH2_MSG_IGNORE)) != 0 || | 235 | if ((r = sshpkt_start(ssh, SSH2_MSG_IGNORE)) != 0 || |
236 | (r = sshpkt_put_cstring(ssh, "markus")) != 0 || | 236 | (r = sshpkt_put_cstring(ssh, "markus")) != 0 || |
237 | (r = sshpkt_send(ssh)) != 0) | 237 | (r = sshpkt_send(ssh)) != 0 || |
238 | (r = ssh_packet_write_wait(ssh)) != 0) | ||
238 | fatal("%s: %s", __func__, ssh_err(r)); | 239 | fatal("%s: %s", __func__, ssh_err(r)); |
239 | ssh_packet_write_wait(ssh); | ||
240 | #endif | 240 | #endif |
241 | } | 241 | } |
242 | 242 | ||