diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-02 07:31:12 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-02 07:31:12 +0000 |
commit | 4c84a3e0f22925b18731fb68583067f6f6e6fe58 (patch) | |
tree | b5015b9f9acec49dcac854834e3568d517b92dac /libssh/crypt.c | |
parent | ff0f8b760850a734bc0c92fe1ebc55deeecb5a70 (diff) | |
download | libssh-4c84a3e0f22925b18731fb68583067f6f6e6fe58.tar.gz libssh-4c84a3e0f22925b18731fb68583067f6f6e6fe58.tar.xz libssh-4c84a3e0f22925b18731fb68583067f6f6e6fe58.zip |
Simply return 0.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@336 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/crypt.c')
-rw-r--r-- | libssh/crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/crypt.c b/libssh/crypt.c index 9148e84a..386d0259 100644 --- a/libssh/crypt.c +++ b/libssh/crypt.c @@ -42,7 +42,7 @@ u32 packet_decrypt_len(SSH_SESSION *session, char *crypted){ if (session->current_crypto) { if (packet_decrypt(session, crypted, session->current_crypto->in_cipher->blocksize) < 0) { - return ntohl(0); + return 0; } } memcpy(&decrypted,crypted,sizeof(decrypted)); |