summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_enum.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-06-21 23:59:09 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-06-21 23:59:09 +0000
commit66ab08b1cfb7f57ee9299d6efc322aca385e4fba (patch)
treed3b4aaea7e4fc919730a2e19ba8cb4df23f5cf31 /crypto/x509v3/v3_enum.c
parent0c5a65639d7d51d98ed0f65f53232085f65011be (diff)
Implement STACK_OF(ANS1_OBJECT) for extended key usage extension, change the
documentation to reflect the STACK_OF(CONF_VALUE) change to the CONF lib and use ANSI typedefs for X509V3_EXT_I2D and X509V3_EXT_FREE.
Diffstat (limited to 'crypto/x509v3/v3_enum.c')
-rw-r--r--crypto/x509v3/v3_enum.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/x509v3/v3_enum.c b/crypto/x509v3/v3_enum.c
index 05af992f6d..db423548ff 100644
--- a/crypto/x509v3/v3_enum.c
+++ b/crypto/x509v3/v3_enum.c
@@ -76,12 +76,13 @@ static ENUMERATED_NAMES crl_reasons[] = {
X509V3_EXT_METHOD v3_crl_reason = {
NID_crl_reason, 0,
-(X509V3_EXT_NEW)asn1_enumerated_new, ASN1_STRING_free,
+(X509V3_EXT_NEW)asn1_enumerated_new,
+(X509V3_EXT_FREE)ASN1_STRING_free,
(X509V3_EXT_D2I)d2i_ASN1_ENUMERATED,
-i2d_ASN1_ENUMERATED,
+(X509V3_EXT_I2D)i2d_ASN1_ENUMERATED,
(X509V3_EXT_I2S)i2s_ASN1_ENUMERATED_TABLE,
(X509V3_EXT_S2I)NULL,
-NULL, NULL, NULL, NULL, (char *)crl_reasons};
+NULL, NULL, NULL, NULL, crl_reasons};
static ASN1_ENUMERATED *asn1_enumerated_new(void)