diff options
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_cpols.c')
| -rw-r--r-- | src/lib/libcrypto/x509v3/v3_cpols.c | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_cpols.c b/src/lib/libcrypto/x509v3/v3_cpols.c index 4244f03851..cea82afde9 100644 --- a/src/lib/libcrypto/x509v3/v3_cpols.c +++ b/src/lib/libcrypto/x509v3/v3_cpols.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: v3_cpols.c,v 1.21 2015/07/25 16:00:14 jsing Exp $ */ | 1 | /* $OpenBSD: v3_cpols.c,v 1.22 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 | */ |
| @@ -83,13 +83,20 @@ static POLICYQUALINFO *notice_section(X509V3_CTX *ctx, | |||
| 83 | static int nref_nos(STACK_OF(ASN1_INTEGER) *nnums, STACK_OF(CONF_VALUE) *nos); | 83 | static int nref_nos(STACK_OF(ASN1_INTEGER) *nnums, STACK_OF(CONF_VALUE) *nos); |
| 84 | 84 | ||
| 85 | const X509V3_EXT_METHOD v3_cpols = { | 85 | const X509V3_EXT_METHOD v3_cpols = { |
| 86 | NID_certificate_policies, 0, ASN1_ITEM_ref(CERTIFICATEPOLICIES), | 86 | .ext_nid = NID_certificate_policies, |
| 87 | 0, 0, 0, 0, | 87 | .ext_flags = 0, |
| 88 | 0, 0, | 88 | .it = ASN1_ITEM_ref(CERTIFICATEPOLICIES), |
| 89 | 0, 0, | 89 | .ext_new = NULL, |
| 90 | (X509V3_EXT_I2R)i2r_certpol, | 90 | .ext_free = NULL, |
| 91 | (X509V3_EXT_R2I)r2i_certpol, | 91 | .d2i = NULL, |
| 92 | NULL | 92 | .i2d = NULL, |
| 93 | .i2s = NULL, | ||
| 94 | .s2i = NULL, | ||
| 95 | .i2v = NULL, | ||
| 96 | .v2i = NULL, | ||
| 97 | .i2r = (X509V3_EXT_I2R)i2r_certpol, | ||
| 98 | .r2i = (X509V3_EXT_R2I)r2i_certpol, | ||
| 99 | .usr_data = NULL, | ||
| 93 | }; | 100 | }; |
| 94 | 101 | ||
| 95 | static const ASN1_TEMPLATE CERTIFICATEPOLICIES_item_tt = { | 102 | static const ASN1_TEMPLATE CERTIFICATEPOLICIES_item_tt = { |
