mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-31 22:42:57 -07:00
Remove useless sodium_memzero()
This commit is contained in:
parent
179587d1cc
commit
7e995780a8
@ -43,7 +43,6 @@ crypto_sign_detached(unsigned char *sig, unsigned long long *siglen_p,
|
|||||||
sc_muladd(sig + 32, hram, az, nonce);
|
sc_muladd(sig + 32, hram, az, nonce);
|
||||||
|
|
||||||
sodium_memzero(az, sizeof az);
|
sodium_memzero(az, sizeof az);
|
||||||
sodium_memzero(nonce, sizeof nonce);
|
|
||||||
|
|
||||||
if (siglen_p != NULL) {
|
if (siglen_p != NULL) {
|
||||||
*siglen_p = 64U;
|
*siglen_p = 64U;
|
||||||
|
Loading…
Reference in New Issue
Block a user