1 | # TODO: use ../apps/libapps.a instead of direct ../apps/lib source.
|
---|
2 | # This can't currently be done, because some of its units drag in too many
|
---|
3 | # unresolved references that don't apply here.
|
---|
4 | # Most of all, ../apps/lib/apps.c needs to be divided in smaller pieces to
|
---|
5 | # be useful here.
|
---|
6 | #
|
---|
7 | # Auxiliary program source (copied from ../apps/build.info)
|
---|
8 | IF[{- $config{target} =~ /^(?:VC-|mingw|BC-)/ -}]
|
---|
9 | # It's called 'init', but doesn't have much 'init' in it...
|
---|
10 | $AUXLIBAPPSSRC=../apps/lib/win32_init.c
|
---|
11 | ENDIF
|
---|
12 | IF[{- $config{target} =~ /^vms-/ -}]
|
---|
13 | $AUXLIBAPPSSRC=../apps/lib/vms_term_sock.c ../apps/lib/vms_decc_argv.c
|
---|
14 | ENDIF
|
---|
15 | # Program init source, that don't have direct linkage with the rest of the
|
---|
16 | # source, and can therefore not be part of a library.
|
---|
17 | IF[{- !$disabled{uplink} -}]
|
---|
18 | $INITSRC=../ms/applink.c
|
---|
19 | ENDIF
|
---|
20 | $LIBAPPSSRC=../apps/lib/opt.c $AUXLIBAPPSSRC
|
---|
21 |
|
---|
22 | IF[{- !$disabled{tests} -}]
|
---|
23 | LIBS{noinst,has_main}=libtestutil.a
|
---|
24 | SOURCE[libtestutil.a]=testutil/basic_output.c testutil/output.c \
|
---|
25 | testutil/driver.c testutil/tests.c testutil/cb.c testutil/stanza.c \
|
---|
26 | testutil/format_output.c testutil/load.c testutil/fake_random.c \
|
---|
27 | testutil/test_cleanup.c testutil/main.c testutil/testutil_init.c \
|
---|
28 | testutil/options.c testutil/test_options.c testutil/provider.c \
|
---|
29 | testutil/apps_shims.c testutil/random.c $LIBAPPSSRC
|
---|
30 | INCLUDE[libtestutil.a]=../include ../apps/include ..
|
---|
31 | DEPEND[libtestutil.a]=../libcrypto
|
---|
32 |
|
---|
33 | PROGRAMS{noinst}= \
|
---|
34 | confdump \
|
---|
35 | versions \
|
---|
36 | aborttest test_test pkcs12_format_test \
|
---|
37 | sanitytest rsa_complex exdatatest bntest \
|
---|
38 | ecstresstest gmdifftest pbelutest \
|
---|
39 | destest mdc2test sha_test \
|
---|
40 | exptest pbetest localetest evp_pkey_ctx_new_from_name \
|
---|
41 | evp_pkey_provided_test evp_test evp_extra_test evp_extra_test2 \
|
---|
42 | evp_fetch_prov_test evp_libctx_test ossl_store_test \
|
---|
43 | v3nametest v3ext punycode_test \
|
---|
44 | crltest danetest bad_dtls_test lhash_test sparse_array_test \
|
---|
45 | conf_include_test params_api_test params_conversion_test \
|
---|
46 | constant_time_test verify_extra_test clienthellotest \
|
---|
47 | packettest asynctest secmemtest srptest memleaktest stack_test \
|
---|
48 | dtlsv1listentest ct_test threadstest afalgtest d2i_test \
|
---|
49 | ssl_test_ctx_test ssl_test x509aux cipherlist_test asynciotest \
|
---|
50 | bio_callback_test bio_memleak_test bio_core_test param_build_test \
|
---|
51 | bioprinttest sslapitest dtlstest sslcorrupttest \
|
---|
52 | bio_enc_test pkey_meth_test pkey_meth_kdf_test evp_kdf_test uitest \
|
---|
53 | cipherbytes_test threadstest_fips \
|
---|
54 | asn1_encode_test asn1_decode_test asn1_string_table_test \
|
---|
55 | x509_time_test x509_dup_cert_test x509_check_cert_pkey_test \
|
---|
56 | recordlentest drbgtest rand_status_test sslbuffertest \
|
---|
57 | time_offset_test pemtest ssl_cert_table_internal_test ciphername_test \
|
---|
58 | http_test servername_test ocspapitest fatalerrtest tls13ccstest \
|
---|
59 | sysdefaulttest errtest ssl_ctx_test build_wincrypt_test \
|
---|
60 | context_internal_test aesgcmtest params_test evp_pkey_dparams_test \
|
---|
61 | keymgmt_internal_test hexstr_test provider_status_test defltfips_test \
|
---|
62 | bio_readbuffer_test user_property_test pkcs7_test upcallstest \
|
---|
63 | provfetchtest prov_config_test rand_test fips_version_test \
|
---|
64 | nodefltctxtest
|
---|
65 |
|
---|
66 | IF[{- !$disabled{'deprecated-3.0'} -}]
|
---|
67 | PROGRAMS{noinst}=enginetest
|
---|
68 | ENDIF
|
---|
69 |
|
---|
70 | SOURCE[confdump]=confdump.c
|
---|
71 | INCLUDE[confdump]=../include ../apps/include
|
---|
72 | DEPEND[confdump]=../libcrypto
|
---|
73 |
|
---|
74 | SOURCE[versions]=versions.c
|
---|
75 | INCLUDE[versions]=../include ../apps/include
|
---|
76 | DEPEND[versions]=../libcrypto
|
---|
77 |
|
---|
78 | SOURCE[aborttest]=aborttest.c
|
---|
79 | INCLUDE[aborttest]=../include ../apps/include
|
---|
80 | DEPEND[aborttest]=../libcrypto
|
---|
81 |
|
---|
82 | SOURCE[sanitytest]=sanitytest.c
|
---|
83 | INCLUDE[sanitytest]=../include ../apps/include
|
---|
84 | DEPEND[sanitytest]=../libcrypto libtestutil.a
|
---|
85 |
|
---|
86 | SOURCE[rand_test]=rand_test.c
|
---|
87 | INCLUDE[rand_test]=../include ../apps/include
|
---|
88 | DEPEND[rand_test]=../libcrypto libtestutil.a
|
---|
89 |
|
---|
90 | SOURCE[rsa_complex]=rsa_complex.c
|
---|
91 | INCLUDE[rsa_complex]=../include ../apps/include
|
---|
92 |
|
---|
93 | SOURCE[test_test]=test_test.c
|
---|
94 | INCLUDE[test_test]=../include ../apps/include
|
---|
95 | DEPEND[test_test]=../libcrypto libtestutil.a
|
---|
96 |
|
---|
97 | SOURCE[exdatatest]=exdatatest.c
|
---|
98 | INCLUDE[exdatatest]=../include ../apps/include
|
---|
99 | DEPEND[exdatatest]=../libcrypto libtestutil.a
|
---|
100 |
|
---|
101 | SOURCE[bntest]=bntest.c
|
---|
102 | INCLUDE[bntest]=../include ../apps/include
|
---|
103 | DEPEND[bntest]=../libcrypto libtestutil.a
|
---|
104 |
|
---|
105 | SOURCE[ectest]=ectest.c
|
---|
106 | INCLUDE[ectest]=../include ../apps/include
|
---|
107 | DEPEND[ectest]=../libcrypto.a libtestutil.a
|
---|
108 |
|
---|
109 | SOURCE[ecstresstest]=ecstresstest.c
|
---|
110 | INCLUDE[ecstresstest]=../include ../apps/include
|
---|
111 | DEPEND[ecstresstest]=../libcrypto libtestutil.a
|
---|
112 |
|
---|
113 | SOURCE[gmdifftest]=gmdifftest.c
|
---|
114 | INCLUDE[gmdifftest]=../include ../apps/include
|
---|
115 | DEPEND[gmdifftest]=../libcrypto libtestutil.a
|
---|
116 |
|
---|
117 | SOURCE[pbelutest]=pbelutest.c
|
---|
118 | INCLUDE[pbelutest]=../include ../apps/include
|
---|
119 | DEPEND[pbelutest]=../libcrypto libtestutil.a
|
---|
120 |
|
---|
121 | SOURCE[mdc2test]=mdc2test.c
|
---|
122 | INCLUDE[mdc2test]=../include ../apps/include
|
---|
123 | DEPEND[mdc2test]=../libcrypto libtestutil.a
|
---|
124 |
|
---|
125 | SOURCE[sha_test]=sha_test.c
|
---|
126 | INCLUDE[sha_test]=../include ../apps/include
|
---|
127 | DEPEND[sha_test]=../libcrypto libtestutil.a
|
---|
128 |
|
---|
129 | SOURCE[enginetest]=enginetest.c
|
---|
130 | INCLUDE[enginetest]=../include ../apps/include
|
---|
131 | DEPEND[enginetest]=../libcrypto libtestutil.a
|
---|
132 |
|
---|
133 | SOURCE[exptest]=exptest.c
|
---|
134 | INCLUDE[exptest]=../include ../apps/include
|
---|
135 | DEPEND[exptest]=../libcrypto libtestutil.a
|
---|
136 |
|
---|
137 | SOURCE[localetest]=localetest.c
|
---|
138 | INCLUDE[localetest]=../include ../apps/include
|
---|
139 | DEPEND[localetest]=../libcrypto libtestutil.a
|
---|
140 |
|
---|
141 | SOURCE[evp_pkey_ctx_new_from_name]=evp_pkey_ctx_new_from_name.c
|
---|
142 | INCLUDE[evp_pkey_ctx_new_from_name]=../include ../apps/include
|
---|
143 | DEPEND[evp_pkey_ctx_new_from_name]=../libcrypto
|
---|
144 |
|
---|
145 | SOURCE[pbetest]=pbetest.c
|
---|
146 | INCLUDE[pbetest]=../include ../apps/include
|
---|
147 | DEPEND[pbetest]=../libcrypto libtestutil.a
|
---|
148 |
|
---|
149 | SOURCE[fatalerrtest]=fatalerrtest.c helpers/ssltestlib.c
|
---|
150 | INCLUDE[fatalerrtest]=../include ../apps/include
|
---|
151 | DEPEND[fatalerrtest]=../libcrypto ../libssl libtestutil.a
|
---|
152 |
|
---|
153 | SOURCE[tls13ccstest]=tls13ccstest.c helpers/ssltestlib.c
|
---|
154 | INCLUDE[tls13ccstest]=../include ../apps/include
|
---|
155 | DEPEND[tls13ccstest]=../libcrypto ../libssl libtestutil.a
|
---|
156 |
|
---|
157 | SOURCE[upcallstest]=upcallstest.c
|
---|
158 | INCLUDE[upcallstest]=../include ../apps/include
|
---|
159 | DEPEND[upcallstest]=../libcrypto libtestutil.a
|
---|
160 |
|
---|
161 | SOURCE[user_property_test]=user_property_test.c
|
---|
162 | INCLUDE[user_property_test]=../include ../apps/include
|
---|
163 | DEPEND[user_property_test]=../libcrypto libtestutil.a
|
---|
164 |
|
---|
165 | SOURCE[evp_test]=evp_test.c
|
---|
166 | INCLUDE[evp_test]=../include ../apps/include
|
---|
167 | DEPEND[evp_test]=../libcrypto libtestutil.a
|
---|
168 | IF[{- $disabled{legacy} || !$target{dso_scheme} -}]
|
---|
169 | DEFINE[evp_test]=NO_LEGACY_MODULE
|
---|
170 | ENDIF
|
---|
171 |
|
---|
172 | SOURCE[evp_extra_test]=evp_extra_test.c
|
---|
173 | INCLUDE[evp_extra_test]=../include ../apps/include
|
---|
174 | DEPEND[evp_extra_test]=../libcrypto.a libtestutil.a
|
---|
175 |
|
---|
176 | SOURCE[evp_extra_test2]=evp_extra_test2.c
|
---|
177 | INCLUDE[evp_extra_test2]=../include ../apps/include
|
---|
178 | DEPEND[evp_extra_test2]=../libcrypto libtestutil.a
|
---|
179 |
|
---|
180 | SOURCE[evp_libctx_test]=evp_libctx_test.c
|
---|
181 | INCLUDE[evp_libctx_test]=../include ../apps/include
|
---|
182 | DEPEND[evp_libctx_test]=../libcrypto.a libtestutil.a
|
---|
183 |
|
---|
184 | SOURCE[evp_fetch_prov_test]=evp_fetch_prov_test.c
|
---|
185 | INCLUDE[evp_fetch_prov_test]=../include ../apps/include
|
---|
186 | DEPEND[evp_fetch_prov_test]=../libcrypto libtestutil.a
|
---|
187 |
|
---|
188 | SOURCE[provfetchtest]=provfetchtest.c
|
---|
189 | INCLUDE[provfetchtest]=../include ../apps/include
|
---|
190 | DEPEND[provfetchtest]=../libcrypto.a libtestutil.a
|
---|
191 |
|
---|
192 | SOURCE[prov_config_test]=prov_config_test.c
|
---|
193 | INCLUDE[prov_config_test]=../include ../apps/include
|
---|
194 | DEPEND[prov_config_test]=../libcrypto.a libtestutil.a
|
---|
195 |
|
---|
196 | SOURCE[evp_pkey_provided_test]=evp_pkey_provided_test.c
|
---|
197 | INCLUDE[evp_pkey_provided_test]=../include ../apps/include
|
---|
198 | DEPEND[evp_pkey_provided_test]=../libcrypto.a libtestutil.a
|
---|
199 |
|
---|
200 | IF[{- !$disabled{'acvp-tests'} -}]
|
---|
201 | PROGRAMS{noinst}=acvp_test
|
---|
202 |
|
---|
203 | SOURCE[acvp_test]=acvp_test.c
|
---|
204 | INCLUDE[acvp_test]=../include ../apps/include
|
---|
205 | DEPEND[acvp_test]=../libcrypto.a libtestutil.a
|
---|
206 | ENDIF
|
---|
207 |
|
---|
208 | SOURCE[ossl_store_test]=ossl_store_test.c
|
---|
209 | INCLUDE[ossl_store_test]=../include ../apps/include
|
---|
210 | DEPEND[ossl_store_test]=../libcrypto.a libtestutil.a
|
---|
211 |
|
---|
212 | SOURCE[provider_status_test]=provider_status_test.c
|
---|
213 | INCLUDE[provider_status_test]=../include ../apps/include
|
---|
214 | DEPEND[provider_status_test]=../libcrypto.a libtestutil.a
|
---|
215 |
|
---|
216 | SOURCE[nodefltctxtest]=nodefltctxtest.c
|
---|
217 | INCLUDE[nodefltctxtest]=../include ../apps/include
|
---|
218 | DEPEND[nodefltctxtest]=../libcrypto.a libtestutil.a
|
---|
219 |
|
---|
220 | IF[{- !$disabled{'deprecated-3.0'} -}]
|
---|
221 | PROGRAMS{noinst}=igetest bftest casttest
|
---|
222 |
|
---|
223 | SOURCE[igetest]=igetest.c
|
---|
224 | INCLUDE[igetest]=../include ../apps/include
|
---|
225 | DEPEND[igetest]=../libcrypto libtestutil.a
|
---|
226 |
|
---|
227 | SOURCE[bftest]=bftest.c
|
---|
228 | INCLUDE[bftest]=../include ../apps/include
|
---|
229 | DEPEND[bftest]=../libcrypto libtestutil.a
|
---|
230 |
|
---|
231 | SOURCE[casttest]=casttest.c
|
---|
232 | INCLUDE[casttest]=../include ../apps/include
|
---|
233 | DEPEND[casttest]=../libcrypto libtestutil.a
|
---|
234 | ENDIF
|
---|
235 |
|
---|
236 | SOURCE[v3nametest]=v3nametest.c
|
---|
237 | INCLUDE[v3nametest]=../include ../apps/include
|
---|
238 | DEPEND[v3nametest]=../libcrypto libtestutil.a
|
---|
239 |
|
---|
240 | SOURCE[crltest]=crltest.c
|
---|
241 | INCLUDE[crltest]=../include ../apps/include
|
---|
242 | DEPEND[crltest]=../libcrypto libtestutil.a
|
---|
243 |
|
---|
244 | SOURCE[v3ext]=v3ext.c
|
---|
245 | INCLUDE[v3ext]=../include ../apps/include
|
---|
246 | DEPEND[v3ext]=../libcrypto libtestutil.a
|
---|
247 |
|
---|
248 | SOURCE[danetest]=danetest.c
|
---|
249 | INCLUDE[danetest]=../include ../apps/include
|
---|
250 | DEPEND[danetest]=../libcrypto ../libssl libtestutil.a
|
---|
251 |
|
---|
252 | SOURCE[constant_time_test]=constant_time_test.c
|
---|
253 | INCLUDE[constant_time_test]=../include ../apps/include
|
---|
254 | DEPEND[constant_time_test]=../libcrypto libtestutil.a
|
---|
255 |
|
---|
256 | SOURCE[verify_extra_test]=verify_extra_test.c
|
---|
257 | INCLUDE[verify_extra_test]=../include ../apps/include
|
---|
258 | DEPEND[verify_extra_test]=../libcrypto libtestutil.a
|
---|
259 |
|
---|
260 | SOURCE[clienthellotest]=clienthellotest.c
|
---|
261 | INCLUDE[clienthellotest]=../include ../apps/include
|
---|
262 | DEPEND[clienthellotest]=../libcrypto ../libssl libtestutil.a
|
---|
263 |
|
---|
264 | SOURCE[bad_dtls_test]=bad_dtls_test.c
|
---|
265 | INCLUDE[bad_dtls_test]=../include ../apps/include
|
---|
266 | DEPEND[bad_dtls_test]=../libcrypto ../libssl libtestutil.a
|
---|
267 |
|
---|
268 | SOURCE[packettest]=packettest.c
|
---|
269 | INCLUDE[packettest]=../include ../apps/include
|
---|
270 | DEPEND[packettest]=../libcrypto libtestutil.a
|
---|
271 |
|
---|
272 | SOURCE[asynctest]=asynctest.c
|
---|
273 | INCLUDE[asynctest]=../include ../apps/include
|
---|
274 | DEPEND[asynctest]=../libcrypto
|
---|
275 |
|
---|
276 | SOURCE[secmemtest]=secmemtest.c
|
---|
277 | INCLUDE[secmemtest]=../include ../apps/include
|
---|
278 | DEPEND[secmemtest]=../libcrypto libtestutil.a
|
---|
279 |
|
---|
280 | SOURCE[srptest]=srptest.c
|
---|
281 | INCLUDE[srptest]=../include ../apps/include
|
---|
282 | DEPEND[srptest]=../libcrypto libtestutil.a
|
---|
283 |
|
---|
284 | SOURCE[memleaktest]=memleaktest.c
|
---|
285 | INCLUDE[memleaktest]=../include ../apps/include
|
---|
286 | DEPEND[memleaktest]=../libcrypto libtestutil.a
|
---|
287 |
|
---|
288 | SOURCE[pkcs12_format_test]=pkcs12_format_test.c helpers/pkcs12.c
|
---|
289 | INCLUDE[pkcs12_format_test]=../include ../apps/include
|
---|
290 | DEPEND[pkcs12_format_test]=../libcrypto libtestutil.a
|
---|
291 |
|
---|
292 | SOURCE[pkcs7_test]=pkcs7_test.c
|
---|
293 | INCLUDE[pkcs7_test]=../include ../apps/include
|
---|
294 | DEPEND[pkcs7_test]=../libcrypto libtestutil.a
|
---|
295 |
|
---|
296 | SOURCE[punycode_test]=punycode_test.c
|
---|
297 | INCLUDE[punycode_test]=../include ../apps/include
|
---|
298 | DEPEND[punycode_test]=../libcrypto.a libtestutil.a
|
---|
299 |
|
---|
300 | SOURCE[stack_test]=stack_test.c
|
---|
301 | INCLUDE[stack_test]=../include ../apps/include
|
---|
302 | DEPEND[stack_test]=../libcrypto libtestutil.a
|
---|
303 |
|
---|
304 | SOURCE[lhash_test]=lhash_test.c
|
---|
305 | INCLUDE[lhash_test]=../include ../apps/include
|
---|
306 | DEPEND[lhash_test]=../libcrypto libtestutil.a
|
---|
307 |
|
---|
308 | SOURCE[dtlsv1listentest]=dtlsv1listentest.c
|
---|
309 | INCLUDE[dtlsv1listentest]=../include ../apps/include
|
---|
310 | DEPEND[dtlsv1listentest]=../libssl libtestutil.a
|
---|
311 |
|
---|
312 | SOURCE[ct_test]=ct_test.c
|
---|
313 | INCLUDE[ct_test]=../include ../apps/include
|
---|
314 | DEPEND[ct_test]=../libcrypto libtestutil.a
|
---|
315 |
|
---|
316 | SOURCE[threadstest]=threadstest.c
|
---|
317 | INCLUDE[threadstest]=../include ../apps/include
|
---|
318 | DEPEND[threadstest]=../libcrypto libtestutil.a
|
---|
319 |
|
---|
320 | SOURCE[threadstest_fips]=threadstest_fips.c
|
---|
321 | INCLUDE[threadstest_fips]=../include ../apps/include
|
---|
322 | DEPEND[threadstest_fips]=../libcrypto libtestutil.a
|
---|
323 |
|
---|
324 | SOURCE[afalgtest]=afalgtest.c
|
---|
325 | INCLUDE[afalgtest]=../include ../apps/include
|
---|
326 | DEPEND[afalgtest]=../libcrypto libtestutil.a
|
---|
327 |
|
---|
328 | SOURCE[d2i_test]=d2i_test.c
|
---|
329 | INCLUDE[d2i_test]=../include ../apps/include
|
---|
330 | DEPEND[d2i_test]=../libcrypto libtestutil.a
|
---|
331 |
|
---|
332 | SOURCE[ssl_test_ctx_test]=ssl_test_ctx_test.c helpers/ssl_test_ctx.c
|
---|
333 | INCLUDE[ssl_test_ctx_test]=../include ../apps/include
|
---|
334 | DEPEND[ssl_test_ctx_test]=../libcrypto ../libssl libtestutil.a
|
---|
335 |
|
---|
336 | SOURCE[ssl_test]=ssl_test.c helpers/ssl_test_ctx.c helpers/handshake.c
|
---|
337 | IF[{- !$disabled{'srp'} -}]
|
---|
338 | SOURCE[ssl_test]=helpers/handshake_srp.c
|
---|
339 | ENDIF
|
---|
340 | INCLUDE[ssl_test]=../include ../apps/include
|
---|
341 | DEPEND[ssl_test]=../libcrypto ../libssl libtestutil.a
|
---|
342 |
|
---|
343 | SOURCE[cipherlist_test]=cipherlist_test.c
|
---|
344 | INCLUDE[cipherlist_test]=../include ../apps/include
|
---|
345 | DEPEND[cipherlist_test]=../libcrypto ../libssl libtestutil.a
|
---|
346 |
|
---|
347 | INCLUDE[helpers/ssl_test_ctx.o]=../include
|
---|
348 | INCLUDE[helpers/handshake.o]=.. ../include
|
---|
349 | INCLUDE[helpers/pkcs12.o]=.. ../include
|
---|
350 | INCLUDE[helpers/ssltestlib.o]=.. ../include
|
---|
351 | INCLUDE[helpers/cmp_testlib.o]=.. ../include ../apps/include
|
---|
352 |
|
---|
353 | SOURCE[x509aux]=x509aux.c
|
---|
354 | INCLUDE[x509aux]=../include ../apps/include
|
---|
355 | DEPEND[x509aux]=../libcrypto libtestutil.a
|
---|
356 |
|
---|
357 | SOURCE[asynciotest]=asynciotest.c helpers/ssltestlib.c
|
---|
358 | INCLUDE[asynciotest]=../include ../apps/include
|
---|
359 | DEPEND[asynciotest]=../libcrypto ../libssl libtestutil.a
|
---|
360 |
|
---|
361 | SOURCE[bio_callback_test]=bio_callback_test.c
|
---|
362 | INCLUDE[bio_callback_test]=../include ../apps/include
|
---|
363 | DEPEND[bio_callback_test]=../libcrypto libtestutil.a
|
---|
364 |
|
---|
365 | SOURCE[bio_readbuffer_test]=bio_readbuffer_test.c
|
---|
366 | INCLUDE[bio_readbuffer_test]=../include ../apps/include
|
---|
367 | DEPEND[bio_readbuffer_test]=../libcrypto libtestutil.a
|
---|
368 |
|
---|
369 | SOURCE[bio_memleak_test]=bio_memleak_test.c
|
---|
370 | INCLUDE[bio_memleak_test]=../include ../apps/include
|
---|
371 | DEPEND[bio_memleak_test]=../libcrypto libtestutil.a
|
---|
372 |
|
---|
373 | SOURCE[bioprinttest]=bioprinttest.c
|
---|
374 | INCLUDE[bioprinttest]=../include ../apps/include
|
---|
375 | DEPEND[bioprinttest]=../libcrypto libtestutil.a
|
---|
376 |
|
---|
377 | SOURCE[bio_core_test]=bio_core_test.c
|
---|
378 | INCLUDE[bio_core_test]=../include ../apps/include
|
---|
379 | DEPEND[bio_core_test]=../libcrypto libtestutil.a
|
---|
380 |
|
---|
381 | SOURCE[params_api_test]=params_api_test.c
|
---|
382 | INCLUDE[params_api_test]=../include ../apps/include
|
---|
383 | DEPEND[params_api_test]=../libcrypto libtestutil.a
|
---|
384 |
|
---|
385 | SOURCE[params_conversion_test]=params_conversion_test.c
|
---|
386 | INCLUDE[params_conversion_test]=../include ../apps/include
|
---|
387 | DEPEND[params_conversion_test]=../libcrypto libtestutil.a
|
---|
388 |
|
---|
389 | SOURCE[param_build_test]=param_build_test.c
|
---|
390 | INCLUDE[param_build_test]=../include ../apps/include
|
---|
391 | DEPEND[param_build_test]=../libcrypto.a libtestutil.a
|
---|
392 |
|
---|
393 | SOURCE[sslapitest]=sslapitest.c helpers/ssltestlib.c filterprov.c tls-provider.c
|
---|
394 | INCLUDE[sslapitest]=../include ../apps/include ..
|
---|
395 | DEPEND[sslapitest]=../libcrypto ../libssl libtestutil.a
|
---|
396 |
|
---|
397 | SOURCE[defltfips_test]=defltfips_test.c
|
---|
398 | INCLUDE[defltfips_test]=../include ../apps/include
|
---|
399 | DEPEND[defltfips_test]=../libcrypto libtestutil.a
|
---|
400 |
|
---|
401 | SOURCE[fips_version_test]=fips_version_test.c
|
---|
402 | INCLUDE[fips_version_test]=../include ../apps/include
|
---|
403 | DEPEND[fips_version_test]=../libcrypto libtestutil.a
|
---|
404 |
|
---|
405 | SOURCE[ocspapitest]=ocspapitest.c
|
---|
406 | INCLUDE[ocspapitest]=../include ../apps/include
|
---|
407 | DEPEND[ocspapitest]=../libcrypto libtestutil.a
|
---|
408 |
|
---|
409 | IF[{- !$disabled{sock} -}]
|
---|
410 | PROGRAMS{noinst}=http_test
|
---|
411 | ENDIF
|
---|
412 |
|
---|
413 | SOURCE[http_test]=http_test.c
|
---|
414 | INCLUDE[http_test]=../include ../apps/include
|
---|
415 | DEPEND[http_test]=../libcrypto libtestutil.a
|
---|
416 |
|
---|
417 | SOURCE[dtlstest]=dtlstest.c helpers/ssltestlib.c
|
---|
418 | INCLUDE[dtlstest]=../include ../apps/include
|
---|
419 | DEPEND[dtlstest]=../libcrypto ../libssl libtestutil.a
|
---|
420 |
|
---|
421 | SOURCE[sslcorrupttest]=sslcorrupttest.c helpers/ssltestlib.c
|
---|
422 | INCLUDE[sslcorrupttest]=../include ../apps/include
|
---|
423 | DEPEND[sslcorrupttest]=../libcrypto ../libssl libtestutil.a
|
---|
424 |
|
---|
425 | SOURCE[bio_enc_test]=bio_enc_test.c
|
---|
426 | INCLUDE[bio_enc_test]=../include ../apps/include
|
---|
427 | DEPEND[bio_enc_test]=../libcrypto libtestutil.a
|
---|
428 |
|
---|
429 | SOURCE[pkey_meth_test]=pkey_meth_test.c
|
---|
430 | INCLUDE[pkey_meth_test]=../include ../apps/include
|
---|
431 | DEPEND[pkey_meth_test]=../libcrypto libtestutil.a
|
---|
432 |
|
---|
433 | SOURCE[pkey_meth_kdf_test]=pkey_meth_kdf_test.c
|
---|
434 | INCLUDE[pkey_meth_kdf_test]=../include ../apps/include
|
---|
435 | DEPEND[pkey_meth_kdf_test]=../libcrypto libtestutil.a
|
---|
436 |
|
---|
437 | SOURCE[evp_kdf_test]=evp_kdf_test.c
|
---|
438 | INCLUDE[evp_kdf_test]=../include ../apps/include
|
---|
439 | DEPEND[evp_kdf_test]=../libcrypto libtestutil.a
|
---|
440 |
|
---|
441 | SOURCE[evp_pkey_dparams_test]=evp_pkey_dparams_test.c
|
---|
442 | INCLUDE[evp_pkey_dparams_test]=../include ../apps/include
|
---|
443 | DEPEND[evp_pkey_dparams_test]=../libcrypto libtestutil.a
|
---|
444 |
|
---|
445 | SOURCE[x509_time_test]=x509_time_test.c
|
---|
446 | INCLUDE[x509_time_test]=../include ../apps/include
|
---|
447 | DEPEND[x509_time_test]=../libcrypto libtestutil.a
|
---|
448 |
|
---|
449 | SOURCE[recordlentest]=recordlentest.c helpers/ssltestlib.c
|
---|
450 | INCLUDE[recordlentest]=../include ../apps/include
|
---|
451 | DEPEND[recordlentest]=../libcrypto ../libssl libtestutil.a
|
---|
452 |
|
---|
453 | SOURCE[drbgtest]=drbgtest.c
|
---|
454 | INCLUDE[drbgtest]=../include ../apps/include ../providers/common/include
|
---|
455 | DEPEND[drbgtest]=../libcrypto.a libtestutil.a
|
---|
456 |
|
---|
457 | SOURCE[rand_status_test]=rand_status_test.c
|
---|
458 | INCLUDE[rand_status_test]=../include ../apps/include
|
---|
459 | DEPEND[rand_status_test]=../libcrypto libtestutil.a
|
---|
460 |
|
---|
461 | SOURCE[x509_dup_cert_test]=x509_dup_cert_test.c
|
---|
462 | INCLUDE[x509_dup_cert_test]=../include ../apps/include
|
---|
463 | DEPEND[x509_dup_cert_test]=../libcrypto libtestutil.a
|
---|
464 |
|
---|
465 | SOURCE[x509_check_cert_pkey_test]=x509_check_cert_pkey_test.c
|
---|
466 | INCLUDE[x509_check_cert_pkey_test]=../include ../apps/include
|
---|
467 | DEPEND[x509_check_cert_pkey_test]=../libcrypto libtestutil.a
|
---|
468 |
|
---|
469 | SOURCE[pemtest]=pemtest.c
|
---|
470 | INCLUDE[pemtest]=../include ../apps/include
|
---|
471 | DEPEND[pemtest]=../libcrypto libtestutil.a
|
---|
472 |
|
---|
473 | SOURCE[ssl_cert_table_internal_test]=ssl_cert_table_internal_test.c
|
---|
474 | INCLUDE[ssl_cert_table_internal_test]=.. ../include ../apps/include
|
---|
475 | DEPEND[ssl_cert_table_internal_test]=../libcrypto libtestutil.a
|
---|
476 |
|
---|
477 | SOURCE[ciphername_test]=ciphername_test.c
|
---|
478 | INCLUDE[ciphername_test]=../include ../apps/include
|
---|
479 | DEPEND[ciphername_test]=../libcrypto ../libssl libtestutil.a
|
---|
480 |
|
---|
481 | SOURCE[http_test]=http_test.c
|
---|
482 | INCLUDE[http_test]=../include ../apps/include
|
---|
483 | DEPEND[http_test]=../libcrypto libtestutil.a
|
---|
484 |
|
---|
485 | SOURCE[servername_test]=servername_test.c helpers/ssltestlib.c
|
---|
486 | INCLUDE[servername_test]=../include ../apps/include
|
---|
487 | DEPEND[servername_test]=../libcrypto ../libssl libtestutil.a
|
---|
488 |
|
---|
489 | IF[{- !$disabled{cms} -}]
|
---|
490 | PROGRAMS{noinst}=cmsapitest
|
---|
491 | SOURCE[cmsapitest]=cmsapitest.c
|
---|
492 | INCLUDE[cmsapitest]=../include ../apps/include
|
---|
493 | DEPEND[cmsapitest]=../libcrypto libtestutil.a
|
---|
494 | ENDIF
|
---|
495 |
|
---|
496 | IF[{- !$disabled{psk} -}]
|
---|
497 | PROGRAMS{noinst}=dtls_mtu_test
|
---|
498 | SOURCE[dtls_mtu_test]=dtls_mtu_test.c helpers/ssltestlib.c
|
---|
499 | INCLUDE[dtls_mtu_test]=.. ../include ../apps/include
|
---|
500 | DEPEND[dtls_mtu_test]=../libcrypto ../libssl libtestutil.a
|
---|
501 | ENDIF
|
---|
502 |
|
---|
503 | IF[{- !$disabled{shared} -}]
|
---|
504 | PROGRAMS{noinst}=shlibloadtest
|
---|
505 | SOURCE[shlibloadtest]=shlibloadtest.c simpledynamic.c
|
---|
506 | INCLUDE[shlibloadtest]=../include ../apps/include
|
---|
507 |
|
---|
508 | PROGRAMS{noinst}=moduleloadtest
|
---|
509 | SOURCE[moduleloadtest]=moduleloadtest.c simpledynamic.c
|
---|
510 | INCLUDE[moduleloadtest]=../include ../apps/include
|
---|
511 | ENDIF
|
---|
512 |
|
---|
513 | # cipher_overhead_test uses internal symbols, so it must be linked with
|
---|
514 | # the static libraries
|
---|
515 | PROGRAMS{noinst}=cipher_overhead_test
|
---|
516 | SOURCE[cipher_overhead_test]=cipher_overhead_test.c
|
---|
517 | INCLUDE[cipher_overhead_test]=.. ../include ../apps/include
|
---|
518 | DEPEND[cipher_overhead_test]=../libcrypto.a ../libssl.a libtestutil.a
|
---|
519 |
|
---|
520 | SOURCE[uitest]=uitest.c ../apps/lib/apps_ui.c
|
---|
521 | INCLUDE[uitest]=.. ../include ../apps/include
|
---|
522 | DEPEND[uitest]=../libcrypto ../libssl libtestutil.a
|
---|
523 |
|
---|
524 | SOURCE[cipherbytes_test]=cipherbytes_test.c
|
---|
525 | INCLUDE[cipherbytes_test]=../include ../apps/include
|
---|
526 | DEPEND[cipherbytes_test]=../libcrypto ../libssl libtestutil.a
|
---|
527 |
|
---|
528 | SOURCE[asn1_encode_test]=asn1_encode_test.c
|
---|
529 | INCLUDE[asn1_encode_test]=../include ../apps/include
|
---|
530 | DEPEND[asn1_encode_test]=../libcrypto libtestutil.a
|
---|
531 |
|
---|
532 | SOURCE[asn1_decode_test]=asn1_decode_test.c
|
---|
533 | INCLUDE[asn1_decode_test]=../include ../apps/include
|
---|
534 | DEPEND[asn1_decode_test]=../libcrypto libtestutil.a
|
---|
535 |
|
---|
536 | SOURCE[asn1_string_table_test]=asn1_string_table_test.c
|
---|
537 | INCLUDE[asn1_string_table_test]=../include ../apps/include
|
---|
538 | DEPEND[asn1_string_table_test]=../libcrypto libtestutil.a
|
---|
539 |
|
---|
540 | SOURCE[time_offset_test]=time_offset_test.c
|
---|
541 | INCLUDE[time_offset_test]=../include ../apps/include
|
---|
542 | DEPEND[time_offset_test]=../libcrypto libtestutil.a
|
---|
543 |
|
---|
544 | SOURCE[conf_include_test]=conf_include_test.c
|
---|
545 | INCLUDE[conf_include_test]=../include ../apps/include
|
---|
546 | DEPEND[conf_include_test]=../libcrypto libtestutil.a
|
---|
547 |
|
---|
548 | IF[{- !$disabled{cmp} -}]
|
---|
549 | PROGRAMS{noinst}=cmp_asn_test cmp_ctx_test cmp_status_test cmp_hdr_test \
|
---|
550 | cmp_protect_test cmp_msg_test cmp_vfy_test \
|
---|
551 | cmp_server_test cmp_client_test
|
---|
552 | ENDIF
|
---|
553 |
|
---|
554 | SOURCE[cmp_asn_test]=cmp_asn_test.c helpers/cmp_testlib.c
|
---|
555 | INCLUDE[cmp_asn_test]=.. ../include ../apps/include
|
---|
556 | DEPEND[cmp_asn_test]=../libcrypto.a libtestutil.a
|
---|
557 |
|
---|
558 | SOURCE[cmp_ctx_test]=cmp_ctx_test.c helpers/cmp_testlib.c
|
---|
559 | INCLUDE[cmp_ctx_test]=.. ../include ../apps/include
|
---|
560 | DEPEND[cmp_ctx_test]=../libcrypto.a libtestutil.a
|
---|
561 |
|
---|
562 | SOURCE[cmp_hdr_test]=cmp_hdr_test.c helpers/cmp_testlib.c
|
---|
563 | INCLUDE[cmp_hdr_test]=.. ../include ../apps/include
|
---|
564 | DEPEND[cmp_hdr_test]=../libcrypto.a libtestutil.a
|
---|
565 |
|
---|
566 | SOURCE[cmp_status_test]=cmp_status_test.c helpers/cmp_testlib.c
|
---|
567 | INCLUDE[cmp_status_test]=.. ../include ../apps/include
|
---|
568 | DEPEND[cmp_status_test]=../libcrypto.a libtestutil.a
|
---|
569 |
|
---|
570 | SOURCE[cmp_protect_test]=cmp_protect_test.c helpers/cmp_testlib.c
|
---|
571 | INCLUDE[cmp_protect_test]=.. ../include ../apps/include
|
---|
572 | DEPEND[cmp_protect_test]=../libcrypto.a libtestutil.a
|
---|
573 |
|
---|
574 | SOURCE[cmp_msg_test]=cmp_msg_test.c helpers/cmp_testlib.c
|
---|
575 | INCLUDE[cmp_msg_test]=.. ../include ../apps/include
|
---|
576 | DEPEND[cmp_msg_test]=../libcrypto.a libtestutil.a
|
---|
577 |
|
---|
578 | SOURCE[cmp_vfy_test]=cmp_vfy_test.c helpers/cmp_testlib.c
|
---|
579 | INCLUDE[cmp_vfy_test]=.. ../include ../apps/include
|
---|
580 | DEPEND[cmp_vfy_test]=../libcrypto.a libtestutil.a
|
---|
581 |
|
---|
582 | SOURCE[cmp_server_test]=cmp_server_test.c helpers/cmp_testlib.c
|
---|
583 | INCLUDE[cmp_server_test]=.. ../include ../apps/include
|
---|
584 | DEPEND[cmp_server_test]=../libcrypto.a libtestutil.a
|
---|
585 |
|
---|
586 | SOURCE[cmp_client_test]=cmp_client_test.c helpers/cmp_testlib.c ../apps/lib/cmp_mock_srv.c
|
---|
587 | INCLUDE[cmp_client_test]=.. ../include ../apps/include
|
---|
588 | DEPEND[cmp_client_test]=../libcrypto.a libtestutil.a
|
---|
589 |
|
---|
590 | # Internal test programs. These are essentially a collection of internal
|
---|
591 | # test routines. Some of them need to reach internal symbols that aren't
|
---|
592 | # available through the shared library (at least on Linux, Solaris, Windows
|
---|
593 | # and VMS, where the exported symbols are those listed in util/*.num), these
|
---|
594 | # programs are forcibly linked with the static libraries, where all symbols
|
---|
595 | # are always available.
|
---|
596 | IF[1]
|
---|
597 | PROGRAMS{noinst}=asn1_internal_test modes_internal_test x509_internal_test \
|
---|
598 | tls13encryptiontest wpackettest ctype_internal_test \
|
---|
599 | rdcpu_sanitytest property_test ideatest rsa_mp_test \
|
---|
600 | rsa_sp800_56b_test bn_internal_test ecdsatest rsa_test \
|
---|
601 | rc2test rc4test rc5test hmactest ffc_internal_test \
|
---|
602 | asn1_dsa_internal_test dsatest dsa_no_digest_size_test \
|
---|
603 | dhtest ssl_old_test
|
---|
604 |
|
---|
605 | IF[{- !$disabled{poly1305} -}]
|
---|
606 | PROGRAMS{noinst}=poly1305_internal_test
|
---|
607 | ENDIF
|
---|
608 | IF[{- !$disabled{chacha} -}]
|
---|
609 | PROGRAMS{noinst}=chacha_internal_test
|
---|
610 | ENDIF
|
---|
611 | IF[{- !$disabled{siphash} -}]
|
---|
612 | PROGRAMS{noinst}=siphash_internal_test
|
---|
613 | ENDIF
|
---|
614 | IF[{- !$disabled{sm2} -}]
|
---|
615 | PROGRAMS{noinst}=sm2_internal_test
|
---|
616 | ENDIF
|
---|
617 | IF[{- !$disabled{sm3} -}]
|
---|
618 | PROGRAMS{noinst}=sm3_internal_test
|
---|
619 | ENDIF
|
---|
620 | IF[{- !$disabled{sm4} -}]
|
---|
621 | PROGRAMS{noinst}=sm4_internal_test
|
---|
622 | ENDIF
|
---|
623 | IF[{- !$disabled{ec} -}]
|
---|
624 | PROGRAMS{noinst}=ectest ec_internal_test curve448_internal_test
|
---|
625 | ENDIF
|
---|
626 | IF[{- !$disabled{cmac} -}]
|
---|
627 | PROGRAMS{noinst}=cmactest
|
---|
628 | ENDIF
|
---|
629 |
|
---|
630 | SOURCE[poly1305_internal_test]=poly1305_internal_test.c
|
---|
631 | INCLUDE[poly1305_internal_test]=.. ../include ../apps/include
|
---|
632 | DEPEND[poly1305_internal_test]=../libcrypto.a libtestutil.a
|
---|
633 |
|
---|
634 | SOURCE[chacha_internal_test]=chacha_internal_test.c
|
---|
635 | INCLUDE[chacha_internal_test]=.. ../include ../apps/include
|
---|
636 | DEPEND[chacha_internal_test]=../libcrypto.a libtestutil.a
|
---|
637 |
|
---|
638 | SOURCE[asn1_internal_test]=asn1_internal_test.c
|
---|
639 | INCLUDE[asn1_internal_test]=.. ../include ../apps/include
|
---|
640 | DEPEND[asn1_internal_test]=../libcrypto.a libtestutil.a
|
---|
641 |
|
---|
642 | SOURCE[modes_internal_test]=modes_internal_test.c
|
---|
643 | INCLUDE[modes_internal_test]=.. ../include ../apps/include
|
---|
644 | DEPEND[modes_internal_test]=../libcrypto.a libtestutil.a
|
---|
645 |
|
---|
646 | SOURCE[x509_internal_test]=x509_internal_test.c
|
---|
647 | INCLUDE[x509_internal_test]=.. ../include ../apps/include
|
---|
648 | DEPEND[x509_internal_test]=../libcrypto.a libtestutil.a
|
---|
649 |
|
---|
650 | SOURCE[rsa_test]=rsa_test.c
|
---|
651 | INCLUDE[rsa_test]=../include ../apps/include
|
---|
652 | DEPEND[rsa_test]=../libcrypto.a libtestutil.a
|
---|
653 |
|
---|
654 | SOURCE[rsa_mp_test]=rsa_mp_test.c
|
---|
655 | INCLUDE[rsa_mp_test]=../include ../apps/include
|
---|
656 | DEPEND[rsa_mp_test]=../libcrypto.a libtestutil.a
|
---|
657 |
|
---|
658 | SOURCE[ecdsatest]=ecdsatest.c
|
---|
659 | INCLUDE[ecdsatest]=../include ../apps/include
|
---|
660 | DEPEND[ecdsatest]=../libcrypto.a libtestutil.a
|
---|
661 |
|
---|
662 | SOURCE[dsatest]=dsatest.c
|
---|
663 | INCLUDE[dsatest]=../include ../apps/include
|
---|
664 | DEPEND[dsatest]=../libcrypto.a libtestutil.a
|
---|
665 |
|
---|
666 | SOURCE[dsa_no_digest_size_test]=dsa_no_digest_size_test.c
|
---|
667 | INCLUDE[dsa_no_digest_size_test]=../include ../apps/include
|
---|
668 | DEPEND[dsa_no_digest_size_test]=../libcrypto.a libtestutil.a
|
---|
669 |
|
---|
670 | SOURCE[tls13encryptiontest]=tls13encryptiontest.c
|
---|
671 | INCLUDE[tls13encryptiontest]=.. ../include ../apps/include
|
---|
672 | DEPEND[tls13encryptiontest]=../libcrypto.a ../libssl.a libtestutil.a
|
---|
673 |
|
---|
674 | SOURCE[ideatest]=ideatest.c
|
---|
675 | INCLUDE[ideatest]=../include ../apps/include
|
---|
676 | DEPEND[ideatest]=../libcrypto.a libtestutil.a
|
---|
677 |
|
---|
678 | SOURCE[wpackettest]=wpackettest.c
|
---|
679 | INCLUDE[wpackettest]=../include ../apps/include
|
---|
680 | DEPEND[wpackettest]=../libcrypto.a ../libssl.a libtestutil.a
|
---|
681 |
|
---|
682 | SOURCE[property_test]=property_test.c
|
---|
683 | INCLUDE[property_test]=.. ../include ../apps/include
|
---|
684 | DEPEND[property_test]=../libcrypto.a libtestutil.a
|
---|
685 |
|
---|
686 | SOURCE[ctype_internal_test]=ctype_internal_test.c
|
---|
687 | INCLUDE[ctype_internal_test]=.. ../include ../apps/include
|
---|
688 | DEPEND[ctype_internal_test]=../libcrypto.a libtestutil.a
|
---|
689 |
|
---|
690 | SOURCE[sparse_array_test]=sparse_array_test.c
|
---|
691 | INCLUDE[sparse_array_test]=../include ../apps/include
|
---|
692 | DEPEND[sparse_array_test]=../libcrypto.a libtestutil.a
|
---|
693 |
|
---|
694 | SOURCE[dhtest]=dhtest.c
|
---|
695 | INCLUDE[dhtest]=../include ../apps/include
|
---|
696 | DEPEND[dhtest]=../libcrypto.a libtestutil.a
|
---|
697 |
|
---|
698 | SOURCE[hmactest]=hmactest.c
|
---|
699 | INCLUDE[hmactest]=../include ../apps/include
|
---|
700 | DEPEND[hmactest]=../libcrypto.a libtestutil.a
|
---|
701 |
|
---|
702 | IF[{- !$disabled{cmac} -}]
|
---|
703 | SOURCE[cmactest]=cmactest.c
|
---|
704 | INCLUDE[cmactest]=../include ../apps/include
|
---|
705 | DEPEND[cmactest]=../libcrypto.a libtestutil.a
|
---|
706 | ENDIF
|
---|
707 |
|
---|
708 | SOURCE[siphash_internal_test]=siphash_internal_test.c
|
---|
709 | INCLUDE[siphash_internal_test]=.. ../include ../apps/include
|
---|
710 | DEPEND[siphash_internal_test]=../libcrypto.a libtestutil.a
|
---|
711 |
|
---|
712 | SOURCE[sm2_internal_test]=sm2_internal_test.c
|
---|
713 | INCLUDE[sm2_internal_test]=../include ../apps/include
|
---|
714 | DEPEND[sm2_internal_test]=../libcrypto.a libtestutil.a
|
---|
715 |
|
---|
716 | SOURCE[sm3_internal_test]=sm3_internal_test.c
|
---|
717 | INCLUDE[sm3_internal_test]=../include ../apps/include
|
---|
718 | DEPEND[sm3_internal_test]=../libcrypto.a libtestutil.a
|
---|
719 |
|
---|
720 | SOURCE[sm4_internal_test]=sm4_internal_test.c
|
---|
721 | INCLUDE[sm4_internal_test]=.. ../include ../apps/include
|
---|
722 | DEPEND[sm4_internal_test]=../libcrypto.a libtestutil.a
|
---|
723 |
|
---|
724 | SOURCE[destest]=destest.c
|
---|
725 | INCLUDE[destest]=../include ../apps/include
|
---|
726 | DEPEND[destest]=../libcrypto.a libtestutil.a
|
---|
727 |
|
---|
728 | SOURCE[rc2test]=rc2test.c
|
---|
729 | INCLUDE[rc2test]=../include ../apps/include
|
---|
730 | DEPEND[rc2test]=../libcrypto.a libtestutil.a
|
---|
731 |
|
---|
732 | SOURCE[rc4test]=rc4test.c
|
---|
733 | INCLUDE[rc4test]=../include ../apps/include
|
---|
734 | DEPEND[rc4test]=../libcrypto.a libtestutil.a
|
---|
735 |
|
---|
736 | SOURCE[rc5test]=rc5test.c
|
---|
737 | INCLUDE[rc5test]=../include ../apps/include
|
---|
738 | DEPEND[rc5test]=../libcrypto.a libtestutil.a
|
---|
739 |
|
---|
740 | SOURCE[ec_internal_test]=ec_internal_test.c $INITSRC
|
---|
741 | INCLUDE[ec_internal_test]=../include ../crypto/ec ../apps/include
|
---|
742 | DEPEND[ec_internal_test]=../libcrypto.a libtestutil.a
|
---|
743 |
|
---|
744 | SOURCE[curve448_internal_test]=curve448_internal_test.c
|
---|
745 | INCLUDE[curve448_internal_test]=.. ../include ../apps/include ../crypto/ec/curve448
|
---|
746 | DEPEND[curve448_internal_test]=../libcrypto.a libtestutil.a
|
---|
747 |
|
---|
748 | SOURCE[rc4test]=rc4test.c
|
---|
749 | INCLUDE[rc4test]=../include ../apps/include
|
---|
750 | DEPEND[rc4test]=../libcrypto.a libtestutil.a
|
---|
751 |
|
---|
752 | SOURCE[rdcpu_sanitytest]=rdcpu_sanitytest.c
|
---|
753 | INCLUDE[rdcpu_sanitytest]=../include ../apps/include ../crypto
|
---|
754 | DEPEND[rdcpu_sanitytest]=../libcrypto.a libtestutil.a
|
---|
755 |
|
---|
756 | SOURCE[rsa_sp800_56b_test]=rsa_sp800_56b_test.c
|
---|
757 | INCLUDE[rsa_sp800_56b_test]=.. ../include ../crypto/rsa ../apps/include
|
---|
758 | DEPEND[rsa_sp800_56b_test]=../libcrypto.a libtestutil.a
|
---|
759 |
|
---|
760 | SOURCE[bn_internal_test]=bn_internal_test.c
|
---|
761 | INCLUDE[bn_internal_test]=.. ../include ../crypto/bn ../apps/include
|
---|
762 | DEPEND[bn_internal_test]=../libcrypto.a libtestutil.a
|
---|
763 |
|
---|
764 | SOURCE[asn1_dsa_internal_test]=asn1_dsa_internal_test.c
|
---|
765 | INCLUDE[asn1_dsa_internal_test]=.. ../include ../apps/include
|
---|
766 | DEPEND[asn1_dsa_internal_test]=../libcrypto.a libtestutil.a
|
---|
767 |
|
---|
768 | SOURCE[keymgmt_internal_test]=keymgmt_internal_test.c
|
---|
769 | INCLUDE[keymgmt_internal_test]=.. ../include ../apps/include
|
---|
770 | DEPEND[keymgmt_internal_test]=../libcrypto.a libtestutil.a
|
---|
771 |
|
---|
772 | SOURCE[ffc_internal_test]=ffc_internal_test.c
|
---|
773 | INCLUDE[ffc_internal_test]=.. ../include ../apps/include
|
---|
774 | DEPEND[ffc_internal_test]=../libcrypto.a libtestutil.a
|
---|
775 |
|
---|
776 | IF[{- !$disabled{mdc2} -}]
|
---|
777 | PROGRAMS{noinst}=mdc2_internal_test
|
---|
778 | ENDIF
|
---|
779 |
|
---|
780 | SOURCE[mdc2_internal_test]=mdc2_internal_test.c
|
---|
781 | INCLUDE[mdc2_internal_test]=.. ../include ../apps/include
|
---|
782 | DEPEND[mdc2_internal_test]=../libcrypto.a libtestutil.a
|
---|
783 |
|
---|
784 | SOURCE[ssl_old_test]=ssl_old_test.c helpers/predefined_dhparams.c
|
---|
785 | INCLUDE[ssl_old_test]=.. ../include ../apps/include
|
---|
786 | DEPEND[ssl_old_test]=../libcrypto.a ../libssl.a libtestutil.a
|
---|
787 |
|
---|
788 | PROGRAMS{noinst}=ext_internal_test
|
---|
789 | SOURCE[ext_internal_test]=ext_internal_test.c
|
---|
790 | INCLUDE[ext_internal_test]=.. ../include ../apps/include
|
---|
791 | DEPEND[ext_internal_test]=../libcrypto.a ../libssl.a libtestutil.a
|
---|
792 |
|
---|
793 | PROGRAMS{noinst}=algorithmid_test
|
---|
794 | SOURCE[algorithmid_test]=algorithmid_test.c
|
---|
795 | INCLUDE[algorithmid_test]=../include ../apps/include
|
---|
796 | DEPEND[algorithmid_test]=../libcrypto.a libtestutil.a
|
---|
797 | ENDIF
|
---|
798 |
|
---|
799 | PROGRAMS{noinst}=asn1_time_test
|
---|
800 | SOURCE[asn1_time_test]=asn1_time_test.c
|
---|
801 | INCLUDE[asn1_time_test]=../include ../apps/include
|
---|
802 | DEPEND[asn1_time_test]=../libcrypto libtestutil.a
|
---|
803 |
|
---|
804 | # We disable this test completely in a shared build because it deliberately
|
---|
805 | # redefines some internal libssl symbols. This doesn't work in a non-shared
|
---|
806 | # build
|
---|
807 | IF[{- !$disabled{shared} -}]
|
---|
808 | PROGRAMS{noinst}=tls13secretstest
|
---|
809 | SOURCE[tls13secretstest]=tls13secretstest.c
|
---|
810 | DEFINE[tls13secretstest]=OPENSSL_NO_KTLS
|
---|
811 | SOURCE[tls13secretstest]= ../ssl/tls13_enc.c ../crypto/packet.c
|
---|
812 | INCLUDE[tls13secretstest]=.. ../include ../apps/include
|
---|
813 | DEPEND[tls13secretstest]=../libcrypto ../libssl libtestutil.a
|
---|
814 | ENDIF
|
---|
815 |
|
---|
816 | SOURCE[sslbuffertest]=sslbuffertest.c helpers/ssltestlib.c
|
---|
817 | INCLUDE[sslbuffertest]=../include ../apps/include
|
---|
818 | DEPEND[sslbuffertest]=../libcrypto ../libssl libtestutil.a
|
---|
819 |
|
---|
820 | SOURCE[sysdefaulttest]=sysdefaulttest.c
|
---|
821 | INCLUDE[sysdefaulttest]=../include ../apps/include
|
---|
822 | DEPEND[sysdefaulttest]=../libcrypto ../libssl libtestutil.a
|
---|
823 |
|
---|
824 | SOURCE[errtest]=errtest.c
|
---|
825 | INCLUDE[errtest]=../include ../apps/include
|
---|
826 | DEPEND[errtest]=../libcrypto libtestutil.a
|
---|
827 |
|
---|
828 | SOURCE[aesgcmtest]=aesgcmtest.c
|
---|
829 | INCLUDE[aesgcmtest]=../include ../apps/include ..
|
---|
830 | DEPEND[aesgcmtest]=../libcrypto libtestutil.a
|
---|
831 |
|
---|
832 | PROGRAMS{noinst}=context_internal_test
|
---|
833 | SOURCE[context_internal_test]=context_internal_test.c
|
---|
834 | INCLUDE[context_internal_test]=.. ../include ../apps/include
|
---|
835 | DEPEND[context_internal_test]=../libcrypto.a libtestutil.a
|
---|
836 |
|
---|
837 | PROGRAMS{noinst}=provider_internal_test
|
---|
838 | DEFINE[provider_internal_test]=PROVIDER_INIT_FUNCTION_NAME=p_test_init
|
---|
839 | SOURCE[provider_internal_test]=provider_internal_test.c p_test.c
|
---|
840 | INCLUDE[provider_internal_test]=../include ../apps/include ..
|
---|
841 | DEPEND[provider_internal_test]=../libcrypto.a libtestutil.a
|
---|
842 | PROGRAMS{noinst}=provider_test
|
---|
843 | DEFINE[provider_test]=PROVIDER_INIT_FUNCTION_NAME=p_test_init
|
---|
844 | SOURCE[provider_test]=provider_test.c p_test.c
|
---|
845 | INCLUDE[provider_test]=../include ../apps/include ..
|
---|
846 | DEPEND[provider_test]=../libcrypto.a libtestutil.a
|
---|
847 | IF[{- !$disabled{module} -}]
|
---|
848 | MODULES{noinst}=p_test
|
---|
849 | SOURCE[p_test]=p_test.c
|
---|
850 | INCLUDE[p_test]=../include ..
|
---|
851 | IF[{- defined $target{shared_defflag} -}]
|
---|
852 | SOURCE[p_test]=p_test.ld
|
---|
853 | GENERATE[p_test.ld]=../util/providers.num
|
---|
854 | ENDIF
|
---|
855 | ENDIF
|
---|
856 | IF[{- $disabled{module} || !$target{dso_scheme} -}]
|
---|
857 | DEFINE[provider_test]=NO_PROVIDER_MODULE
|
---|
858 | DEFINE[provider_internal_test]=NO_PROVIDER_MODULE
|
---|
859 | ENDIF
|
---|
860 | DEPEND[]=provider_internal_test.cnf
|
---|
861 | GENERATE[provider_internal_test.cnf]=provider_internal_test.cnf.in
|
---|
862 |
|
---|
863 | PROGRAMS{noinst}=provider_fallback_test
|
---|
864 | SOURCE[provider_fallback_test]=provider_fallback_test.c
|
---|
865 | INCLUDE[provider_fallback_test]=../include ../apps/include
|
---|
866 | DEPEND[provider_fallback_test]=../libcrypto libtestutil.a
|
---|
867 |
|
---|
868 | PROGRAMS{noinst}=provider_pkey_test
|
---|
869 | SOURCE[provider_pkey_test]=provider_pkey_test.c fake_rsaprov.c
|
---|
870 | INCLUDE[provider_pkey_test]=../include ../apps/include
|
---|
871 | DEPEND[provider_pkey_test]=../libcrypto libtestutil.a
|
---|
872 |
|
---|
873 | PROGRAMS{noinst}=params_test
|
---|
874 | SOURCE[params_test]=params_test.c
|
---|
875 | INCLUDE[params_test]=.. ../include ../apps/include
|
---|
876 | DEPEND[params_test]=../libcrypto.a libtestutil.a
|
---|
877 |
|
---|
878 | PROGRAMS{noinst}=hexstr_test
|
---|
879 | SOURCE[hexstr_test]=hexstr_test.c
|
---|
880 | INCLUDE[hexstr_test]=.. ../include ../apps/include
|
---|
881 | DEPEND[hexstr_test]=../libcrypto.a libtestutil.a
|
---|
882 |
|
---|
883 | PROGRAMS{noinst}=trace_api_test
|
---|
884 | SOURCE[trace_api_test]=trace_api_test.c
|
---|
885 | INCLUDE[trace_api_test]=.. ../include ../apps/include
|
---|
886 | DEPEND[trace_api_test]=../libcrypto.a libtestutil.a
|
---|
887 |
|
---|
888 | PROGRAMS{noinst}=endecode_test
|
---|
889 | SOURCE[endecode_test]=endecode_test.c helpers/predefined_dhparams.c
|
---|
890 | INCLUDE[endecode_test]=.. ../include ../apps/include
|
---|
891 | DEPEND[endecode_test]=../libcrypto.a libtestutil.a
|
---|
892 | IF[{- !$disabled{module} && !$disabled{legacy} -}]
|
---|
893 | DEFINE[endecode_test]=STATIC_LEGACY
|
---|
894 | SOURCE[endecode_test]=../providers/legacyprov.c
|
---|
895 | INCLUDE[endecode_test]=../providers/common/include \
|
---|
896 | ../providers/implementations/include
|
---|
897 | DEPEND[endecode_test]=../providers/liblegacy.a \
|
---|
898 | ../providers/libcommon.a
|
---|
899 | ENDIF
|
---|
900 |
|
---|
901 | IF[{- !$disabled{'deprecated-3.0'} -}]
|
---|
902 | PROGRAMS{noinst}=endecoder_legacy_test
|
---|
903 | SOURCE[endecoder_legacy_test]=endecoder_legacy_test.c
|
---|
904 | INCLUDE[endecoder_legacy_test]=.. ../include ../apps/include
|
---|
905 | DEPEND[endecoder_legacy_test]=../libcrypto.a libtestutil.a
|
---|
906 | ENDIF
|
---|
907 |
|
---|
908 | PROGRAMS{noinst}=namemap_internal_test
|
---|
909 | SOURCE[namemap_internal_test]=namemap_internal_test.c
|
---|
910 | INCLUDE[namemap_internal_test]=.. ../include ../apps/include
|
---|
911 | DEPEND[namemap_internal_test]=../libcrypto.a libtestutil.a
|
---|
912 |
|
---|
913 | PROGRAMS{noinst}=bio_prefix_text
|
---|
914 | SOURCE[bio_prefix_text]=bio_prefix_text.c
|
---|
915 | INCLUDE[bio_prefix_text]=.. ../include ../apps/include
|
---|
916 | DEPEND[bio_prefix_text]=../libcrypto libtestutil.a
|
---|
917 |
|
---|
918 | IF[{- !$disabled{'deprecated-3.0'} -}]
|
---|
919 | PROGRAMS{noinst}=pem_read_depr_test
|
---|
920 | SOURCE[pem_read_depr_test]=pem_read_depr_test.c
|
---|
921 | INCLUDE[pem_read_depr_test]=../include ../apps/include
|
---|
922 | DEPEND[pem_read_depr_test]=../libcrypto libtestutil.a
|
---|
923 | ENDIF
|
---|
924 | ENDIF
|
---|
925 |
|
---|
926 | SOURCE[ssl_ctx_test]=ssl_ctx_test.c
|
---|
927 | INCLUDE[ssl_ctx_test]=../include ../apps/include
|
---|
928 | DEPEND[ssl_ctx_test]=../libcrypto ../libssl libtestutil.a
|
---|
929 |
|
---|
930 | SOURCE[build_wincrypt_test]=build_wincrypt_test.c
|
---|
931 | INCLUDE[build_wincrypt_test]=../include
|
---|
932 | DEPEND[build_wincrypt_test]=../libssl ../libcrypto
|
---|
933 |
|
---|
934 | IF[{- !$disabled{shared} -}]
|
---|
935 | PROGRAMS{noinst}=timing_load_creds
|
---|
936 | SOURCE[timing_load_creds]=timing_load_creds.c
|
---|
937 | INCLUDE[timing_load_creds]=../include
|
---|
938 | DEPEND[timing_load_creds]=../libcrypto.a
|
---|
939 | ENDIF
|
---|
940 |
|
---|
941 | {-
|
---|
942 | use File::Spec::Functions;
|
---|
943 | use File::Basename;
|
---|
944 | use OpenSSL::Glob;
|
---|
945 |
|
---|
946 | my @nogo_headers = ( "asn1_mac.h",
|
---|
947 | "opensslconf.h",
|
---|
948 | "__decc_include_prologue.h",
|
---|
949 | "__decc_include_epilogue.h" );
|
---|
950 | my @nogo_headers_re = ( qr/.*err\.h/ );
|
---|
951 | my @headerfiles = glob catfile($sourcedir,
|
---|
952 | updir(), "include", "openssl", "*.h");
|
---|
953 |
|
---|
954 | foreach my $headerfile (@headerfiles) {
|
---|
955 | my $name = basename($headerfile, ".h");
|
---|
956 | next if $disabled{$name};
|
---|
957 | next if grep { $_ eq lc("$name.h") } @nogo_headers;
|
---|
958 | next if grep { lc("$name.h") =~ m/$_/i } @nogo_headers_re;
|
---|
959 | $OUT .= <<"_____";
|
---|
960 |
|
---|
961 | PROGRAMS{noinst}=buildtest_c_$name
|
---|
962 | SOURCE[buildtest_c_$name]=buildtest_$name.c
|
---|
963 | GENERATE[buildtest_$name.c]=generate_buildtest.pl $name
|
---|
964 | INCLUDE[buildtest_c_$name]=../include
|
---|
965 | DEPEND[buildtest_c_$name]=../libssl ../libcrypto
|
---|
966 | _____
|
---|
967 | $OUT .= <<"_____" if $config{CXX} && !$disabled{"buildtest-c++"};
|
---|
968 |
|
---|
969 | PROGRAMS{noinst}=buildtest_cc_$name
|
---|
970 | SOURCE[buildtest_cc_$name]=buildtest_$name.cc
|
---|
971 | GENERATE[buildtest_$name.cc]=generate_buildtest.pl $name
|
---|
972 | INCLUDE[buildtest_cc_$name]=../include
|
---|
973 | DEPEND[buildtest_cc_$name]=../libssl ../libcrypto
|
---|
974 | _____
|
---|
975 | }
|
---|
976 | -}
|
---|