aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee
diff options
context:
space:
mode:
authorBert Peters <bert@bertptrs.nl>2019-11-13 18:00:50 +0100
committerBert Peters <bert@bertptrs.nl>2019-11-13 18:00:50 +0100
commitb2ad757f487ceb41da917871e2330d00b1b4669e (patch)
tree2b9ca404f139a5917e83fb5f8fab88cb9c23ef70 /contrib/epee
parentMerge pull request #6097 (diff)
downloadmonero-b2ad757f487ceb41da917871e2330d00b1b4669e.tar.xz
Replace memset with memwipe.
Diffstat (limited to 'contrib/epee')
-rw-r--r--contrib/epee/include/md5_l.h2
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;
}