crclib: md5: fix memset call
This commit is contained in:
parent
edde871eb5
commit
9d156b4285
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ void MD5Final( byte digest[16], MD5Context_t *ctx )
|
|||
|
||||
MD5Transform( ctx->buf, (uint *)ctx->in );
|
||||
memcpy( digest, ctx->buf, 16 );
|
||||
memset( ctx, 0, sizeof( ctx )); // in case it's sensitive
|
||||
memset( ctx, 0, sizeof( *ctx )); // in case it's sensitive
|
||||
}
|
||||
|
||||
// The four core functions
|
||||
|
|
Loading…
Add table
Reference in a new issue