diff options
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_crld.c')
| -rw-r--r-- | src/lib/libcrypto/x509v3/v3_crld.c | 44 |
1 files changed, 29 insertions, 15 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_crld.c b/src/lib/libcrypto/x509v3/v3_crld.c index 9055a41289..a72d0ab500 100644 --- a/src/lib/libcrypto/x509v3/v3_crld.c +++ b/src/lib/libcrypto/x509v3/v3_crld.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: v3_crld.c,v 1.18 2015/07/25 16:14:29 jsing Exp $ */ | 1 | /* $OpenBSD: v3_crld.c,v 1.19 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 | */ |
| @@ -71,23 +71,37 @@ static int i2r_crldp(const X509V3_EXT_METHOD *method, void *pcrldp, BIO *out, | |||
| 71 | int indent); | 71 | int indent); |
| 72 | 72 | ||
| 73 | const X509V3_EXT_METHOD v3_crld = { | 73 | const X509V3_EXT_METHOD v3_crld = { |
| 74 | NID_crl_distribution_points, 0, ASN1_ITEM_ref(CRL_DIST_POINTS), | 74 | .ext_nid = NID_crl_distribution_points, |
| 75 | 0, 0, 0, 0, | 75 | .ext_flags = 0, |
| 76 | 0, 0, | 76 | .it = ASN1_ITEM_ref(CRL_DIST_POINTS), |
| 77 | 0, | 77 | .ext_new = NULL, |
| 78 | v2i_crld, | 78 | .ext_free = NULL, |
| 79 | i2r_crldp, 0, | 79 | .d2i = NULL, |
| 80 | NULL | 80 | .i2d = NULL, |
| 81 | .i2s = NULL, | ||
| 82 | .s2i = NULL, | ||
| 83 | .i2v = NULL, | ||
| 84 | .v2i = v2i_crld, | ||
| 85 | .i2r = i2r_crldp, | ||
| 86 | .r2i = NULL, | ||
| 87 | .usr_data = NULL, | ||
| 81 | }; | 88 | }; |
| 82 | 89 | ||
| 83 | const X509V3_EXT_METHOD v3_freshest_crl = { | 90 | const X509V3_EXT_METHOD v3_freshest_crl = { |
| 84 | NID_freshest_crl, 0, ASN1_ITEM_ref(CRL_DIST_POINTS), | 91 | .ext_nid = NID_freshest_crl, |
| 85 | 0, 0, 0, 0, | 92 | .ext_flags = 0, |
| 86 | 0, 0, | 93 | .it = ASN1_ITEM_ref(CRL_DIST_POINTS), |
| 87 | 0, | 94 | .ext_new = NULL, |
| 88 | v2i_crld, | 95 | .ext_free = NULL, |
| 89 | i2r_crldp, 0, | 96 | .d2i = NULL, |
| 90 | NULL | 97 | .i2d = NULL, |
| 98 | .i2s = NULL, | ||
| 99 | .s2i = NULL, | ||
| 100 | .i2v = NULL, | ||
| 101 | .v2i = v2i_crld, | ||
| 102 | .i2r = i2r_crldp, | ||
| 103 | .r2i = NULL, | ||
| 104 | .usr_data = NULL, | ||
| 91 | }; | 105 | }; |
| 92 | 106 | ||
| 93 | static | 107 | static |
