зеркало из https://github.com/mozilla/pjs.git
Bug 166893: copy the DER cert when importing the certificate
This commit is contained in:
Родитель
82f45610bf
Коммит
4b63b53d6a
|
@ -1968,7 +1968,7 @@ PK11_ImportDERCertForKey(SECItem *derCert, char *nickname,void *wincx) {
|
|||
PK11SlotInfo *slot = NULL;
|
||||
|
||||
cert = CERT_NewTempCertificate(CERT_GetDefaultCertDB(),
|
||||
derCert, NULL, PR_FALSE, PR_FALSE);
|
||||
derCert, NULL, PR_FALSE, PR_TRUE);
|
||||
if (cert == NULL) return NULL;
|
||||
|
||||
slot = PK11_ImportCertForKey(cert, nickname, wincx);
|
||||
|
|
Загрузка…
Ссылка в новой задаче