diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -39,7 +39,7 @@ | |||
39 | */ | 39 | */ |
40 | 40 | ||
41 | #include "includes.h" | 41 | #include "includes.h" |
42 | RCSID("$OpenBSD: ssh.c,v 1.159 2002/01/27 18:08:17 stevesk Exp $"); | 42 | RCSID("$OpenBSD: ssh.c,v 1.160 2002/02/03 17:58:21 markus Exp $"); |
43 | 43 | ||
44 | #include <openssl/evp.h> | 44 | #include <openssl/evp.h> |
45 | #include <openssl/err.h> | 45 | #include <openssl/err.h> |
@@ -1161,9 +1161,7 @@ ssh_session2_open(void) | |||
1161 | 1161 | ||
1162 | channel_send_open(c->self); | 1162 | channel_send_open(c->self); |
1163 | if (!no_shell_flag) | 1163 | if (!no_shell_flag) |
1164 | channel_register_callback(c->self, | 1164 | channel_register_confirm(c->self, ssh_session2_setup); |
1165 | SSH2_MSG_CHANNEL_OPEN_CONFIRMATION, | ||
1166 | ssh_session2_setup, (void *)0); | ||
1167 | 1165 | ||
1168 | return c->self; | 1166 | return c->self; |
1169 | } | 1167 | } |