diff options
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_ocsp.c')
-rw-r--r-- | src/lib/libcrypto/x509v3/v3_ocsp.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_ocsp.c b/src/lib/libcrypto/x509v3/v3_ocsp.c index 696eee5adc..0c8094dcb8 100644 --- a/src/lib/libcrypto/x509v3/v3_ocsp.c +++ b/src/lib/libcrypto/x509v3/v3_ocsp.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: v3_ocsp.c,v 1.13 2015/09/30 18:41:06 jsing Exp $ */ | 1 | /* $OpenBSD: v3_ocsp.c,v 1.14 2016/12/30 15:54:49 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 | */ |
@@ -96,7 +96,7 @@ static int i2r_ocsp_serviceloc(const X509V3_EXT_METHOD *method, void *in, | |||
96 | const X509V3_EXT_METHOD v3_ocsp_crlid = { | 96 | const X509V3_EXT_METHOD v3_ocsp_crlid = { |
97 | .ext_nid = NID_id_pkix_OCSP_CrlID, | 97 | .ext_nid = NID_id_pkix_OCSP_CrlID, |
98 | .ext_flags = 0, | 98 | .ext_flags = 0, |
99 | .it = ASN1_ITEM_ref(OCSP_CRLID), | 99 | .it = &OCSP_CRLID_it, |
100 | .ext_new = NULL, | 100 | .ext_new = NULL, |
101 | .ext_free = NULL, | 101 | .ext_free = NULL, |
102 | .d2i = NULL, | 102 | .d2i = NULL, |
@@ -113,7 +113,7 @@ const X509V3_EXT_METHOD v3_ocsp_crlid = { | |||
113 | const X509V3_EXT_METHOD v3_ocsp_acutoff = { | 113 | const X509V3_EXT_METHOD v3_ocsp_acutoff = { |
114 | .ext_nid = NID_id_pkix_OCSP_archiveCutoff, | 114 | .ext_nid = NID_id_pkix_OCSP_archiveCutoff, |
115 | .ext_flags = 0, | 115 | .ext_flags = 0, |
116 | .it = ASN1_ITEM_ref(ASN1_GENERALIZEDTIME), | 116 | .it = &ASN1_GENERALIZEDTIME_it, |
117 | .ext_new = NULL, | 117 | .ext_new = NULL, |
118 | .ext_free = NULL, | 118 | .ext_free = NULL, |
119 | .d2i = NULL, | 119 | .d2i = NULL, |
@@ -130,7 +130,7 @@ const X509V3_EXT_METHOD v3_ocsp_acutoff = { | |||
130 | const X509V3_EXT_METHOD v3_crl_invdate = { | 130 | const X509V3_EXT_METHOD v3_crl_invdate = { |
131 | .ext_nid = NID_invalidity_date, | 131 | .ext_nid = NID_invalidity_date, |
132 | .ext_flags = 0, | 132 | .ext_flags = 0, |
133 | .it = ASN1_ITEM_ref(ASN1_GENERALIZEDTIME), | 133 | .it = &ASN1_GENERALIZEDTIME_it, |
134 | .ext_new = NULL, | 134 | .ext_new = NULL, |
135 | .ext_free = NULL, | 135 | .ext_free = NULL, |
136 | .d2i = NULL, | 136 | .d2i = NULL, |
@@ -147,7 +147,7 @@ const X509V3_EXT_METHOD v3_crl_invdate = { | |||
147 | const X509V3_EXT_METHOD v3_crl_hold = { | 147 | const X509V3_EXT_METHOD v3_crl_hold = { |
148 | .ext_nid = NID_hold_instruction_code, | 148 | .ext_nid = NID_hold_instruction_code, |
149 | .ext_flags = 0, | 149 | .ext_flags = 0, |
150 | .it = ASN1_ITEM_ref(ASN1_OBJECT), | 150 | .it = &ASN1_OBJECT_it, |
151 | .ext_new = NULL, | 151 | .ext_new = NULL, |
152 | .ext_free = NULL, | 152 | .ext_free = NULL, |
153 | .d2i = NULL, | 153 | .d2i = NULL, |
@@ -181,7 +181,7 @@ const X509V3_EXT_METHOD v3_ocsp_nonce = { | |||
181 | const X509V3_EXT_METHOD v3_ocsp_nocheck = { | 181 | const X509V3_EXT_METHOD v3_ocsp_nocheck = { |
182 | .ext_nid = NID_id_pkix_OCSP_noCheck, | 182 | .ext_nid = NID_id_pkix_OCSP_noCheck, |
183 | .ext_flags = 0, | 183 | .ext_flags = 0, |
184 | .it = ASN1_ITEM_ref(ASN1_NULL), | 184 | .it = &ASN1_NULL_it, |
185 | .ext_new = NULL, | 185 | .ext_new = NULL, |
186 | .ext_free = NULL, | 186 | .ext_free = NULL, |
187 | .d2i = NULL, | 187 | .d2i = NULL, |
@@ -198,7 +198,7 @@ const X509V3_EXT_METHOD v3_ocsp_nocheck = { | |||
198 | const X509V3_EXT_METHOD v3_ocsp_serviceloc = { | 198 | const X509V3_EXT_METHOD v3_ocsp_serviceloc = { |
199 | .ext_nid = NID_id_pkix_OCSP_serviceLocator, | 199 | .ext_nid = NID_id_pkix_OCSP_serviceLocator, |
200 | .ext_flags = 0, | 200 | .ext_flags = 0, |
201 | .it = ASN1_ITEM_ref(OCSP_SERVICELOC), | 201 | .it = &OCSP_SERVICELOC_it, |
202 | .ext_new = NULL, | 202 | .ext_new = NULL, |
203 | .ext_free = NULL, | 203 | .ext_free = NULL, |
204 | .d2i = NULL, | 204 | .d2i = NULL, |