diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-01-16 17:41:35 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-01-16 17:41:35 -0800 |
commit | f1ca98a7efa4a9a113881b38fe587ba1d231a2f7 (patch) | |
tree | f8a20b3d7020f5bb23002c0ce49e9c63e06a5d52 /contrib/epee/include | |
parent | Merge pull request #6130 (diff) | |
parent | Replace memset with memwipe. (diff) | |
download | monero-f1ca98a7efa4a9a113881b38fe587ba1d231a2f7.tar.xz |
Merge pull request #6133
b2ad757f Replace memset with memwipe. (Bert Peters)
Diffstat (limited to 'contrib/epee/include')
-rw-r--r-- | contrib/epee/include/md5_l.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/md5_l.h b/contrib/epee/include/md5_l.h index a45d91bc8..bc7122650 100644 --- a/contrib/epee/include/md5_l.h +++ b/contrib/epee/include/md5_l.h @@ -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; } |