Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: mozilla/security/nss/lib/freebl/md5.c

Issue 10961060: Update NSS to NSS 3.14 Beta 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Merge nss-static2.patch into nss-static.patch Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mozilla/security/nss/lib/freebl/md5.c
===================================================================
--- mozilla/security/nss/lib/freebl/md5.c (revision 158129)
+++ mozilla/security/nss/lib/freebl/md5.c (working copy)
@@ -206,7 +206,7 @@
MD5_Begin(&cx);
MD5_Update(&cx, src, src_length);
MD5_End(&cx, dest, &len, MD5_HASH_LEN);
-/* memset(&cx, 0, sizeof cx); */
+ memset(&cx, 0, sizeof cx);
return SECSuccess;
}
@@ -225,7 +225,7 @@
void
MD5_DestroyContext(MD5Context *cx, PRBool freeit)
{
-/* memset(cx, 0, sizeof *cx); */
+ memset(cx, 0, sizeof *cx);
if (freeit) {
PORT_Free(cx);
}

Powered by Google App Engine
This is Rietveld 408576698