mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-02 01:17:52 +03:00
Fix stdint type.
This commit is contained in:
@@ -195,7 +195,7 @@ int packet_hmac_verify(SSH_SESSION *session, ssh_buffer buffer,
|
|||||||
#ifdef DEBUG_CRYPTO
|
#ifdef DEBUG_CRYPTO
|
||||||
ssh_print_hexa("received mac",mac,len);
|
ssh_print_hexa("received mac",mac,len);
|
||||||
ssh_print_hexa("Computed mac",hmacbuf,len);
|
ssh_print_hexa("Computed mac",hmacbuf,len);
|
||||||
ssh_print_hexa("seq",(unsigned char *)&seq,sizeof(u32));
|
ssh_print_hexa("seq",(unsigned char *)&seq,sizeof(uint32_t));
|
||||||
#endif
|
#endif
|
||||||
if (memcmp(mac, hmacbuf, len) == 0) {
|
if (memcmp(mac, hmacbuf, len) == 0) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user