summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%google.com <devnull@localhost>2013-02-07 01:13:13 +0000
committerwtc%google.com <devnull@localhost>2013-02-07 01:13:13 +0000
commita4462d72f4ba54bbf588d2cade1a0b9d5ea13c1a (patch)
tree0af445e871d3b027b8794b1a048b704a7b5d7bd8
parent81948a83aef67b94c9b9bf06dd858c940f448451 (diff)
downloadnss-hg-a4462d72f4ba54bbf588d2cade1a0b9d5ea13c1a.tar.gz
Bug 822365: Remove a redundant null pointer check in the
CKM_NSS_HMAC_CONSTANT_TIME case in NSC_SignInit. r=rrelyea.
-rw-r--r--security/nss/lib/softoken/pkcs11c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/security/nss/lib/softoken/pkcs11c.c b/security/nss/lib/softoken/pkcs11c.c
index 95ceb1f85..4c2ccaa7e 100644
--- a/security/nss/lib/softoken/pkcs11c.c
+++ b/security/nss/lib/softoken/pkcs11c.c
@@ -2276,8 +2276,6 @@ finish_rsa:
context->destroy = sftk_Space;
context->maxLen = 64;
context->multi = PR_TRUE;
- if (ctx == NULL)
- crv = CKR_ARGUMENTS_BAD;
break;
}