summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-02-05 12:23:08 +1100
committerDamien Miller <djm@mindrot.org>2002-02-05 12:23:08 +1100
commit67f0bc043c2d3b4edd1d0cabb10cf3f10f544fb5 (patch)
tree1022e07bcec61662ee5ad65bd8be166e2012470c /ssh.c
parent50e884d12512ddb500c09ac3dbad67094fe93f09 (diff)
- markus@cvs.openbsd.org 2002/02/03 17:58:21
[channels.c channels.h ssh.c] generic callbacks are not really used, remove and add a callback for msg of type SSH2_MSG_CHANNEL_OPEN_CONFIRMATION ok djm@
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ssh.c b/ssh.c
index 46d9d747a..5ec27219e 100644
--- a/ssh.c
+++ b/ssh.c
@@ -39,7 +39,7 @@
39 */ 39 */
40 40
41#include "includes.h" 41#include "includes.h"
42RCSID("$OpenBSD: ssh.c,v 1.159 2002/01/27 18:08:17 stevesk Exp $"); 42RCSID("$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}