Remove incorrect and useless cast
This commit is contained in:
parent
a204bf504c
commit
bdca518edc
@ -22,7 +22,7 @@ main(void)
|
||||
k = (unsigned char *) sodium_malloc(crypto_secretbox_KEYBYTES);
|
||||
mac = (unsigned char *) sodium_malloc(crypto_secretbox_MACBYTES);
|
||||
crypto_secretbox_keygen(k);
|
||||
randombytes_buf(m, (unsigned long long) mlen);
|
||||
randombytes_buf(m, mlen);
|
||||
randombytes_buf(nonce, crypto_secretbox_NONCEBYTES);
|
||||
crypto_secretbox_easy(c, m, (unsigned long long) mlen, nonce, k);
|
||||
if (crypto_secretbox_open_easy(
|
||||
|
Loading…
Reference in New Issue
Block a user