nts: use signed lengths in NNA_DecryptAuthEF()

Make the types consistent with the rest of the file.
This commit is contained in:
Miroslav Lichvar 2022-10-10 12:43:40 +02:00
parent 5dd173c050
commit 9afd19c29b

View file

@ -127,7 +127,7 @@ int
NNA_DecryptAuthEF(NTP_Packet *packet, NTP_PacketInfo *info, SIV_Instance siv, int ef_start,
unsigned char *plaintext, int buffer_length, int *plaintext_length)
{
unsigned int siv_tag_length, nonce_length, ciphertext_length;
int siv_tag_length, nonce_length, ciphertext_length;
unsigned char *nonce, *ciphertext;
int ef_type, ef_body_length;
void *ef_body;