@@ -20,116 +20,6 @@ diff -uprN -X mkfile crypto.orig/cryptlib.c crypto/cryptlib.c
2020 #include <unistd.h>
2121
2222 #include <openssl/opensslconf.h>
23- diff -uprN -X mkfile crypto.orig/ocsp/ocsp_cl.c crypto/ocsp/ocsp_cl.c
24- --- crypto.orig/ocsp/ocsp_cl.c Sun May 31 21:08:12 2020
25- +++ crypto/ocsp/ocsp_cl.c Sun May 31 19:27:31 2020
26- @@ -70,6 +70,7 @@
27- #include <openssl/pem.h>
28- #include <openssl/x509.h>
29- #include <openssl/x509v3.h>
30- + #include <openssl/asn1t.h>
31-
32- /* Utility functions related to sending OCSP requests and extracting
33- * relevant information from the response.
34- diff -uprN -X mkfile crypto.orig/ocsp/ocsp_srv.c crypto/ocsp/ocsp_srv.c
35- --- crypto.orig/ocsp/ocsp_srv.c Sun May 31 21:08:12 2020
36- +++ crypto/ocsp/ocsp_srv.c Sun May 31 19:27:31 2020
37- @@ -64,6 +64,7 @@
38- #include <openssl/pem.h>
39- #include <openssl/x509.h>
40- #include <openssl/x509v3.h>
41- + #include <openssl/asn1t.h>
42-
43- /* Utility functions related to sending OCSP responses and extracting
44- * relevant information from the request.
45- diff -uprN -X mkfile crypto.orig/ocsp/ocsp_vfy.c crypto/ocsp/ocsp_vfy.c
46- --- crypto.orig/ocsp/ocsp_vfy.c Sun May 31 21:08:12 2020
47- +++ crypto/ocsp/ocsp_vfy.c Sun May 31 19:27:32 2020
48- @@ -58,6 +58,7 @@
49-
50- #include <openssl/ocsp.h>
51- #include <openssl/err.h>
52- + #include <openssl/asn1t.h>
53- #include <string.h>
54-
55- static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs,
56- diff -uprN -X mkfile crypto.orig/pkcs12/p12_add.c crypto/pkcs12/p12_add.c
57- --- crypto.orig/pkcs12/p12_add.c Sun May 31 21:08:13 2020
58- +++ crypto/pkcs12/p12_add.c Sun May 31 19:27:32 2020
59- @@ -60,6 +60,7 @@
60-
61- #include <openssl/err.h>
62- #include <openssl/pkcs12.h>
63- + #include <openssl/asn1t.h>
64-
65- /* Pack an object into an OCTET STRING and turn into a safebag */
66-
67- diff -uprN -X mkfile crypto.orig/pkcs12/p12_p8d.c crypto/pkcs12/p12_p8d.c
68- --- crypto.orig/pkcs12/p12_p8d.c Sun May 31 21:08:13 2020
69- +++ crypto/pkcs12/p12_p8d.c Sun May 31 19:27:32 2020
70- @@ -59,6 +59,7 @@
71- #include <stdio.h>
72-
73- #include <openssl/pkcs12.h>
74- + #include <openssl/asn1t.h>
75-
76- PKCS8_PRIV_KEY_INFO *
77- PKCS8_decrypt(const X509_SIG *p8, const char *pass, int passlen)
78- diff -uprN -X mkfile crypto.orig/pkcs12/p12_p8e.c crypto/pkcs12/p12_p8e.c
79- --- crypto.orig/pkcs12/p12_p8e.c Sun May 31 21:08:13 2020
80- +++ crypto/pkcs12/p12_p8e.c Sun May 31 19:27:32 2020
81- @@ -60,6 +60,7 @@
82-
83- #include <openssl/err.h>
84- #include <openssl/pkcs12.h>
85- + #include <openssl/asn1t.h>
86-
87- X509_SIG *
88- PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, const char *pass,
89- diff -uprN -X mkfile crypto.orig/pkcs12/p12_utl.c crypto/pkcs12/p12_utl.c
90- --- crypto.orig/pkcs12/p12_utl.c Sun May 31 21:08:13 2020
91- +++ crypto/pkcs12/p12_utl.c Sun May 31 19:27:32 2020
92- @@ -61,6 +61,7 @@
93- #include <string.h>
94-
95- #include <openssl/pkcs12.h>
96- + #include <openssl/asn1t.h>
97-
98- /* Cheap and nasty Unicode stuff */
99-
100- diff -uprN -X mkfile crypto.orig/pkcs7/bio_pk7.c crypto/pkcs7/bio_pk7.c
101- --- crypto.orig/pkcs7/bio_pk7.c Sun May 31 21:08:13 2020
102- +++ crypto/pkcs7/bio_pk7.c Sun May 31 19:27:32 2020
103- @@ -53,6 +53,7 @@
104- */
105-
106- #include <openssl/asn1.h>
107- + #include <openssl/asn1t.h>
108- #include <openssl/pkcs7.h>
109- #include <openssl/bio.h>
110-
111- diff -uprN -X mkfile crypto.orig/pkcs7/pk7_doit.c crypto/pkcs7/pk7_doit.c
112- --- crypto.orig/pkcs7/pk7_doit.c Sun May 31 21:08:13 2020
113- +++ crypto/pkcs7/pk7_doit.c Sun May 31 19:27:32 2020
114- @@ -64,6 +64,7 @@
115- #include <openssl/objects.h>
116- #include <openssl/x509.h>
117- #include <openssl/x509v3.h>
118- + #include <openssl/asn1t.h>
119-
120- static int add_attribute(STACK_OF(X509_ATTRIBUTE) **sk, int nid, int atrtype,
121- void *value);
122- diff -uprN -X mkfile crypto.orig/pkcs7/pk7_mime.c crypto/pkcs7/pk7_mime.c
123- --- crypto.orig/pkcs7/pk7_mime.c Sun May 31 21:08:13 2020
124- +++ crypto/pkcs7/pk7_mime.c Sun May 31 19:27:32 2020
125- @@ -57,6 +57,7 @@
126-
127- #include <openssl/asn1.h>
128- #include <openssl/x509.h>
129- + #include <openssl/asn1t.h>
130-
131- /* PKCS#7 wrappers round generalised stream and MIME routines */
132-
13323diff -uprN -X mkfile crypto.orig/poly1305/poly1305-donna.c crypto/poly1305/poly1305-donna.c
13424--- crypto.orig/poly1305/poly1305-donna.c Sun May 31 21:08:13 2020
13525+++ crypto/poly1305/poly1305-donna.c Sun May 31 19:27:32 2020
@@ -141,113 +31,3 @@ diff -uprN -X mkfile crypto.orig/poly1305/poly1305-donna.c crypto/poly1305/poly1
14131
14232 static inline void poly1305_init(poly1305_context *ctx,
14333 const unsigned char key[32]);
144- diff -uprN -X mkfile crypto.orig/x509/x_all.c crypto/x509/x_all.c
145- --- crypto.orig/x509/x_all.c Sun May 31 21:08:16 2020
146- +++ crypto/x509/x_all.c Sun May 31 19:27:32 2020
147- @@ -61,6 +61,7 @@
148- #include <openssl/opensslconf.h>
149-
150- #include <openssl/asn1.h>
151- + #include <openssl/asn1t.h>
152- #include <openssl/buffer.h>
153- #include <openssl/evp.h>
154- #include <openssl/stack.h>
155- diff -uprN -X mkfile crypto.orig/x509v3/v3_alt.c crypto/x509v3/v3_alt.c
156- --- crypto.orig/x509v3/v3_alt.c Sun May 31 21:08:16 2020
157- +++ crypto/x509v3/v3_alt.c Sun May 31 19:27:32 2020
158- @@ -62,6 +62,7 @@
159- #include <openssl/conf.h>
160- #include <openssl/err.h>
161- #include <openssl/x509v3.h>
162- + #include <openssl/asn1t.h>
163-
164- static GENERAL_NAMES *v2i_subject_alt(X509V3_EXT_METHOD *method,
165- X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
166- diff -uprN -X mkfile crypto.orig/x509v3/v3_bitst.c crypto/x509v3/v3_bitst.c
167- --- crypto.orig/x509v3/v3_bitst.c Sun May 31 21:08:16 2020
168- +++ crypto/x509v3/v3_bitst.c Sun May 31 19:27:33 2020
169- @@ -62,6 +62,7 @@
170- #include <openssl/conf.h>
171- #include <openssl/err.h>
172- #include <openssl/x509v3.h>
173- + #include <openssl/asn1t.h>
174-
175- static BIT_STRING_BITNAME ns_cert_type_table[] = {
176- {0, "SSL Client", "client"},
177- diff -uprN -X mkfile crypto.orig/x509v3/v3_enum.c crypto/x509v3/v3_enum.c
178- --- crypto.orig/x509v3/v3_enum.c Sun May 31 21:08:16 2020
179- +++ crypto/x509v3/v3_enum.c Sun May 31 19:27:33 2020
180- @@ -59,6 +59,7 @@
181- #include <stdio.h>
182- #include <string.h>
183- #include <openssl/x509v3.h>
184- + #include <openssl/asn1t.h>
185-
186- static ENUMERATED_NAMES crl_reasons[] = {
187- {CRL_REASON_UNSPECIFIED, "Unspecified", "unspecified"},
188- diff -uprN -X mkfile crypto.orig/x509v3/v3_ia5.c crypto/x509v3/v3_ia5.c
189- --- crypto.orig/x509v3/v3_ia5.c Sun May 31 21:08:17 2020
190- +++ crypto/x509v3/v3_ia5.c Sun May 31 19:27:33 2020
191- @@ -60,6 +60,7 @@
192- #include <string.h>
193-
194- #include <openssl/asn1.h>
195- + #include <openssl/asn1t.h>
196- #include <openssl/conf.h>
197- #include <openssl/err.h>
198- #include <openssl/x509v3.h>
199- diff -uprN -X mkfile crypto.orig/x509v3/v3_int.c crypto/x509v3/v3_int.c
200- --- crypto.orig/x509v3/v3_int.c Sun May 31 21:08:17 2020
201- +++ crypto/x509v3/v3_int.c Sun May 31 19:27:33 2020
202- @@ -59,6 +59,7 @@
203- #include <stdio.h>
204-
205- #include <openssl/x509v3.h>
206- + #include <openssl/asn1t.h>
207-
208- const X509V3_EXT_METHOD v3_crl_num = {
209- .ext_nid = NID_crl_number,
210- diff -uprN -X mkfile crypto.orig/x509v3/v3_ocsp.c crypto/x509v3/v3_ocsp.c
211- --- crypto.orig/x509v3/v3_ocsp.c Sun May 31 21:08:17 2020
212- +++ crypto/x509v3/v3_ocsp.c Sun May 31 19:27:33 2020
213- @@ -64,6 +64,7 @@
214- #ifndef OPENSSL_NO_OCSP
215-
216- #include <openssl/asn1.h>
217- + #include <openssl/asn1t.h>
218- #include <openssl/conf.h>
219- #include <openssl/err.h>
220- #include <openssl/ocsp.h>
221- diff -uprN -X mkfile crypto.orig/x509v3/v3_pci.c crypto/x509v3/v3_pci.c
222- --- crypto.orig/x509v3/v3_pci.c Sun May 31 21:08:17 2020
223- +++ crypto/x509v3/v3_pci.c Sun May 31 19:27:33 2020
224- @@ -40,6 +40,7 @@
225- #include <openssl/conf.h>
226- #include <openssl/err.h>
227- #include <openssl/x509v3.h>
228- + #include <openssl/asn1t.h>
229-
230- static int i2r_pci(X509V3_EXT_METHOD *method, PROXY_CERT_INFO_EXTENSION *ext,
231- BIO *out, int indent);
232- diff -uprN -X mkfile crypto.orig/x509v3/v3_skey.c crypto/x509v3/v3_skey.c
233- --- crypto.orig/x509v3/v3_skey.c Sun May 31 21:08:17 2020
234- +++ crypto/x509v3/v3_skey.c Sun May 31 19:27:33 2020
235- @@ -60,6 +60,7 @@
236- #include <string.h>
237-
238- #include <openssl/err.h>
239- + #include <openssl/asn1t.h>
240- #include <openssl/x509v3.h>
241-
242- static ASN1_OCTET_STRING *s2i_skey_id(X509V3_EXT_METHOD *method,
243- diff -uprN -X mkfile crypto.orig/x509v3/v3_utl.c crypto/x509v3/v3_utl.c
244- --- crypto.orig/x509v3/v3_utl.c Sun May 31 21:08:17 2020
245- +++ crypto/x509v3/v3_utl.c Sun May 31 19:27:33 2020
246- @@ -61,6 +61,7 @@
247- #include <stdio.h>
248- #include <string.h>
249-
250- + #include <openssl/asn1t.h>
251- #include <openssl/bn.h>
252- #include <openssl/conf.h>
253- #include <openssl/err.h>
0 commit comments