aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-01-16 17:41:35 -0800
committerAlexander Blair <snipa@jagtech.io>2020-01-16 17:41:35 -0800
commitf1ca98a7efa4a9a113881b38fe587ba1d231a2f7 (patch)
treef8a20b3d7020f5bb23002c0ce49e9c63e06a5d52 /contrib/epee/include
parentMerge pull request #6130 (diff)
parentReplace memset with memwipe. (diff)
downloadmonero-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.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;
}