summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-02-08 22:07:16 +1100
committerDamien Miller <djm@mindrot.org>2002-02-08 22:07:16 +1100
commit699d003e3a7cddaa1dddc4c1a35428066316748e (patch)
treec6b2ebee5588be70e0b3f12a3be7b4eec621ea02 /ssh.c
parentf3dcf1fc88a55a916ace325e252c6f75ff53b71b (diff)
- markus@cvs.openbsd.org 2002/02/06 14:55:16
[channels.c clientloop.c serverloop.c ssh.c] channel_new never returns NULL, mouring@; ok djm@
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ssh.c b/ssh.c
index 6415d27f..608b8c08 100644
--- a/ssh.c
+++ b/ssh.c
@@ -39,7 +39,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.161 2002/02/05 14:32:55 markus Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.162 2002/02/06 14:55:16 markus Exp $");
#include <openssl/evp.h>
#include <openssl/err.h>
@@ -1155,8 +1155,6 @@ ssh_session2_open(void)
"session", SSH_CHANNEL_OPENING, in, out, err,
window, packetmax, CHAN_EXTENDED_WRITE,
xstrdup("client-session"), /*nonblock*/0);
- if (c == NULL)
- fatal("ssh_session2_open: channel_new failed");
debug3("ssh_session2_open: channel_new: %d", c->self);