diff options
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_enum.c')
| -rw-r--r-- | src/lib/libcrypto/x509v3/v3_enum.c | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_enum.c b/src/lib/libcrypto/x509v3/v3_enum.c index c09601edad..7f35a57012 100644 --- a/src/lib/libcrypto/x509v3/v3_enum.c +++ b/src/lib/libcrypto/x509v3/v3_enum.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: v3_enum.c,v 1.10 2014/07/13 16:03:10 beck Exp $ */ | 1 | /* $OpenBSD: v3_enum.c,v 1.11 2015/07/29 16:13:48 jsing Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 1999. | 3 | * project 1999. |
| 4 | */ | 4 | */ |
| @@ -76,12 +76,20 @@ static ENUMERATED_NAMES crl_reasons[] = { | |||
| 76 | }; | 76 | }; |
| 77 | 77 | ||
| 78 | const X509V3_EXT_METHOD v3_crl_reason = { | 78 | const X509V3_EXT_METHOD v3_crl_reason = { |
| 79 | NID_crl_reason, 0, ASN1_ITEM_ref(ASN1_ENUMERATED), | 79 | .ext_nid = NID_crl_reason, |
| 80 | 0, 0, 0, 0, | 80 | .ext_flags = 0, |
| 81 | (X509V3_EXT_I2S)i2s_ASN1_ENUMERATED_TABLE, | 81 | .it = ASN1_ITEM_ref(ASN1_ENUMERATED), |
| 82 | 0, | 82 | .ext_new = NULL, |
| 83 | 0, 0, 0, 0, | 83 | .ext_free = NULL, |
| 84 | crl_reasons | 84 | .d2i = NULL, |
| 85 | .i2d = NULL, | ||
| 86 | .i2s = (X509V3_EXT_I2S)i2s_ASN1_ENUMERATED_TABLE, | ||
| 87 | .s2i = NULL, | ||
| 88 | .i2v = NULL, | ||
| 89 | .v2i = NULL, | ||
| 90 | .i2r = NULL, | ||
| 91 | .r2i = NULL, | ||
| 92 | .usr_data = crl_reasons, | ||
| 85 | }; | 93 | }; |
| 86 | 94 | ||
| 87 | char * | 95 | char * |
