зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1523175 - land NSS NSS_3_43_BETA1 UPGRADE_NSS_RELEASE, r=me
--HG-- extra : rebase_source : eae65b8dc034554ed61a87e2d034ffa8b1d07089
This commit is contained in:
Родитель
e3008ee390
Коммит
624e56f66c
|
@ -1 +1 @@
|
|||
a306d84e4c70
|
||||
NSS_3_43_BETA1
|
||||
|
|
|
@ -10,4 +10,3 @@
|
|||
*/
|
||||
|
||||
#error "Do not include this header file."
|
||||
|
||||
|
|
|
@ -1683,8 +1683,8 @@ SECKEY_SetPublicValue(SECKEYPrivateKey *privKey, SECItem *publicValue)
|
|||
SECStatus rv;
|
||||
SECKEYPublicKey pubKey;
|
||||
PLArenaPool *arena;
|
||||
PK11SlotInfo *slot = privKey->pkcs11Slot;
|
||||
CK_OBJECT_HANDLE privKeyID = privKey->pkcs11ID;
|
||||
PK11SlotInfo *slot;
|
||||
CK_OBJECT_HANDLE privKeyID;
|
||||
|
||||
if (privKey == NULL || publicValue == NULL ||
|
||||
publicValue->data == NULL || publicValue->len == 0) {
|
||||
|
@ -1704,6 +1704,9 @@ SECKEY_SetPublicValue(SECKEYPrivateKey *privKey, SECItem *publicValue)
|
|||
if (arena == NULL) {
|
||||
return SECFailure;
|
||||
}
|
||||
|
||||
slot = privKey->pkcs11Slot;
|
||||
privKeyID = privKey->pkcs11ID;
|
||||
rv = SECFailure;
|
||||
switch (privKey->keyType) {
|
||||
default:
|
||||
|
|
Загрузка…
Ссылка в новой задаче