diff options
Diffstat (limited to 'sshconnect2.c')
-rw-r--r-- | sshconnect2.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 | ||