summaryrefslogtreecommitdiffstats
path: root/security/nss/lib/softoken/tlsprf.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/lib/softoken/tlsprf.c')
-rw-r--r--security/nss/lib/softoken/tlsprf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/softoken/tlsprf.c b/security/nss/lib/softoken/tlsprf.c
index 05e246887..b96733b1f 100644
--- a/security/nss/lib/softoken/tlsprf.c
+++ b/security/nss/lib/softoken/tlsprf.c
@@ -129,7 +129,7 @@ sftk_TLSPRFVerify(TLSPRFContext *cx,
}
rv = sftk_TLSPRFUpdate(cx, tmp, &tmpLen, sigLen, NULL, 0);
if (rv == SECSuccess) {
- rv = (SECStatus)(1 - !PORT_Memcmp(tmp, sig, sigLen));
+ rv = (SECStatus)(1 - !NSS_SecureMemcmp(tmp, sig, sigLen));
}
PORT_ZFree(tmp, sigLen);
return rv;