diff options
author | Bert Peters <bert@bertptrs.nl> | 2019-11-13 18:00:50 +0100 |
---|---|---|
committer | Bert Peters <bert@bertptrs.nl> | 2019-11-13 18:00:50 +0100 |
commit | b2ad757f487ceb41da917871e2330d00b1b4669e (patch) | |
tree | 2b9ca404f139a5917e83fb5f8fab88cb9c23ef70 /contrib/epee | |
parent | Merge pull request #6097 (diff) | |
download | monero-b2ad757f487ceb41da917871e2330d00b1b4669e.tar.xz |
Replace memset with memwipe.
Diffstat (limited to 'contrib/epee')
-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; } |