This commit is contained in:
relyea%netscape.com 2001-07-11 23:57:01 +00:00
Родитель 5b1587330a
Коммит db56f0409c
1 изменённых файлов: 8 добавлений и 1 удалений

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

@ -34,7 +34,7 @@
/* /*
* Permanent Certificate database handling code * Permanent Certificate database handling code
* *
* $Id: pcertdb.c,v 1.15 2001/06/20 23:14:35 ddrinan%netscape.com Exp $ * $Id: pcertdb.c,v 1.16 2001/07/11 23:57:01 relyea%netscape.com Exp $
*/ */
#include "prtime.h" #include "prtime.h"
@ -7198,6 +7198,13 @@ CERT_SaveImportedCert(CERTCertificate *cert, SECCertUsage usage,
} }
} }
break; break;
case certUsageAnyCA:
trust.sslFlags = CERTDB_VALID_CA;
break;
case certUsageSSLCA:
trust.sslFlags = CERTDB_VALID_CA |
CERTDB_TRUSTED_CA | CERTDB_TRUSTED_CLIENT_CA;
break;
default: /* XXX added to quiet warnings; no other cases needed? */ default: /* XXX added to quiet warnings; no other cases needed? */
break; break;
} }