diff options
author | bishakhabanerjee%netscape.com <devnull@localhost> | 2002-07-30 21:25:56 +0000 |
---|---|---|
committer | bishakhabanerjee%netscape.com <devnull@localhost> | 2002-07-30 21:25:56 +0000 |
commit | 19923aab19e8374d21ff608a09721ed1ade8fa99 (patch) | |
tree | bcbe266de7b9e3b3d66926af7d3514e29cbf7f08 | |
parent | b094582c2cab899f0cde5cf9623a6e1b22a5b0ad (diff) | |
download | nss-hg-19923aab19e8374d21ff608a09721ed1ade8fa99.tar.gz |
Checking in riceman+bmo@mail.rit.edu's patch for bug 133702
-rw-r--r-- | security/nss/lib/softoken/pkcs11.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/nss/lib/softoken/pkcs11.c b/security/nss/lib/softoken/pkcs11.c index ceaccc111..5b1a5d6ae 100644 --- a/security/nss/lib/softoken/pkcs11.c +++ b/security/nss/lib/softoken/pkcs11.c @@ -1004,6 +1004,7 @@ pk11_handlePublicKeyObject(PK11Session *session, PK11Object *object, if ( !pk11_hasAttribute(object, CKA_SUBPRIME)) { return CKR_TEMPLATE_INCOMPLETE; } + /* fall through */ case CKK_DH: if ( !pk11_hasAttribute(object, CKA_PRIME)) { return CKR_TEMPLATE_INCOMPLETE; @@ -1137,6 +1138,7 @@ pk11_handlePrivateKeyObject(PK11Session *session,PK11Object *object,CK_KEY_TYPE if ( !pk11_hasAttribute(object, CKA_NETSCAPE_DB)) { return CKR_TEMPLATE_INCOMPLETE; } + /* fall through */ case CKK_DH: if ( !pk11_hasAttribute(object, CKA_PRIME)) { return CKR_TEMPLATE_INCOMPLETE; |