[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] packet: Change the last argument of ssh_packet_encrypt to uint32_t
[Thread Prev] | [Thread Next]
- Subject: [PATCH] packet: Change the last argument of ssh_packet_encrypt to uint32_t
- From: Xiang Xiao <xiaoxiang781216@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Sun, 9 May 2021 07:47:58 -0700
- To: libssh@xxxxxxxxxx
- Cc: Xiang Xiao <xiaoxiang@xxxxxxxxxx>
to match the implemntation in packet_crypt.c Signed-off-by: Xiang Xiao <xiaoxiang@xxxxxxxxxx> Change-Id: Ib76c3585f67dae22ed0f1dfc10dadcd03c762032 --- include/libssh/packet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libssh/packet.h b/include/libssh/packet.h index 8fc7ce42..561bba8e 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, - unsigned int len); + uint32_t 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, -- 2.25.1
Re: [PATCH] packet: Change the last argument of ssh_packet_encrypt to uint32_t | Jakub Jelen <jjelen@xxxxxxxxxx> |
Re: [PATCH] packet: Change the last argument of ssh_packet_encrypt to uint32_t | Andreas Schneider <asn@xxxxxxxxxxxxxx> |