summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-08-18 16:48:47 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-08-18 16:48:47 +0000
commit8c9bd893380664a5c7fbd6a62ae6d0c51461fca7 (patch)
tree73fe82f8b91ac45b8cd1bf18ba2bbe54208b05a9 /crypto
parent2e415778f2f5a633f50a719d9f46b09e26be13ec (diff)
Support for certificateIssuer CRL entry extension.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/x509v3/ext_dat.h3
-rw-r--r--crypto/x509v3/v3_alt.c6
2 files changed, 8 insertions, 1 deletions
diff --git a/crypto/x509v3/ext_dat.h b/crypto/x509v3/ext_dat.h
index a6d91765b7..be3aaee99d 100644
--- a/crypto/x509v3/ext_dat.h
+++ b/crypto/x509v3/ext_dat.h
@@ -121,7 +121,8 @@ static X509V3_EXT_METHOD *standard_exts[] = {
&v3_name_constraints,
&v3_policy_mappings,
&v3_inhibit_anyp,
-&v3_idp
+&v3_idp,
+&v3_alt[2],
};
/* Number of standard extensions */
diff --git a/crypto/x509v3/v3_alt.c b/crypto/x509v3/v3_alt.c
index 8e00168ff7..2c2d6c4442 100644
--- a/crypto/x509v3/v3_alt.c
+++ b/crypto/x509v3/v3_alt.c
@@ -82,6 +82,12 @@ NULL, NULL, NULL},
(X509V3_EXT_I2V)i2v_GENERAL_NAMES,
(X509V3_EXT_V2I)v2i_issuer_alt,
NULL, NULL, NULL},
+
+{ NID_certificate_issuer, 0, ASN1_ITEM_ref(GENERAL_NAMES),
+0,0,0,0,
+0,0,
+(X509V3_EXT_I2V)i2v_GENERAL_NAMES,
+NULL, NULL, NULL, NULL},
};
STACK_OF(CONF_VALUE) *i2v_GENERAL_NAMES(X509V3_EXT_METHOD *method,