From: Miroslav Lichvar Date: Mon, 10 Oct 2022 10:43:40 +0000 (+0200) Subject: nts: use signed lengths in NNA_DecryptAuthEF() X-Git-Tag: 4.4-pre1~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9afd19c29b3d8097a0a1b3df20e0bd1b1e0a6991;p=thirdparty%2Fchrony.git nts: use signed lengths in NNA_DecryptAuthEF() Make the types consistent with the rest of the file. --- diff --git a/nts_ntp_auth.c b/nts_ntp_auth.c index ac0763e0..78e54c29 100644 --- a/nts_ntp_auth.c +++ b/nts_ntp_auth.c @@ -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;