From 5c3ea09e0262501959aa72ce3c863c4902e400f4 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 24 Sep 2009 12:58:35 +0200 Subject: Fixed SSH1 support. --- libssh/packet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libssh/packet.c b/libssh/packet.c index 4086b3ec..8b1c4848 100644 --- a/libssh/packet.c +++ b/libssh/packet.c @@ -502,7 +502,7 @@ error: return rc; /* SSH_OK, AGAIN or ERROR */ } -#ifdef HAVE_SSH1 +#ifdef WITH_SSH1 static int packet_send1(SSH_SESSION *session) { unsigned int blocksize = (session->current_crypto ? session->current_crypto->out_cipher->blocksize : 8); @@ -583,7 +583,7 @@ error: #endif /* WITH_SSH1 */ int packet_send(SSH_SESSION *session) { -#ifdef HAVE_SSH1 +#ifdef WITH_SSH1 if (session->version == 1) { return packet_send1(session); } -- cgit v1.2.3