diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-09-24 12:58:35 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-09-24 12:58:35 +0200 |
commit | 5c3ea09e0262501959aa72ce3c863c4902e400f4 (patch) | |
tree | 4ef84e794de8cdf0d96ad5f3fcbe801243186f3c | |
parent | 9a571d0f25db434509f5946e48981d4b32d497c2 (diff) | |
download | libssh-5c3ea09e0262501959aa72ce3c863c4902e400f4.tar.gz libssh-5c3ea09e0262501959aa72ce3c863c4902e400f4.tar.xz libssh-5c3ea09e0262501959aa72ce3c863c4902e400f4.zip |
Fixed SSH1 support.
-rw-r--r-- | libssh/packet.c | 4 |
1 files 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); } |