зеркало из https://github.com/mozilla/pjs.git
Fix for 166714 - make SEC_FindCrlByName use the CRL cache
This commit is contained in:
Родитель
b03ffcc087
Коммит
bdab63a983
|
@ -33,7 +33,7 @@
|
|||
/*
|
||||
* certi.h - private data structures for the certificate library
|
||||
*
|
||||
* $Id: certi.h,v 1.2 2002-08-30 22:56:52 jpierre%netscape.com Exp $
|
||||
* $Id: certi.h,v 1.3 2002-09-05 06:12:32 jpierre%netscape.com Exp $
|
||||
*/
|
||||
#ifndef _CERTI_H_
|
||||
#define _CERTI_H_
|
||||
|
@ -53,6 +53,7 @@ typedef struct CRLCacheStr CRLCache;
|
|||
|
||||
struct OpaqueCRLFieldsStr {
|
||||
PRBool partial;
|
||||
PRBool badEntries;
|
||||
PRBool bad;
|
||||
PRBool badDER;
|
||||
PRBool badExtensions;
|
||||
|
@ -98,7 +99,8 @@ struct CRLDPCacheStr {
|
|||
#else
|
||||
PRLock* lock;
|
||||
#endif
|
||||
CERTCertificate* issuer; /* DER of cert issuer */
|
||||
CERTCertificate* issuer; /* cert issuer */
|
||||
SECItem* subject; /* DER of issuer subject */
|
||||
SECItem* distributionPoint; /* DER of distribution point. This may be
|
||||
NULL when distribution points aren't
|
||||
in use (ie. the CA has a single CRL) */
|
||||
|
@ -149,7 +151,6 @@ struct CRLDPCacheStr {
|
|||
|
||||
struct CRLIssuerCacheStr {
|
||||
PRUint32 refcount;
|
||||
CERTCertificate* issuer;
|
||||
CRLDPCache dp;
|
||||
CRLDPCache* dpp;
|
||||
#if 0
|
||||
|
@ -159,6 +160,7 @@ struct CRLIssuerCacheStr {
|
|||
NSSRWLock* lock;
|
||||
CRLDPCache** dps;
|
||||
PLHashTable* distributionpoints;
|
||||
CERTCertificate* issuer;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче