Bug 166893: copy the DER cert when importing the certificate

This commit is contained in:
relyea%netscape.com 2002-09-06 18:48:37 +00:00
Родитель 82f45610bf
Коммит 4b63b53d6a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);