From 8c9bd893380664a5c7fbd6a62ae6d0c51461fca7 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 18 Aug 2008 16:48:47 +0000 Subject: [PATCH] Support for certificateIssuer CRL entry extension. --- crypto/x509v3/ext_dat.h | 3 ++- crypto/x509v3/v3_alt.c | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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, -- 2.25.1