Add support for Subject Info Acess extension.
This commit is contained in:
parent
48b0cf8b10
commit
7d5b04db4e
3
CHANGES
3
CHANGES
@ -12,6 +12,9 @@
|
||||
*) applies to 0.9.6a/0.9.6b/0.9.6c and 0.9.7
|
||||
+) applies to 0.9.7 only
|
||||
|
||||
+) Add support for Subject Information Access extension.
|
||||
[Peter Sylvester <Peter.Sylvester@EdelWeb.fr>]
|
||||
|
||||
+) Make BUF_MEM_grow() behaviour more consistent: Initialise to zero
|
||||
additional bytes when new memory had to be allocated, not just
|
||||
when reusing an existing buffer.
|
||||
|
@ -58,7 +58,7 @@
|
||||
/* This file contains a table of "standard" extensions */
|
||||
|
||||
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_pkey_usage_period, v3_sxnet, v3_info, v3_sinfo;
|
||||
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_crl_invdate, v3_cpols, v3_crld;
|
||||
extern X509V3_EXT_METHOD v3_ocsp_nonce, v3_ocsp_accresp, v3_ocsp_acutoff;
|
||||
@ -99,7 +99,8 @@ static X509V3_EXT_METHOD *standard_exts[] = {
|
||||
&v3_ocsp_nocheck,
|
||||
&v3_ocsp_acutoff,
|
||||
&v3_ocsp_serviceloc,
|
||||
&v3_crl_hold
|
||||
&v3_crl_hold,
|
||||
&v3_sinfo
|
||||
};
|
||||
|
||||
/* Number of standard extensions */
|
||||
|
@ -78,6 +78,15 @@ X509V3_EXT_METHOD v3_info =
|
||||
0,0,
|
||||
NULL};
|
||||
|
||||
X509V3_EXT_METHOD v3_sinfo =
|
||||
{ NID_sinfo_access, X509V3_EXT_MULTILINE, ASN1_ITEM_ref(AUTHORITY_INFO_ACCESS),
|
||||
0,0,0,0,
|
||||
0,0,
|
||||
(X509V3_EXT_I2V)i2v_AUTHORITY_INFO_ACCESS,
|
||||
(X509V3_EXT_V2I)v2i_AUTHORITY_INFO_ACCESS,
|
||||
0,0,
|
||||
NULL};
|
||||
|
||||
ASN1_SEQUENCE(ACCESS_DESCRIPTION) = {
|
||||
ASN1_SIMPLE(ACCESS_DESCRIPTION, method, ASN1_OBJECT),
|
||||
ASN1_SIMPLE(ACCESS_DESCRIPTION, location, GENERAL_NAME)
|
||||
|
Loading…
Reference in New Issue
Block a user