aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
Diffstat (limited to 'libssh')
-rw-r--r--libssh/crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/crypt.c b/libssh/crypt.c
index 9148e84..386d025 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));