[MBEDTLS] Update to version 2.7.18. CORE-17252
[reactos.git] / dll / 3rdparty / mbedtls / md2.c
index 293ada3..eb4d0d0 100644 (file)
@@ -181,6 +181,9 @@ int mbedtls_internal_md2_process( mbedtls_md2_context *ctx )
         t  = ctx->cksum[i];
     }
 
+    /* Zeroise variables to clear sensitive data from memory. */
+    mbedtls_zeroize( &t, sizeof( t ) );
+
     return( 0 );
 }