New options to 'ca' utility to support CRL entry extensions.
Add revelant new X509V3 extensions. Add OIDs. Fix ASN1 memory leak code to pop info if external allocation used.
This commit is contained in:
@@ -60,9 +60,10 @@
|
||||
extern X509V3_EXT_METHOD v3_bcons, v3_nscert, v3_key_usage, v3_ext_ku;
|
||||
extern X509V3_EXT_METHOD v3_pkey_usage_period, v3_sxnet, v3_info;
|
||||
extern X509V3_EXT_METHOD v3_ns_ia5_list[], v3_alt[], v3_skey_id, v3_akey_id;
|
||||
extern X509V3_EXT_METHOD v3_crl_num, v3_crl_reason, v3_cpols, v3_crld;
|
||||
extern X509V3_EXT_METHOD v3_crl_num, v3_crl_reason, v3_crl_invdate, v3_cpols, v3_crld;
|
||||
extern X509V3_EXT_METHOD v3_ocsp_nonce, v3_ocsp_accresp, v3_ocsp_acutoff;
|
||||
extern X509V3_EXT_METHOD v3_ocsp_crlid, v3_ocsp_nocheck, v3_ocsp_serviceloc;
|
||||
extern X509V3_EXT_METHOD v3_crl_hold;
|
||||
|
||||
/* This table will be searched using OBJ_bsearch so it *must* kept in
|
||||
* order of the ext_nid values.
|
||||
@@ -89,6 +90,7 @@ static X509V3_EXT_METHOD *standard_exts[] = {
|
||||
&v3_crld,
|
||||
&v3_ext_ku,
|
||||
&v3_crl_reason,
|
||||
&v3_crl_invdate,
|
||||
&v3_sxnet,
|
||||
&v3_info,
|
||||
&v3_ocsp_nonce,
|
||||
@@ -96,7 +98,8 @@ static X509V3_EXT_METHOD *standard_exts[] = {
|
||||
&v3_ocsp_accresp,
|
||||
&v3_ocsp_nocheck,
|
||||
&v3_ocsp_acutoff,
|
||||
&v3_ocsp_serviceloc
|
||||
&v3_ocsp_serviceloc,
|
||||
&v3_crl_hold
|
||||
};
|
||||
|
||||
/* Number of standard extensions */
|
||||
|
Reference in New Issue
Block a user