From: Dr. Stephen Henson Date: Mon, 18 Aug 2008 16:48:47 +0000 (+0000) Subject: Support for certificateIssuer CRL entry extension. X-Git-Tag: OpenSSL_0_9_8k^2~271 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8c9bd893380664a5c7fbd6a62ae6d0c51461fca7;p=oweals%2Fopenssl.git Support for certificateIssuer CRL entry extension. --- 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,