зеркало из https://github.com/mozilla/pjs.git
Checking in riceman+bmo@mail.rit.edu's patch for bug 133702
This commit is contained in:
Родитель
73dad95ce0
Коммит
13b03a32e7
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче