mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
Add explicit cast
This commit is contained in:
parent
8ad6ffa9d6
commit
cdd7d5f37d
@ -3170,7 +3170,7 @@ tv(void)
|
||||
found_message_len = 1;
|
||||
if (crypto_aead_aes256gcm_decrypt(decrypted, &found_message_len,
|
||||
NULL, ciphertext,
|
||||
randombytes_uniform(ciphertext_len),
|
||||
randombytes_uniform((uint32_t) ciphertext_len),
|
||||
ad, ad_len, nonce, key) != -1) {
|
||||
printf("Verification of test vector #%u after truncation succeeded\n",
|
||||
(unsigned int) i);
|
||||
|
Loading…
Reference in New Issue
Block a user