Replace memset with memwipe.

This commit is contained in:
Bert Peters 2019-11-13 18:00:50 +01:00
parent fe3f6a3e6b
commit b2ad757f48
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;
}