зеркало из https://github.com/mozilla/gecko-dev.git
remove bogus check for CRLs
This commit is contained in:
Родитель
80aeac8adc
Коммит
be138a13b2
|
@ -34,7 +34,7 @@
|
||||||
/*
|
/*
|
||||||
* Moved from secpkcs7.c
|
* Moved from secpkcs7.c
|
||||||
*
|
*
|
||||||
* $Id: crl.c,v 1.2 2001/01/07 08:12:49 nelsonb%netscape.com Exp $
|
* $Id: crl.c,v 1.3 2001/05/07 21:07:23 relyea%netscape.com Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "cert.h"
|
#include "cert.h"
|
||||||
|
@ -354,10 +354,13 @@ CERT_DecodeDERCrl(PRArenaPool *narena, SECItem *derSignedCrl, int type)
|
||||||
if (rv != SECSuccess)
|
if (rv != SECSuccess)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
#ifdef notdef
|
||||||
|
/*this is a bogus check. all these fields are optional in a V2 cert.*/
|
||||||
/* If the version is set to v2, make sure that it contains at
|
/* If the version is set to v2, make sure that it contains at
|
||||||
least 1 critical extension either the crl extensions or
|
least 1 critical extension either the crl extensions or
|
||||||
crl entry extensions. */
|
crl entry extensions. */
|
||||||
rv = cert_check_crl_version (&crl->crl);
|
rv = cert_check_crl_version (&crl->crl);
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SEC_KRL_TYPE:
|
case SEC_KRL_TYPE:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче