mirror of
https://github.com/monero-project/monero.git
synced 2025-08-02 17:36:11 -04:00
Replace memset with memwipe.
This commit is contained in:
parent
fe3f6a3e6b
commit
b2ad757f48
2 changed files with 6 additions and 5 deletions
|
@ -85,7 +85,7 @@ namespace md5
|
|||
MD5Update( &ctx, input, ilen );
|
||||
MD5Final( output, &ctx);
|
||||
|
||||
memset( &ctx, 0, sizeof( MD5_CTX) );
|
||||
memwipe( &ctx, sizeof( MD5_CTX ));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue