aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2021-05-12 11:14:52 +0200
committerJakub Jelen <jjelen@redhat.com>2021-05-12 16:00:49 +0200
commit30b548af0263dc03628aab042df668c36ff7b9aa (patch)
treed138f45d521294c74ffec4277c6567e39df22eb2 /include/libssh
parent9e0d76fb67baa3811808ae54bc9bc4ee58a8ed31 (diff)
downloadlibssh-30b548af0263dc03628aab042df668c36ff7b9aa.tar.gz
libssh-30b548af0263dc03628aab042df668c36ff7b9aa.tar.xz
libssh-30b548af0263dc03628aab042df668c36ff7b9aa.zip
Revert "packet: Change the last argument of ssh_packet_encrypt to uint32_t"
because of inconsistent author and sign-off This reverts commit 053ed5bd91fe8b181cdc304b0b11c7f4e4ba2e9e. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/packet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/packet.h b/include/libssh/packet.h
index 561bba8e..8fc7ce42 100644
--- a/include/libssh/packet.h
+++ b/include/libssh/packet.h
@@ -80,7 +80,7 @@ int ssh_packet_decrypt(ssh_session session, uint8_t *destination, uint8_t *sourc
size_t start, size_t encrypted_size);
unsigned char *ssh_packet_encrypt(ssh_session session,
void *packet,
- uint32_t len);
+ unsigned int len);
int ssh_packet_hmac_verify(ssh_session session, const void *data, size_t len,
unsigned char *mac, enum ssh_hmac_e type);
int ssh_packet_set_newkeys(ssh_session session,