Merge pull request #6133

b2ad757f Replace memset with memwipe. (Bert Peters)
This commit is contained in:
Alexander Blair 2020-01-16 17:41:35 -08:00
commit f1ca98a7ef
No known key found for this signature in database
GPG key ID: C64552D877C32479
2 changed files with 6 additions and 5 deletions

View file

@ -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;
}