1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-28 22:21:15 -07:00

Remove useless sodium_memzero()

This commit is contained in:
Frank Denis 2015-11-10 07:39:37 +01:00
parent 179587d1cc
commit 7e995780a8

View File

@ -43,7 +43,6 @@ crypto_sign_detached(unsigned char *sig, unsigned long long *siglen_p,
sc_muladd(sig + 32, hram, az, nonce);
sodium_memzero(az, sizeof az);
sodium_memzero(nonce, sizeof nonce);
if (siglen_p != NULL) {
*siglen_p = 64U;