| 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 |
|
| 8 |
IF[{- !$disabled{hqinterop} -}] |
| 9 |
SUBDIRS=quic-openssl-docker |
| 10 |
ENDIF |
| 11 |
|
| 12 |
# Auxiliary program source (copied from ../apps/build.info) |
| 13 |
IF[{- $config{target} =~ /^(?:VC-|mingw|BC-)/ -}] |
| 14 |
# It's called 'init', but doesn't have much 'init' in it... |
| 15 |
$AUXLIBAPPSSRC=../apps/lib/win32_init.c |
| 16 |
ENDIF |
| 17 |
IF[{- $config{target} =~ /^vms-/ -}] |
| 18 |
$AUXLIBAPPSSRC=../apps/lib/vms_term_sock.c ../apps/lib/vms_decc_argv.c |
| 19 |
ENDIF |
| 20 |
# Program init source, that don't have direct linkage with the rest of the |
| 21 |
# source, and can therefore not be part of a library. |
| 22 |
IF[{- !$disabled{uplink} -}] |
| 23 |
$INITSRC=../ms/applink.c |
| 24 |
ENDIF |
| 25 |
$LIBAPPSSRC=../apps/lib/opt.c $AUXLIBAPPSSRC |
| 26 |
|
| 27 |
IF[{- !$disabled{tests} -}] |
| 28 |
LIBS{noinst,has_main}=libtestutil.a |
| 29 |
SOURCE[libtestutil.a]=testutil/basic_output.c testutil/output.c \ |
| 30 |
testutil/driver.c testutil/tests.c testutil/cb.c testutil/stanza.c \ |
| 31 |
testutil/format_output.c testutil/load.c testutil/fake_random.c \ |
| 32 |
testutil/test_cleanup.c testutil/main.c testutil/testutil_init.c \ |
| 33 |
testutil/options.c testutil/test_options.c testutil/provider.c \ |
| 34 |
testutil/apps_shims.c testutil/random.c testutil/helper.c \ |
| 35 |
testutil/compare.c $LIBAPPSSRC |
| 36 |
INCLUDE[libtestutil.a]=../include ../apps/include .. |
| 37 |
DEPEND[libtestutil.a]=../libcrypto |
| 38 |
|
| 39 |
PROGRAMS{noinst}= \ |
| 40 |
confdump \ |
| 41 |
versions \ |
| 42 |
aborttest test_test pkcs12_format_test pkcs12_api_test \ |
| 43 |
sanitytest time_test rsa_complex exdatatest bntest \ |
| 44 |
ecstresstest gmdifftest pbelutest \ |
| 45 |
destest mdc2test sha_test \ |
| 46 |
exptest pbetest localetest evp_pkey_ctx_new_from_name \ |
| 47 |
evp_pkey_provided_test evp_test evp_extra_test evp_extra_test2 \ |
| 48 |
evp_fetch_prov_test evp_libctx_test ossl_store_test \ |
| 49 |
v3nametest v3ext byteorder_test punycode_test evp_byname_test \ |
| 50 |
crltest danetest bad_dtls_test lhash_test sparse_array_test \ |
| 51 |
conf_include_test params_api_test params_conversion_test \ |
| 52 |
constant_time_test safe_math_test verify_extra_test clienthellotest \ |
| 53 |
packettest asynctest secmemtest srptest memleaktest stack_test \ |
| 54 |
dtlsv1listentest ct_test threadstest afalgtest d2i_test \ |
| 55 |
ssl_test_ctx_test ssl_test x509aux cipherlist_test asynciotest \ |
| 56 |
bio_callback_test bio_memleak_test bio_core_test bio_dgram_test param_build_test \ |
| 57 |
bioprinttest sslapitest ssl_handshake_rtt_test dtlstest sslcorrupttest \ |
| 58 |
bio_base64_test bio_enc_test pkey_meth_test pkey_meth_kdf_test evp_kdf_test uitest \ |
| 59 |
cipherbytes_test threadstest_fips threadpool_test \ |
| 60 |
asn1_encode_test asn1_decode_test asn1_string_table_test asn1_stable_parse_test \ |
| 61 |
x509_time_test x509_dup_cert_test x509_check_cert_pkey_test \ |
| 62 |
recordlentest drbgtest rand_status_test sslbuffertest \ |
| 63 |
time_offset_test pemtest ssl_cert_table_internal_test ciphername_test \ |
| 64 |
servername_test ocspapitest fatalerrtest tls13ccstest \ |
| 65 |
sysdefaulttest errtest ssl_ctx_test build_wincrypt_test \ |
| 66 |
context_internal_test aesgcmtest params_test evp_pkey_dparams_test \ |
| 67 |
keymgmt_internal_test hexstr_test provider_status_test defltfips_test \ |
| 68 |
bio_readbuffer_test user_property_test pkcs7_test upcallstest \ |
| 69 |
provfetchtest prov_config_test rand_test \ |
| 70 |
ca_internals_test bio_tfo_test membio_test bio_dgram_test list_test \ |
| 71 |
fips_version_test x509_test hpke_test pairwise_fail_test \ |
| 72 |
nodefltctxtest evp_xof_test x509_load_cert_file_test bio_meth_test \ |
| 73 |
x509_acert_test x509_req_test strtoultest bio_pw_callback_test |
| 74 |
|
| 75 |
IF[{- !$disabled{'rpk'} -}] |
| 76 |
PROGRAMS{noinst}=rpktest |
| 77 |
ENDIF |
| 78 |
|
| 79 |
IF[{- !$disabled{'allocfail-tests'} -}] |
| 80 |
PROGRAMS{noinst}=handshake-memfail load_key_certs_crls_memfail |
| 81 |
ENDIF |
| 82 |
|
| 83 |
IF[{- !$disabled{'deprecated-3.0'} -}] |
| 84 |
PROGRAMS{noinst}=enginetest |
| 85 |
ENDIF |
| 86 |
|
| 87 |
IF[{- !$disabled{quic} -}] |
| 88 |
PROGRAMS{noinst}=priority_queue_test quicfaultstest quicapitest \ |
| 89 |
quic_newcid_test quic_srt_gen_test |
| 90 |
ENDIF |
| 91 |
|
| 92 |
IF[{- !$disabled{qlog} -}] |
| 93 |
PROGRAMS{noinst}=json_test quic_qlog_test |
| 94 |
ENDIF |
| 95 |
|
| 96 |
IF[{- !$disabled{comp} && (!$disabled{brotli} || !$disabled{zstd} || !$disabled{zlib}) -}] |
| 97 |
PROGRAMS{noinst}=cert_comp_test |
| 98 |
ENDIF |
| 99 |
|
| 100 |
SOURCE[confdump]=confdump.c |
| 101 |
INCLUDE[confdump]=../include ../apps/include |
| 102 |
DEPEND[confdump]=../libcrypto |
| 103 |
|
| 104 |
SOURCE[versions]=versions.c |
| 105 |
INCLUDE[versions]=../include ../apps/include |
| 106 |
DEPEND[versions]=../libcrypto |
| 107 |
|
| 108 |
SOURCE[aborttest]=aborttest.c |
| 109 |
INCLUDE[aborttest]=../include ../apps/include |
| 110 |
DEPEND[aborttest]=../libcrypto |
| 111 |
|
| 112 |
SOURCE[sanitytest]=sanitytest.c |
| 113 |
INCLUDE[sanitytest]=../include ../apps/include |
| 114 |
DEPEND[sanitytest]=../libcrypto.a libtestutil.a |
| 115 |
|
| 116 |
SOURCE[time_test]=time_test.c |
| 117 |
INCLUDE[time_test]=../include ../apps/include |
| 118 |
DEPEND[time_test]=../libcrypto libtestutil.a |
| 119 |
|
| 120 |
SOURCE[rand_test]=rand_test.c |
| 121 |
INCLUDE[rand_test]=../include ../apps/include |
| 122 |
DEPEND[rand_test]=../libcrypto.a libtestutil.a |
| 123 |
|
| 124 |
SOURCE[rsa_complex]=rsa_complex.c |
| 125 |
INCLUDE[rsa_complex]=../include ../apps/include |
| 126 |
|
| 127 |
SOURCE[test_test]=test_test.c |
| 128 |
INCLUDE[test_test]=../include ../apps/include |
| 129 |
DEPEND[test_test]=../libcrypto libtestutil.a |
| 130 |
|
| 131 |
SOURCE[exdatatest]=exdatatest.c |
| 132 |
INCLUDE[exdatatest]=../include ../apps/include |
| 133 |
DEPEND[exdatatest]=../libcrypto libtestutil.a |
| 134 |
|
| 135 |
SOURCE[bntest]=bntest.c |
| 136 |
INCLUDE[bntest]=../include ../apps/include |
| 137 |
DEPEND[bntest]=../libcrypto libtestutil.a |
| 138 |
|
| 139 |
SOURCE[ectest]=ectest.c |
| 140 |
INCLUDE[ectest]=../include ../apps/include |
| 141 |
DEPEND[ectest]=../libcrypto.a libtestutil.a |
| 142 |
|
| 143 |
SOURCE[ecstresstest]=ecstresstest.c |
| 144 |
INCLUDE[ecstresstest]=../include ../apps/include |
| 145 |
DEPEND[ecstresstest]=../libcrypto libtestutil.a |
| 146 |
|
| 147 |
SOURCE[gmdifftest]=gmdifftest.c |
| 148 |
INCLUDE[gmdifftest]=../include ../apps/include |
| 149 |
DEPEND[gmdifftest]=../libcrypto libtestutil.a |
| 150 |
|
| 151 |
SOURCE[pbelutest]=pbelutest.c |
| 152 |
INCLUDE[pbelutest]=../include ../apps/include |
| 153 |
DEPEND[pbelutest]=../libcrypto libtestutil.a |
| 154 |
|
| 155 |
SOURCE[mdc2test]=mdc2test.c |
| 156 |
INCLUDE[mdc2test]=../include ../apps/include |
| 157 |
DEPEND[mdc2test]=../libcrypto libtestutil.a |
| 158 |
|
| 159 |
SOURCE[sha_test]=sha_test.c |
| 160 |
INCLUDE[sha_test]=../include ../apps/include |
| 161 |
DEPEND[sha_test]=../libcrypto libtestutil.a |
| 162 |
|
| 163 |
SOURCE[enginetest]=enginetest.c |
| 164 |
INCLUDE[enginetest]=../include ../apps/include |
| 165 |
DEPEND[enginetest]=../libcrypto libtestutil.a |
| 166 |
|
| 167 |
SOURCE[exptest]=exptest.c |
| 168 |
INCLUDE[exptest]=../include ../apps/include |
| 169 |
DEPEND[exptest]=../libcrypto libtestutil.a |
| 170 |
|
| 171 |
SOURCE[localetest]=localetest.c |
| 172 |
INCLUDE[localetest]=../include ../apps/include |
| 173 |
DEPEND[localetest]=../libcrypto libtestutil.a |
| 174 |
|
| 175 |
SOURCE[evp_pkey_ctx_new_from_name]=evp_pkey_ctx_new_from_name.c |
| 176 |
INCLUDE[evp_pkey_ctx_new_from_name]=../include ../apps/include |
| 177 |
DEPEND[evp_pkey_ctx_new_from_name]=../libcrypto |
| 178 |
|
| 179 |
SOURCE[pbetest]=pbetest.c |
| 180 |
INCLUDE[pbetest]=../include ../apps/include |
| 181 |
DEPEND[pbetest]=../libcrypto libtestutil.a |
| 182 |
|
| 183 |
SOURCE[fatalerrtest]=fatalerrtest.c helpers/ssltestlib.c |
| 184 |
INCLUDE[fatalerrtest]=../include ../apps/include |
| 185 |
DEPEND[fatalerrtest]=../libcrypto ../libssl libtestutil.a |
| 186 |
|
| 187 |
SOURCE[tls13ccstest]=tls13ccstest.c helpers/ssltestlib.c |
| 188 |
INCLUDE[tls13ccstest]=../include ../apps/include |
| 189 |
DEPEND[tls13ccstest]=../libcrypto ../libssl libtestutil.a |
| 190 |
|
| 191 |
IF[{- !$disabled{ecx} && !$disabled{tls} && !$disabled{tls1_3} -}] |
| 192 |
PROGRAMS{noinst}=tls13groupselection_test |
| 193 |
SOURCE[tls13groupselection_test]=tls13groupselection_test.c helpers/ssltestlib.c |
| 194 |
INCLUDE[tls13groupselection_test]=../include ../apps/include |
| 195 |
DEPEND[tls13groupselection_test]=../libcrypto ../libssl libtestutil.a |
| 196 |
ENDIF |
| 197 |
|
| 198 |
SOURCE[upcallstest]=upcallstest.c |
| 199 |
INCLUDE[upcallstest]=../include ../apps/include |
| 200 |
DEPEND[upcallstest]=../libcrypto libtestutil.a |
| 201 |
|
| 202 |
SOURCE[user_property_test]=user_property_test.c |
| 203 |
INCLUDE[user_property_test]=../include ../apps/include |
| 204 |
DEPEND[user_property_test]=../libcrypto libtestutil.a |
| 205 |
|
| 206 |
SOURCE[evp_test]=evp_test.c |
| 207 |
INCLUDE[evp_test]=../include ../apps/include |
| 208 |
DEPEND[evp_test]=../libcrypto libtestutil.a |
| 209 |
IF[{- $disabled{legacy} || !$target{dso_scheme} -}] |
| 210 |
DEFINE[evp_test]=NO_LEGACY_MODULE |
| 211 |
ENDIF |
| 212 |
|
| 213 |
SOURCE[evp_extra_test]=evp_extra_test.c fake_rsaprov.c fake_pipelineprov.c |
| 214 |
INCLUDE[evp_extra_test]=../include ../apps/include \ |
| 215 |
../providers/common/include \ |
| 216 |
../providers/implementations/include |
| 217 |
DEPEND[evp_extra_test]=../libcrypto.a libtestutil.a |
| 218 |
IF[{- !$disabled{module} && !$disabled{legacy} -}] |
| 219 |
DEFINE[evp_extra_test]=STATIC_LEGACY |
| 220 |
SOURCE[evp_extra_test]=../providers/legacyprov.c |
| 221 |
DEPEND[evp_extra_test]=../providers/liblegacy.a \ |
| 222 |
../providers/libcommon.a |
| 223 |
ENDIF |
| 224 |
|
| 225 |
SOURCE[hpke_test]=hpke_test.c |
| 226 |
INCLUDE[hpke_test]=../include ../apps/include |
| 227 |
DEPEND[hpke_test]=../libcrypto libtestutil.a |
| 228 |
|
| 229 |
IF[{- !$disabled{'lms'} -}] |
| 230 |
PROGRAMS{noinst}=lms_test |
| 231 |
SOURCE[lms_test]=lms_test.c |
| 232 |
INCLUDE[lms_test]=../include ../apps/include |
| 233 |
DEPEND[lms_test]=../libcrypto.a libtestutil.a |
| 234 |
ENDIF |
| 235 |
|
| 236 |
SOURCE[evp_extra_test2]=evp_extra_test2.c $INITSRC tls-provider.c |
| 237 |
INCLUDE[evp_extra_test2]=../include ../apps/include |
| 238 |
DEPEND[evp_extra_test2]=../libcrypto libtestutil.a |
| 239 |
|
| 240 |
SOURCE[evp_libctx_test]=evp_libctx_test.c |
| 241 |
INCLUDE[evp_libctx_test]=../include ../apps/include |
| 242 |
DEPEND[evp_libctx_test]=../libcrypto.a libtestutil.a |
| 243 |
|
| 244 |
SOURCE[evp_fetch_prov_test]=evp_fetch_prov_test.c |
| 245 |
INCLUDE[evp_fetch_prov_test]=../include ../apps/include |
| 246 |
DEPEND[evp_fetch_prov_test]=../libcrypto libtestutil.a |
| 247 |
|
| 248 |
SOURCE[provfetchtest]=provfetchtest.c |
| 249 |
INCLUDE[provfetchtest]=../include ../apps/include |
| 250 |
DEPEND[provfetchtest]=../libcrypto libtestutil.a |
| 251 |
|
| 252 |
SOURCE[prov_config_test]=prov_config_test.c |
| 253 |
INCLUDE[prov_config_test]=../include ../apps/include |
| 254 |
DEPEND[prov_config_test]=../libcrypto libtestutil.a |
| 255 |
|
| 256 |
SOURCE[evp_pkey_provided_test]=evp_pkey_provided_test.c |
| 257 |
INCLUDE[evp_pkey_provided_test]=../include ../apps/include |
| 258 |
DEPEND[evp_pkey_provided_test]=../libcrypto.a libtestutil.a |
| 259 |
|
| 260 |
IF[{- !$disabled{'acvp-tests'} -}] |
| 261 |
PROGRAMS{noinst}=acvp_test |
| 262 |
|
| 263 |
SOURCE[acvp_test]=acvp_test.c |
| 264 |
INCLUDE[acvp_test]=../include ../apps/include |
| 265 |
DEPEND[acvp_test]=../libcrypto libtestutil.a |
| 266 |
ENDIF |
| 267 |
|
| 268 |
SOURCE[ossl_store_test]=ossl_store_test.c |
| 269 |
INCLUDE[ossl_store_test]=../include ../apps/include |
| 270 |
DEPEND[ossl_store_test]=../libcrypto libtestutil.a |
| 271 |
|
| 272 |
SOURCE[provider_status_test]=provider_status_test.c |
| 273 |
INCLUDE[provider_status_test]=../include ../apps/include |
| 274 |
DEPEND[provider_status_test]=../libcrypto libtestutil.a |
| 275 |
|
| 276 |
SOURCE[pairwise_fail_test]=pairwise_fail_test.c |
| 277 |
INCLUDE[pairwise_fail_test]=../include ../apps/include |
| 278 |
DEPEND[pairwise_fail_test]=../libcrypto libtestutil.a |
| 279 |
|
| 280 |
SOURCE[nodefltctxtest]=nodefltctxtest.c |
| 281 |
INCLUDE[nodefltctxtest]=../include ../apps/include |
| 282 |
DEPEND[nodefltctxtest]=../libcrypto libtestutil.a |
| 283 |
|
| 284 |
SOURCE[evp_pkey_dhkem_test]=evp_pkey_dhkem_test.c |
| 285 |
INCLUDE[evp_pkey_dhkem_test]=../include ../apps/include |
| 286 |
DEPEND[evp_pkey_dhkem_test]=../libcrypto libtestutil.a |
| 287 |
|
| 288 |
IF[{- !$disabled{'slh-dsa'} -}] |
| 289 |
PROGRAMS{noinst}=slh_dsa_test |
| 290 |
SOURCE[slh_dsa_test]=slh_dsa_test.c |
| 291 |
INCLUDE[slh_dsa_test]=../include ../apps/include |
| 292 |
DEPEND[slh_dsa_test]=../libcrypto libtestutil.a |
| 293 |
ENDIF |
| 294 |
|
| 295 |
IF[{- !$disabled{'deprecated-3.0'} -}] |
| 296 |
PROGRAMS{noinst}=igetest bftest casttest |
| 297 |
|
| 298 |
SOURCE[igetest]=igetest.c |
| 299 |
INCLUDE[igetest]=../include ../apps/include |
| 300 |
DEPEND[igetest]=../libcrypto libtestutil.a |
| 301 |
|
| 302 |
SOURCE[bftest]=bftest.c |
| 303 |
INCLUDE[bftest]=../include ../apps/include |
| 304 |
DEPEND[bftest]=../libcrypto libtestutil.a |
| 305 |
|
| 306 |
SOURCE[casttest]=casttest.c |
| 307 |
INCLUDE[casttest]=../include ../apps/include |
| 308 |
DEPEND[casttest]=../libcrypto libtestutil.a |
| 309 |
ENDIF |
| 310 |
|
| 311 |
IF[{- !$disabled{'ml-dsa'} -}] |
| 312 |
PROGRAMS{noinst}=ml_dsa_test |
| 313 |
SOURCE[ml_dsa_test]=ml_dsa_test.c |
| 314 |
INCLUDE[ml_dsa_test]=../include ../apps/include |
| 315 |
DEPEND[ml_dsa_test]=../libcrypto.a libtestutil.a |
| 316 |
ENDIF |
| 317 |
|
| 318 |
SOURCE[v3nametest]=v3nametest.c |
| 319 |
INCLUDE[v3nametest]=../include ../apps/include |
| 320 |
DEPEND[v3nametest]=../libcrypto libtestutil.a |
| 321 |
|
| 322 |
SOURCE[crltest]=crltest.c |
| 323 |
INCLUDE[crltest]=../include ../apps/include |
| 324 |
DEPEND[crltest]=../libcrypto libtestutil.a |
| 325 |
|
| 326 |
SOURCE[v3ext]=v3ext.c |
| 327 |
INCLUDE[v3ext]=../include ../apps/include |
| 328 |
DEPEND[v3ext]=../libcrypto libtestutil.a |
| 329 |
|
| 330 |
SOURCE[danetest]=danetest.c |
| 331 |
INCLUDE[danetest]=../include ../apps/include |
| 332 |
DEPEND[danetest]=../libcrypto ../libssl libtestutil.a |
| 333 |
|
| 334 |
SOURCE[constant_time_test]=constant_time_test.c |
| 335 |
INCLUDE[constant_time_test]=../include ../apps/include |
| 336 |
DEPEND[constant_time_test]=../libcrypto libtestutil.a |
| 337 |
|
| 338 |
SOURCE[safe_math_test]=safe_math_test.c |
| 339 |
INCLUDE[safe_math_test]=../include ../apps/include |
| 340 |
DEPEND[safe_math_test]=../libcrypto libtestutil.a |
| 341 |
|
| 342 |
SOURCE[verify_extra_test]=verify_extra_test.c |
| 343 |
INCLUDE[verify_extra_test]=../include ../apps/include |
| 344 |
DEPEND[verify_extra_test]=../libcrypto libtestutil.a |
| 345 |
|
| 346 |
SOURCE[clienthellotest]=clienthellotest.c |
| 347 |
INCLUDE[clienthellotest]=../include ../apps/include |
| 348 |
DEPEND[clienthellotest]=../libcrypto ../libssl libtestutil.a |
| 349 |
|
| 350 |
SOURCE[bad_dtls_test]=bad_dtls_test.c |
| 351 |
INCLUDE[bad_dtls_test]=../include ../apps/include |
| 352 |
DEPEND[bad_dtls_test]=../libcrypto ../libssl libtestutil.a |
| 353 |
|
| 354 |
SOURCE[packettest]=packettest.c ../crypto/quic_vlint.c |
| 355 |
INCLUDE[packettest]=../include ../apps/include |
| 356 |
DEPEND[packettest]=../libcrypto libtestutil.a |
| 357 |
|
| 358 |
IF[{- !$disabled{'quic'} -}] |
| 359 |
SOURCE[quic_wire_test]=quic_wire_test.c |
| 360 |
INCLUDE[quic_wire_test]=../include ../apps/include |
| 361 |
DEPEND[quic_wire_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 362 |
|
| 363 |
SOURCE[quic_record_test]=quic_record_test.c |
| 364 |
INCLUDE[quic_record_test]=../include ../apps/include |
| 365 |
DEPEND[quic_record_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 366 |
|
| 367 |
SOURCE[quic_fc_test]=quic_fc_test.c |
| 368 |
INCLUDE[quic_fc_test]=../include ../apps/include |
| 369 |
DEPEND[quic_fc_test]=../libcrypto ../libssl.a libtestutil.a |
| 370 |
|
| 371 |
SOURCE[quic_stream_test]=quic_stream_test.c |
| 372 |
INCLUDE[quic_stream_test]=../include ../apps/include |
| 373 |
DEPEND[quic_stream_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 374 |
|
| 375 |
SOURCE[quic_cfq_test]=quic_cfq_test.c |
| 376 |
INCLUDE[quic_cfq_test]=../include ../apps/include |
| 377 |
DEPEND[quic_cfq_test]=../libcrypto ../libssl.a libtestutil.a |
| 378 |
|
| 379 |
SOURCE[quic_txpim_test]=quic_txpim_test.c |
| 380 |
INCLUDE[quic_txpim_test]=../include ../apps/include |
| 381 |
DEPEND[quic_txpim_test]=../libcrypto ../libssl.a libtestutil.a |
| 382 |
|
| 383 |
SOURCE[quic_srtm_test]=quic_srtm_test.c |
| 384 |
INCLUDE[quic_srtm_test]=../include ../apps/include |
| 385 |
DEPEND[quic_srtm_test]=../libcrypto ../libssl.a libtestutil.a |
| 386 |
|
| 387 |
SOURCE[quic_lcidm_test]=quic_lcidm_test.c |
| 388 |
INCLUDE[quic_lcidm_test]=../include ../apps/include |
| 389 |
DEPEND[quic_lcidm_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 390 |
|
| 391 |
SOURCE[quic_rcidm_test]=quic_rcidm_test.c |
| 392 |
INCLUDE[quic_rcidm_test]=../include ../apps/include |
| 393 |
DEPEND[quic_rcidm_test]=../libcrypto ../libssl.a libtestutil.a |
| 394 |
|
| 395 |
SOURCE[quic_fifd_test]=quic_fifd_test.c cc_dummy.c |
| 396 |
INCLUDE[quic_fifd_test]=../include ../apps/include |
| 397 |
DEPEND[quic_fifd_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 398 |
|
| 399 |
SOURCE[quic_txp_test]=quic_txp_test.c cc_dummy.c |
| 400 |
INCLUDE[quic_txp_test]=../include ../apps/include |
| 401 |
DEPEND[quic_txp_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 402 |
|
| 403 |
SOURCE[quic_tserver_test]=quic_tserver_test.c |
| 404 |
INCLUDE[quic_tserver_test]=../include ../apps/include |
| 405 |
DEPEND[quic_tserver_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 406 |
|
| 407 |
SOURCE[quic_client_test]=quic_client_test.c |
| 408 |
INCLUDE[quic_client_test]=../include ../apps/include |
| 409 |
DEPEND[quic_client_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 410 |
|
| 411 |
$QUICTESTHELPERS=helpers/quictestlib.c helpers/noisydgrambio.c helpers/pktsplitbio.c |
| 412 |
|
| 413 |
SOURCE[quic_multistream_test]=quic_multistream_test.c helpers/ssltestlib.c $QUICTESTHELPERS |
| 414 |
INCLUDE[quic_multistream_test]=../include ../apps/include |
| 415 |
DEPEND[quic_multistream_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 416 |
|
| 417 |
SOURCE[quic_radix_test]=radix/quic_radix.c |
| 418 |
SOURCE[quic_radix_test]=helpers/ssltestlib.c $QUICTESTHELPERS |
| 419 |
INCLUDE[quic_radix_test]=../include ../apps/include |
| 420 |
DEPEND[quic_radix_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 421 |
ENDIF |
| 422 |
|
| 423 |
IF[{- !$disabled{'qlog'} -}] |
| 424 |
SOURCE[quic_qlog_test]=quic_qlog_test.c |
| 425 |
INCLUDE[quic_qlog_test]=../include ../apps/include |
| 426 |
DEPEND[quic_qlog_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 427 |
ENDIF |
| 428 |
|
| 429 |
SOURCE[asynctest]=asynctest.c |
| 430 |
INCLUDE[asynctest]=../include ../apps/include |
| 431 |
DEPEND[asynctest]=../libcrypto |
| 432 |
|
| 433 |
SOURCE[secmemtest]=secmemtest.c |
| 434 |
INCLUDE[secmemtest]=../include ../apps/include |
| 435 |
DEPEND[secmemtest]=../libcrypto libtestutil.a |
| 436 |
|
| 437 |
SOURCE[srptest]=srptest.c |
| 438 |
INCLUDE[srptest]=../include ../apps/include |
| 439 |
DEPEND[srptest]=../libcrypto libtestutil.a |
| 440 |
|
| 441 |
SOURCE[memleaktest]=memleaktest.c |
| 442 |
INCLUDE[memleaktest]=../include ../apps/include |
| 443 |
DEPEND[memleaktest]=../libcrypto libtestutil.a |
| 444 |
|
| 445 |
SOURCE[pkcs12_format_test]=pkcs12_format_test.c helpers/pkcs12.c |
| 446 |
INCLUDE[pkcs12_format_test]=../include ../apps/include |
| 447 |
DEPEND[pkcs12_format_test]=../libcrypto libtestutil.a |
| 448 |
|
| 449 |
SOURCE[pkcs12_api_test]=pkcs12_api_test.c helpers/pkcs12.c |
| 450 |
INCLUDE[pkcs12_api_test]=../include ../apps/include |
| 451 |
DEPEND[pkcs12_api_test]=../libcrypto libtestutil.a |
| 452 |
|
| 453 |
SOURCE[pkcs7_test]=pkcs7_test.c |
| 454 |
INCLUDE[pkcs7_test]=../include ../apps/include |
| 455 |
DEPEND[pkcs7_test]=../libcrypto libtestutil.a |
| 456 |
|
| 457 |
SOURCE[byteorder_test]=byteorder_test.c |
| 458 |
INCLUDE[byteorder_test]=../include ../apps/include |
| 459 |
DEPEND[byteorder_test]=../libcrypto libtestutil.a |
| 460 |
|
| 461 |
SOURCE[punycode_test]=punycode_test.c |
| 462 |
INCLUDE[punycode_test]=../include ../apps/include |
| 463 |
DEPEND[punycode_test]=../libcrypto.a libtestutil.a |
| 464 |
|
| 465 |
SOURCE[evp_byname_test]=evp_byname_test.c |
| 466 |
INCLUDE[evp_byname_test]=../include ../apps/include |
| 467 |
DEPEND[evp_byname_test]=../libcrypto libtestutil.a |
| 468 |
|
| 469 |
SOURCE[stack_test]=stack_test.c |
| 470 |
INCLUDE[stack_test]=../include ../apps/include |
| 471 |
DEPEND[stack_test]=../libcrypto libtestutil.a |
| 472 |
|
| 473 |
SOURCE[lhash_test]=lhash_test.c |
| 474 |
INCLUDE[lhash_test]=../include ../apps/include |
| 475 |
DEPEND[lhash_test]=../libcrypto.a libtestutil.a |
| 476 |
|
| 477 |
SOURCE[dtlsv1listentest]=dtlsv1listentest.c |
| 478 |
INCLUDE[dtlsv1listentest]=../include ../apps/include |
| 479 |
DEPEND[dtlsv1listentest]=../libssl libtestutil.a |
| 480 |
|
| 481 |
SOURCE[ct_test]=ct_test.c |
| 482 |
INCLUDE[ct_test]=../include ../apps/include |
| 483 |
DEPEND[ct_test]=../libcrypto libtestutil.a |
| 484 |
|
| 485 |
SOURCE[threadpool_test]=threadpool_test.c |
| 486 |
INCLUDE[threadpool_test]=.. ../include ../apps/include |
| 487 |
DEPEND[threadpool_test]=../libcrypto.a libtestutil.a |
| 488 |
|
| 489 |
SOURCE[threadstest]=threadstest.c |
| 490 |
INCLUDE[threadstest]=.. ../include ../apps/include |
| 491 |
DEPEND[threadstest]=../libcrypto.a libtestutil.a |
| 492 |
|
| 493 |
SOURCE[threadstest_fips]=threadstest_fips.c |
| 494 |
INCLUDE[threadstest_fips]=../include ../apps/include |
| 495 |
DEPEND[threadstest_fips]=../libcrypto libtestutil.a |
| 496 |
|
| 497 |
SOURCE[afalgtest]=afalgtest.c |
| 498 |
INCLUDE[afalgtest]=../include ../apps/include |
| 499 |
DEPEND[afalgtest]=../libcrypto libtestutil.a |
| 500 |
|
| 501 |
SOURCE[d2i_test]=d2i_test.c |
| 502 |
INCLUDE[d2i_test]=../include ../apps/include |
| 503 |
DEPEND[d2i_test]=../libcrypto libtestutil.a |
| 504 |
|
| 505 |
SOURCE[ssl_test_ctx_test]=ssl_test_ctx_test.c helpers/ssl_test_ctx.c |
| 506 |
INCLUDE[ssl_test_ctx_test]=../include ../apps/include |
| 507 |
DEPEND[ssl_test_ctx_test]=../libcrypto ../libssl libtestutil.a |
| 508 |
|
| 509 |
SOURCE[ssl_test]=ssl_test.c helpers/ssl_test_ctx.c helpers/handshake.c |
| 510 |
IF[{- !$disabled{'srp'} -}] |
| 511 |
SOURCE[ssl_test]=helpers/handshake_srp.c |
| 512 |
ENDIF |
| 513 |
INCLUDE[ssl_test]=../include ../apps/include |
| 514 |
DEPEND[ssl_test]=../libcrypto ../libssl libtestutil.a |
| 515 |
|
| 516 |
SOURCE[cipherlist_test]=cipherlist_test.c |
| 517 |
INCLUDE[cipherlist_test]=../include ../apps/include |
| 518 |
DEPEND[cipherlist_test]=../libcrypto ../libssl libtestutil.a |
| 519 |
|
| 520 |
INCLUDE[helpers/ssl_test_ctx.o]=../include |
| 521 |
INCLUDE[helpers/handshake.o]=.. ../include |
| 522 |
INCLUDE[helpers/pkcs12.o]=.. ../include |
| 523 |
INCLUDE[helpers/ssltestlib.o]=.. ../include |
| 524 |
INCLUDE[helpers/cmp_testlib.o]=.. ../include ../apps/include |
| 525 |
|
| 526 |
SOURCE[x509aux]=x509aux.c |
| 527 |
INCLUDE[x509aux]=../include ../apps/include |
| 528 |
DEPEND[x509aux]=../libcrypto libtestutil.a |
| 529 |
|
| 530 |
SOURCE[asynciotest]=asynciotest.c helpers/ssltestlib.c |
| 531 |
INCLUDE[asynciotest]=../include ../apps/include |
| 532 |
DEPEND[asynciotest]=../libcrypto ../libssl libtestutil.a |
| 533 |
|
| 534 |
SOURCE[bio_callback_test]=bio_callback_test.c |
| 535 |
INCLUDE[bio_callback_test]=../include ../apps/include |
| 536 |
DEPEND[bio_callback_test]=../libcrypto libtestutil.a |
| 537 |
|
| 538 |
SOURCE[bio_readbuffer_test]=bio_readbuffer_test.c |
| 539 |
INCLUDE[bio_readbuffer_test]=../include ../apps/include |
| 540 |
DEPEND[bio_readbuffer_test]=../libcrypto libtestutil.a |
| 541 |
|
| 542 |
SOURCE[bio_memleak_test]=bio_memleak_test.c |
| 543 |
INCLUDE[bio_memleak_test]=../include ../apps/include |
| 544 |
DEPEND[bio_memleak_test]=../libcrypto libtestutil.a |
| 545 |
|
| 546 |
SOURCE[bio_meth_test]=bio_meth_test.c |
| 547 |
INCLUDE[bio_meth_test]=../include ../apps/include |
| 548 |
DEPEND[bio_meth_test]=../libcrypto libtestutil.a |
| 549 |
|
| 550 |
SOURCE[bioprinttest]=bioprinttest.c |
| 551 |
INCLUDE[bioprinttest]=../include ../apps/include |
| 552 |
DEPEND[bioprinttest]=../libcrypto libtestutil.a |
| 553 |
|
| 554 |
SOURCE[bio_core_test]=bio_core_test.c |
| 555 |
INCLUDE[bio_core_test]=../include ../apps/include |
| 556 |
DEPEND[bio_core_test]=../libcrypto libtestutil.a |
| 557 |
|
| 558 |
SOURCE[bio_dgram_test]=bio_dgram_test.c |
| 559 |
INCLUDE[bio_dgram_test]=../include ../apps/include |
| 560 |
DEPEND[bio_dgram_test]=../libcrypto libtestutil.a |
| 561 |
|
| 562 |
SOURCE[bio_tfo_test]=bio_tfo_test.c |
| 563 |
INCLUDE[bio_tfo_test]=../include ../apps/include .. |
| 564 |
DEPEND[bio_tfo_test]=../libcrypto libtestutil.a |
| 565 |
|
| 566 |
SOURCE[membio_test]=membio_test.c |
| 567 |
INCLUDE[membio_test]=../include ../apps/include .. |
| 568 |
DEPEND[membio_test]=../libcrypto libtestutil.a |
| 569 |
|
| 570 |
SOURCE[bio_dgram_test]=bio_dgram_test.c |
| 571 |
INCLUDE[bio_dgram_test]=../include ../apps/include .. |
| 572 |
DEPEND[bio_dgram_test]=../libcrypto libtestutil.a |
| 573 |
|
| 574 |
SOURCE[params_api_test]=params_api_test.c |
| 575 |
INCLUDE[params_api_test]=../include ../apps/include |
| 576 |
DEPEND[params_api_test]=../libcrypto libtestutil.a |
| 577 |
|
| 578 |
SOURCE[params_conversion_test]=params_conversion_test.c |
| 579 |
INCLUDE[params_conversion_test]=../include ../apps/include |
| 580 |
DEPEND[params_conversion_test]=../libcrypto libtestutil.a |
| 581 |
|
| 582 |
SOURCE[param_build_test]=param_build_test.c |
| 583 |
INCLUDE[param_build_test]=../include ../apps/include |
| 584 |
DEPEND[param_build_test]=../libcrypto libtestutil.a |
| 585 |
|
| 586 |
SOURCE[sslapitest]=sslapitest.c helpers/ssltestlib.c filterprov.c tls-provider.c |
| 587 |
INCLUDE[sslapitest]=../include ../apps/include ../providers/common/include .. |
| 588 |
DEPEND[sslapitest]=../libcrypto.a ../libssl.a libtestutil.a |
| 589 |
|
| 590 |
SOURCE[handshake-memfail]=handshake-memfail.c helpers/ssltestlib.c |
| 591 |
INCLUDE[handshake-memfail]=../include ../apps/include |
| 592 |
DEPEND[handshake-memfail]=../libcrypto.a ../libssl.a libtestutil.a |
| 593 |
|
| 594 |
SOURCE[load_key_certs_crls_memfail]=load_key_certs_crls_memfail.c ../apps/lib/apps.c \ |
| 595 |
../apps/lib/app_rand.c ../apps/lib/app_provider.c ../apps/lib/app_libctx.c \ |
| 596 |
../apps/lib/fmt.c ../apps/lib/apps_ui.c ../apps/lib/app_x509.c \ |
| 597 |
../crypto/asn1/a_time.c ../crypto/ctype.c |
| 598 |
INCLUDE[load_key_certs_crls_memfail]=.. ../include ../apps/include |
| 599 |
DEPEND[load_key_certs_crls_memfail]=libtestutil.a ../libcrypto.a ../libssl.a |
| 600 |
|
| 601 |
SOURCE[ssl_handshake_rtt_test]=ssl_handshake_rtt_test.c helpers/ssltestlib.c |
| 602 |
INCLUDE[ssl_handshake_rtt_test]=../include ../apps/include .. |
| 603 |
DEPEND[ssl_handshake_rtt_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 604 |
|
| 605 |
SOURCE[rpktest]=rpktest.c helpers/ssltestlib.c |
| 606 |
INCLUDE[rpktest]=../include ../apps/include .. |
| 607 |
DEPEND[rpktest]=../libcrypto ../libssl libtestutil.a |
| 608 |
|
| 609 |
SOURCE[defltfips_test]=defltfips_test.c |
| 610 |
INCLUDE[defltfips_test]=../include ../apps/include |
| 611 |
DEPEND[defltfips_test]=../libcrypto libtestutil.a |
| 612 |
|
| 613 |
SOURCE[fips_version_test]=fips_version_test.c |
| 614 |
INCLUDE[fips_version_test]=../include ../apps/include |
| 615 |
DEPEND[fips_version_test]=../libcrypto libtestutil.a |
| 616 |
|
| 617 |
SOURCE[ocspapitest]=ocspapitest.c |
| 618 |
INCLUDE[ocspapitest]=../include ../apps/include |
| 619 |
DEPEND[ocspapitest]=../libcrypto libtestutil.a |
| 620 |
|
| 621 |
IF[{- !$disabled{sock} -}] |
| 622 |
IF[{- !$disabled{http} -}] |
| 623 |
PROGRAMS{noinst}=http_test |
| 624 |
|
| 625 |
SOURCE[http_test]=http_test.c |
| 626 |
INCLUDE[http_test]=../include ../apps/include |
| 627 |
DEPEND[http_test]=../libcrypto libtestutil.a |
| 628 |
ENDIF |
| 629 |
|
| 630 |
PROGRAMS{noinst}=bio_addr_test |
| 631 |
|
| 632 |
SOURCE[bio_addr_test]=bio_addr_test.c |
| 633 |
INCLUDE[bio_addr_test]=../include ../apps/include |
| 634 |
DEPEND[bio_addr_test]=../libcrypto libtestutil.a |
| 635 |
ENDIF |
| 636 |
|
| 637 |
SOURCE[dtlstest]=dtlstest.c helpers/ssltestlib.c |
| 638 |
INCLUDE[dtlstest]=../include ../apps/include |
| 639 |
DEPEND[dtlstest]=../libcrypto ../libssl libtestutil.a |
| 640 |
|
| 641 |
SOURCE[sslcorrupttest]=sslcorrupttest.c helpers/ssltestlib.c |
| 642 |
INCLUDE[sslcorrupttest]=../include ../apps/include |
| 643 |
DEPEND[sslcorrupttest]=../libcrypto ../libssl libtestutil.a |
| 644 |
|
| 645 |
SOURCE[bio_base64_test]=bio_base64_test.c |
| 646 |
INCLUDE[bio_base64_test]=../include ../apps/include |
| 647 |
DEPEND[bio_base64_test]=../libcrypto libtestutil.a |
| 648 |
|
| 649 |
SOURCE[bio_enc_test]=bio_enc_test.c |
| 650 |
INCLUDE[bio_enc_test]=../include ../apps/include |
| 651 |
DEPEND[bio_enc_test]=../libcrypto libtestutil.a |
| 652 |
|
| 653 |
SOURCE[pkey_meth_test]=pkey_meth_test.c |
| 654 |
INCLUDE[pkey_meth_test]=../include ../apps/include |
| 655 |
DEPEND[pkey_meth_test]=../libcrypto libtestutil.a |
| 656 |
|
| 657 |
SOURCE[pkey_meth_kdf_test]=pkey_meth_kdf_test.c |
| 658 |
INCLUDE[pkey_meth_kdf_test]=../include ../apps/include |
| 659 |
DEPEND[pkey_meth_kdf_test]=../libcrypto libtestutil.a |
| 660 |
|
| 661 |
SOURCE[evp_kdf_test]=evp_kdf_test.c |
| 662 |
INCLUDE[evp_kdf_test]=../include ../apps/include |
| 663 |
DEPEND[evp_kdf_test]=../libcrypto libtestutil.a |
| 664 |
|
| 665 |
SOURCE[evp_xof_test]=evp_xof_test.c |
| 666 |
INCLUDE[evp_xof_test]=../include ../apps/include |
| 667 |
DEPEND[evp_xof_test]=../libcrypto libtestutil.a |
| 668 |
|
| 669 |
SOURCE[evp_pkey_dparams_test]=evp_pkey_dparams_test.c |
| 670 |
INCLUDE[evp_pkey_dparams_test]=../include ../apps/include |
| 671 |
DEPEND[evp_pkey_dparams_test]=../libcrypto libtestutil.a |
| 672 |
|
| 673 |
SOURCE[x509_time_test]=x509_time_test.c |
| 674 |
INCLUDE[x509_time_test]=../include ../apps/include |
| 675 |
DEPEND[x509_time_test]=../libcrypto libtestutil.a |
| 676 |
|
| 677 |
SOURCE[x509_test]=x509_test.c |
| 678 |
INCLUDE[x509_test]=../include ../apps/include |
| 679 |
DEPEND[x509_test]=../libcrypto libtestutil.a |
| 680 |
|
| 681 |
SOURCE[recordlentest]=recordlentest.c helpers/ssltestlib.c |
| 682 |
INCLUDE[recordlentest]=../include ../apps/include |
| 683 |
DEPEND[recordlentest]=../libcrypto ../libssl libtestutil.a |
| 684 |
|
| 685 |
SOURCE[drbgtest]=drbgtest.c |
| 686 |
INCLUDE[drbgtest]=../include ../apps/include ../providers/common/include \ |
| 687 |
../providers/fips/include |
| 688 |
DEPEND[drbgtest]=../libcrypto libtestutil.a |
| 689 |
|
| 690 |
SOURCE[rand_status_test]=rand_status_test.c |
| 691 |
INCLUDE[rand_status_test]=../include ../apps/include |
| 692 |
DEPEND[rand_status_test]=../libcrypto libtestutil.a |
| 693 |
|
| 694 |
SOURCE[x509_dup_cert_test]=x509_dup_cert_test.c |
| 695 |
INCLUDE[x509_dup_cert_test]=../include ../apps/include |
| 696 |
DEPEND[x509_dup_cert_test]=../libcrypto libtestutil.a |
| 697 |
|
| 698 |
SOURCE[x509_load_cert_file_test]=x509_load_cert_file_test.c |
| 699 |
INCLUDE[x509_load_cert_file_test]=../include ../apps/include |
| 700 |
DEPEND[x509_load_cert_file_test]=../libcrypto libtestutil.a |
| 701 |
|
| 702 |
SOURCE[x509_check_cert_pkey_test]=x509_check_cert_pkey_test.c |
| 703 |
INCLUDE[x509_check_cert_pkey_test]=../include ../apps/include |
| 704 |
DEPEND[x509_check_cert_pkey_test]=../libcrypto libtestutil.a |
| 705 |
|
| 706 |
SOURCE[pemtest]=pemtest.c |
| 707 |
INCLUDE[pemtest]=../include ../apps/include |
| 708 |
DEPEND[pemtest]=../libcrypto libtestutil.a |
| 709 |
|
| 710 |
SOURCE[ssl_cert_table_internal_test]=ssl_cert_table_internal_test.c |
| 711 |
INCLUDE[ssl_cert_table_internal_test]=.. ../include ../apps/include |
| 712 |
DEPEND[ssl_cert_table_internal_test]=../libcrypto libtestutil.a |
| 713 |
|
| 714 |
SOURCE[ciphername_test]=ciphername_test.c |
| 715 |
INCLUDE[ciphername_test]=../include ../apps/include |
| 716 |
DEPEND[ciphername_test]=../libcrypto ../libssl libtestutil.a |
| 717 |
|
| 718 |
SOURCE[servername_test]=servername_test.c helpers/ssltestlib.c |
| 719 |
INCLUDE[servername_test]=../include ../apps/include |
| 720 |
DEPEND[servername_test]=../libcrypto ../libssl libtestutil.a |
| 721 |
|
| 722 |
IF[{- !$disabled{cms} -}] |
| 723 |
PROGRAMS{noinst}=cmsapitest |
| 724 |
SOURCE[cmsapitest]=cmsapitest.c |
| 725 |
INCLUDE[cmsapitest]=../include ../apps/include |
| 726 |
DEPEND[cmsapitest]=../libcrypto libtestutil.a |
| 727 |
ENDIF |
| 728 |
|
| 729 |
IF[{- !$disabled{psk} -}] |
| 730 |
PROGRAMS{noinst}=dtls_mtu_test |
| 731 |
SOURCE[dtls_mtu_test]=dtls_mtu_test.c helpers/ssltestlib.c |
| 732 |
INCLUDE[dtls_mtu_test]=.. ../include ../apps/include |
| 733 |
DEPEND[dtls_mtu_test]=../libcrypto ../libssl libtestutil.a |
| 734 |
ENDIF |
| 735 |
|
| 736 |
IF[{- !$disabled{shared} -}] |
| 737 |
PROGRAMS{noinst}=shlibloadtest |
| 738 |
SOURCE[shlibloadtest]=shlibloadtest.c simpledynamic.c |
| 739 |
INCLUDE[shlibloadtest]=../include ../apps/include |
| 740 |
|
| 741 |
PROGRAMS{noinst}=moduleloadtest |
| 742 |
SOURCE[moduleloadtest]=moduleloadtest.c simpledynamic.c |
| 743 |
INCLUDE[moduleloadtest]=../include ../apps/include |
| 744 |
ENDIF |
| 745 |
|
| 746 |
# cipher_overhead_test uses internal symbols, so it must be linked with |
| 747 |
# the static libraries |
| 748 |
PROGRAMS{noinst}=cipher_overhead_test |
| 749 |
SOURCE[cipher_overhead_test]=cipher_overhead_test.c |
| 750 |
INCLUDE[cipher_overhead_test]=.. ../include ../apps/include |
| 751 |
DEPEND[cipher_overhead_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 752 |
|
| 753 |
SOURCE[uitest]=uitest.c ../apps/lib/apps_ui.c |
| 754 |
INCLUDE[uitest]=.. ../include ../apps/include |
| 755 |
DEPEND[uitest]=../libcrypto ../libssl libtestutil.a |
| 756 |
|
| 757 |
SOURCE[cipherbytes_test]=cipherbytes_test.c |
| 758 |
INCLUDE[cipherbytes_test]=../include ../apps/include |
| 759 |
DEPEND[cipherbytes_test]=../libcrypto ../libssl libtestutil.a |
| 760 |
|
| 761 |
SOURCE[asn1_encode_test]=asn1_encode_test.c |
| 762 |
INCLUDE[asn1_encode_test]=../include ../apps/include |
| 763 |
DEPEND[asn1_encode_test]=../libcrypto libtestutil.a |
| 764 |
|
| 765 |
SOURCE[asn1_decode_test]=asn1_decode_test.c |
| 766 |
INCLUDE[asn1_decode_test]=../include ../apps/include |
| 767 |
DEPEND[asn1_decode_test]=../libcrypto libtestutil.a |
| 768 |
|
| 769 |
SOURCE[asn1_string_table_test]=asn1_string_table_test.c |
| 770 |
INCLUDE[asn1_string_table_test]=../include ../apps/include |
| 771 |
DEPEND[asn1_string_table_test]=../libcrypto libtestutil.a |
| 772 |
|
| 773 |
SOURCE[asn1_stable_parse_test]=asn1_stable_parse_test.c |
| 774 |
INCLUDE[asn1_stable_parse_test]=../include ../apps/include |
| 775 |
DEPEND[asn1_stable_parse_test]=../libcrypto libtestutil.a |
| 776 |
|
| 777 |
SOURCE[time_offset_test]=time_offset_test.c |
| 778 |
INCLUDE[time_offset_test]=../include ../apps/include |
| 779 |
DEPEND[time_offset_test]=../libcrypto libtestutil.a |
| 780 |
|
| 781 |
SOURCE[conf_include_test]=conf_include_test.c |
| 782 |
INCLUDE[conf_include_test]=../include ../apps/include |
| 783 |
DEPEND[conf_include_test]=../libcrypto libtestutil.a |
| 784 |
|
| 785 |
IF[{- !$disabled{cmp} -}] |
| 786 |
PROGRAMS{noinst}=cmp_asn_test cmp_ctx_test cmp_status_test cmp_hdr_test \ |
| 787 |
cmp_protect_test cmp_msg_test cmp_vfy_test \ |
| 788 |
cmp_server_test cmp_client_test |
| 789 |
ENDIF |
| 790 |
|
| 791 |
SOURCE[cmp_asn_test]=cmp_asn_test.c helpers/cmp_testlib.c |
| 792 |
INCLUDE[cmp_asn_test]=.. ../include ../apps/include |
| 793 |
DEPEND[cmp_asn_test]=../libcrypto.a libtestutil.a |
| 794 |
|
| 795 |
SOURCE[cmp_ctx_test]=cmp_ctx_test.c helpers/cmp_testlib.c |
| 796 |
INCLUDE[cmp_ctx_test]=.. ../include ../apps/include |
| 797 |
DEPEND[cmp_ctx_test]=../libcrypto.a libtestutil.a |
| 798 |
|
| 799 |
SOURCE[cmp_hdr_test]=cmp_hdr_test.c helpers/cmp_testlib.c |
| 800 |
INCLUDE[cmp_hdr_test]=.. ../include ../apps/include |
| 801 |
DEPEND[cmp_hdr_test]=../libcrypto.a libtestutil.a |
| 802 |
|
| 803 |
SOURCE[cmp_status_test]=cmp_status_test.c helpers/cmp_testlib.c |
| 804 |
INCLUDE[cmp_status_test]=.. ../include ../apps/include |
| 805 |
DEPEND[cmp_status_test]=../libcrypto.a libtestutil.a |
| 806 |
|
| 807 |
SOURCE[cmp_protect_test]=cmp_protect_test.c helpers/cmp_testlib.c |
| 808 |
INCLUDE[cmp_protect_test]=.. ../include ../apps/include |
| 809 |
DEPEND[cmp_protect_test]=../libcrypto.a libtestutil.a |
| 810 |
|
| 811 |
SOURCE[cmp_msg_test]=cmp_msg_test.c helpers/cmp_testlib.c |
| 812 |
INCLUDE[cmp_msg_test]=.. ../include ../apps/include |
| 813 |
DEPEND[cmp_msg_test]=../libcrypto.a libtestutil.a |
| 814 |
|
| 815 |
SOURCE[cmp_vfy_test]=cmp_vfy_test.c helpers/cmp_testlib.c |
| 816 |
INCLUDE[cmp_vfy_test]=.. ../include ../apps/include |
| 817 |
DEPEND[cmp_vfy_test]=../libcrypto.a libtestutil.a |
| 818 |
|
| 819 |
SOURCE[cmp_server_test]=cmp_server_test.c helpers/cmp_testlib.c |
| 820 |
INCLUDE[cmp_server_test]=.. ../include ../apps/include |
| 821 |
DEPEND[cmp_server_test]=../libcrypto libtestutil.a |
| 822 |
|
| 823 |
SOURCE[cmp_client_test]=cmp_client_test.c helpers/cmp_testlib.c ../apps/lib/cmp_mock_srv.c |
| 824 |
INCLUDE[cmp_client_test]=.. ../include ../apps/include |
| 825 |
DEPEND[cmp_client_test]=../libcrypto.a libtestutil.a |
| 826 |
|
| 827 |
SOURCE[ca_internals_test]=ca_internals_test.c ../apps/ca.c ../apps/lib/apps.c \ |
| 828 |
../apps/lib/app_rand.c ../apps/lib/engine.c ../apps/lib/app_provider.c \ |
| 829 |
../apps/lib/app_libctx.c ../apps/lib/fmt.c ../apps/lib/apps_ui.c \ |
| 830 |
../apps/lib/app_x509.c ../crypto/asn1/a_time.c ../crypto/ctype.c |
| 831 |
INCLUDE[ca_internals_test]=.. ../include ../apps/include |
| 832 |
DEPEND[ca_internals_test]=libtestutil.a ../libssl |
| 833 |
|
| 834 |
# Internal test programs. These are essentially a collection of internal |
| 835 |
# test routines. Some of them need to reach internal symbols that aren't |
| 836 |
# available through the shared library (at least on Linux, Solaris, Windows |
| 837 |
# and VMS, where the exported symbols are those listed in util/*.num), these |
| 838 |
# programs are forcibly linked with the static libraries, where all symbols |
| 839 |
# are always available. |
| 840 |
IF[1] |
| 841 |
PROGRAMS{noinst}=asn1_internal_test modes_internal_test x509_internal_test \ |
| 842 |
tls13encryptiontest wpackettest ctype_internal_test \ |
| 843 |
rdcpu_sanitytest property_test ideatest rsa_mp_test \ |
| 844 |
rsa_sp800_56b_test bn_internal_test ecdsatest rsa_test \ |
| 845 |
rc2test rc4test rc5test hmactest ffc_internal_test \ |
| 846 |
asn1_dsa_internal_test dsatest dsa_no_digest_size_test \ |
| 847 |
dhtest ssl_old_test |
| 848 |
|
| 849 |
IF[{- !$disabled{poly1305} -}] |
| 850 |
PROGRAMS{noinst}=poly1305_internal_test |
| 851 |
ENDIF |
| 852 |
IF[{- !$disabled{chacha} -}] |
| 853 |
PROGRAMS{noinst}=chacha_internal_test |
| 854 |
ENDIF |
| 855 |
IF[{- !$disabled{siphash} -}] |
| 856 |
PROGRAMS{noinst}=siphash_internal_test |
| 857 |
ENDIF |
| 858 |
IF[{- !$disabled{sm2} -}] |
| 859 |
PROGRAMS{noinst}=sm2_internal_test |
| 860 |
ENDIF |
| 861 |
IF[{- !$disabled{sm3} -}] |
| 862 |
PROGRAMS{noinst}=sm3_internal_test |
| 863 |
ENDIF |
| 864 |
IF[{- !$disabled{sm4} -}] |
| 865 |
PROGRAMS{noinst}=sm4_internal_test |
| 866 |
ENDIF |
| 867 |
IF[{- !$disabled{ec} -}] |
| 868 |
PROGRAMS{noinst}=ectest ec_internal_test evp_pkey_dhkem_test |
| 869 |
ENDIF |
| 870 |
IF[{- !$disabled{ecx} -}] |
| 871 |
PROGRAMS{noinst}=curve448_internal_test |
| 872 |
ENDIF |
| 873 |
IF[{- !$disabled{cmac} -}] |
| 874 |
PROGRAMS{noinst}=cmactest |
| 875 |
ENDIF |
| 876 |
|
| 877 |
SOURCE[poly1305_internal_test]=poly1305_internal_test.c |
| 878 |
INCLUDE[poly1305_internal_test]=.. ../include ../apps/include |
| 879 |
DEPEND[poly1305_internal_test]=../libcrypto.a libtestutil.a |
| 880 |
|
| 881 |
SOURCE[chacha_internal_test]=chacha_internal_test.c |
| 882 |
INCLUDE[chacha_internal_test]=.. ../include ../apps/include |
| 883 |
DEPEND[chacha_internal_test]=../libcrypto.a libtestutil.a |
| 884 |
|
| 885 |
SOURCE[asn1_internal_test]=asn1_internal_test.c |
| 886 |
INCLUDE[asn1_internal_test]=.. ../include ../apps/include |
| 887 |
DEPEND[asn1_internal_test]=../libcrypto.a libtestutil.a |
| 888 |
|
| 889 |
SOURCE[modes_internal_test]=modes_internal_test.c |
| 890 |
INCLUDE[modes_internal_test]=.. ../include ../apps/include |
| 891 |
DEPEND[modes_internal_test]=../libcrypto.a libtestutil.a |
| 892 |
|
| 893 |
SOURCE[x509_internal_test]=x509_internal_test.c |
| 894 |
INCLUDE[x509_internal_test]=.. ../include ../apps/include |
| 895 |
DEPEND[x509_internal_test]=../libcrypto.a libtestutil.a |
| 896 |
|
| 897 |
SOURCE[rsa_test]=rsa_test.c |
| 898 |
INCLUDE[rsa_test]=../include ../apps/include |
| 899 |
DEPEND[rsa_test]=../libcrypto.a libtestutil.a |
| 900 |
|
| 901 |
SOURCE[rsa_mp_test]=rsa_mp_test.c |
| 902 |
INCLUDE[rsa_mp_test]=../include ../apps/include |
| 903 |
DEPEND[rsa_mp_test]=../libcrypto.a libtestutil.a |
| 904 |
|
| 905 |
SOURCE[ecdsatest]=ecdsatest.c |
| 906 |
INCLUDE[ecdsatest]=../include ../apps/include |
| 907 |
DEPEND[ecdsatest]=../libcrypto.a libtestutil.a |
| 908 |
|
| 909 |
SOURCE[dsatest]=dsatest.c |
| 910 |
INCLUDE[dsatest]=../include ../apps/include |
| 911 |
DEPEND[dsatest]=../libcrypto.a libtestutil.a |
| 912 |
|
| 913 |
SOURCE[dsa_no_digest_size_test]=dsa_no_digest_size_test.c |
| 914 |
INCLUDE[dsa_no_digest_size_test]=../include ../apps/include |
| 915 |
DEPEND[dsa_no_digest_size_test]=../libcrypto.a libtestutil.a |
| 916 |
|
| 917 |
IF[{- !$disabled{ecx} && !$disabled{tls1_3} -}] |
| 918 |
PROGRAMS{noinst}=tls13ticket_test |
| 919 |
SOURCE[tls13ticket_test]=tls13tickettest.c helpers/ssltestlib.c |
| 920 |
INCLUDE[tls13ticket_test]=../include ../apps/include |
| 921 |
DEPEND[tls13ticket_test]=../libcrypto ../libssl libtestutil.a |
| 922 |
ENDIF |
| 923 |
|
| 924 |
IF[{- !$disabled{psk} && !$disabled{tls1_2} -}] |
| 925 |
PROGRAMS{noinst}=tls12psk_test |
| 926 |
SOURCE[tls12psk_test]=tls12psk.c helpers/ssltestlib.c |
| 927 |
INCLUDE[tls12psk_test]=.. ../include ../apps/include |
| 928 |
DEPEND[tls12psk_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 929 |
ENDIF |
| 930 |
|
| 931 |
SOURCE[tls13encryptiontest]=tls13encryptiontest.c |
| 932 |
INCLUDE[tls13encryptiontest]=.. ../include ../apps/include |
| 933 |
DEPEND[tls13encryptiontest]=../libcrypto.a ../libssl.a libtestutil.a |
| 934 |
|
| 935 |
SOURCE[ideatest]=ideatest.c |
| 936 |
INCLUDE[ideatest]=../include ../apps/include |
| 937 |
DEPEND[ideatest]=../libcrypto.a libtestutil.a |
| 938 |
|
| 939 |
SOURCE[wpackettest]=wpackettest.c |
| 940 |
INCLUDE[wpackettest]=../include ../apps/include |
| 941 |
DEPEND[wpackettest]=../libcrypto.a ../libssl.a libtestutil.a |
| 942 |
|
| 943 |
SOURCE[property_test]=property_test.c |
| 944 |
INCLUDE[property_test]=.. ../include ../apps/include |
| 945 |
DEPEND[property_test]=../libcrypto.a libtestutil.a |
| 946 |
|
| 947 |
SOURCE[ctype_internal_test]=ctype_internal_test.c |
| 948 |
INCLUDE[ctype_internal_test]=.. ../include ../apps/include |
| 949 |
DEPEND[ctype_internal_test]=../libcrypto.a libtestutil.a |
| 950 |
|
| 951 |
SOURCE[sparse_array_test]=sparse_array_test.c |
| 952 |
INCLUDE[sparse_array_test]=../include ../apps/include |
| 953 |
DEPEND[sparse_array_test]=../libcrypto.a libtestutil.a |
| 954 |
|
| 955 |
IF[{- !$disabled{quic} -}] |
| 956 |
SOURCE[priority_queue_test]=priority_queue_test.c |
| 957 |
INCLUDE[priority_queue_test]=../include ../apps/include |
| 958 |
DEPEND[priority_queue_test]=../libcrypto ../libssl.a libtestutil.a |
| 959 |
|
| 960 |
SOURCE[quicfaultstest]=quicfaultstest.c helpers/ssltestlib.c $QUICTESTHELPERS |
| 961 |
INCLUDE[quicfaultstest]=../include ../apps/include .. |
| 962 |
DEPEND[quicfaultstest]=../libcrypto.a ../libssl.a libtestutil.a |
| 963 |
|
| 964 |
SOURCE[quicapitest]=quicapitest.c helpers/ssltestlib.c $QUICTESTHELPERS |
| 965 |
INCLUDE[quicapitest]=../include ../apps/include |
| 966 |
DEPEND[quicapitest]=../libcrypto.a ../libssl.a libtestutil.a |
| 967 |
|
| 968 |
SOURCE[quic_newcid_test]=quic_newcid_test.c helpers/ssltestlib.c $QUICTESTHELPERS |
| 969 |
INCLUDE[quic_newcid_test]=../include ../apps/include .. |
| 970 |
DEPEND[quic_newcid_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 971 |
|
| 972 |
SOURCE[quic_srt_gen_test]=quic_srt_gen_test.c helpers/ssltestlib.c $QUICTESTHELPERS |
| 973 |
INCLUDE[quic_srt_gen_test]=../include ../apps/include .. |
| 974 |
DEPEND[quic_srt_gen_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 975 |
ENDIF |
| 976 |
|
| 977 |
IF[{- !$disabled{qlog} -}] |
| 978 |
SOURCE[json_test]=json_test.c helpers/ssltestlib.c $QUICTESTHELPERS |
| 979 |
INCLUDE[json_test]=../include ../apps/include |
| 980 |
DEPEND[json_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 981 |
ENDIF |
| 982 |
|
| 983 |
SOURCE[dhtest]=dhtest.c |
| 984 |
INCLUDE[dhtest]=../include ../apps/include |
| 985 |
DEPEND[dhtest]=../libcrypto.a libtestutil.a |
| 986 |
|
| 987 |
SOURCE[list_test]=list_test.c |
| 988 |
INCLUDE[list_test]=../include ../apps/include |
| 989 |
DEPEND[list_test]=libtestutil.a |
| 990 |
|
| 991 |
SOURCE[hmactest]=hmactest.c |
| 992 |
INCLUDE[hmactest]=../include ../apps/include |
| 993 |
DEPEND[hmactest]=../libcrypto.a libtestutil.a |
| 994 |
|
| 995 |
IF[{- !$disabled{cmac} -}] |
| 996 |
SOURCE[cmactest]=cmactest.c |
| 997 |
INCLUDE[cmactest]=../include ../apps/include |
| 998 |
DEPEND[cmactest]=../libcrypto.a libtestutil.a |
| 999 |
ENDIF |
| 1000 |
|
| 1001 |
SOURCE[siphash_internal_test]=siphash_internal_test.c |
| 1002 |
INCLUDE[siphash_internal_test]=.. ../include ../apps/include |
| 1003 |
DEPEND[siphash_internal_test]=../libcrypto.a libtestutil.a |
| 1004 |
|
| 1005 |
SOURCE[sm2_internal_test]=sm2_internal_test.c |
| 1006 |
INCLUDE[sm2_internal_test]=../include ../apps/include |
| 1007 |
DEPEND[sm2_internal_test]=../libcrypto.a libtestutil.a |
| 1008 |
|
| 1009 |
SOURCE[sm3_internal_test]=sm3_internal_test.c |
| 1010 |
INCLUDE[sm3_internal_test]=../include ../apps/include |
| 1011 |
DEPEND[sm3_internal_test]=../libcrypto.a libtestutil.a |
| 1012 |
|
| 1013 |
SOURCE[sm4_internal_test]=sm4_internal_test.c |
| 1014 |
INCLUDE[sm4_internal_test]=.. ../include ../apps/include |
| 1015 |
DEPEND[sm4_internal_test]=../libcrypto.a libtestutil.a |
| 1016 |
|
| 1017 |
SOURCE[destest]=destest.c |
| 1018 |
INCLUDE[destest]=../include ../apps/include |
| 1019 |
DEPEND[destest]=../libcrypto.a libtestutil.a |
| 1020 |
|
| 1021 |
SOURCE[rc2test]=rc2test.c |
| 1022 |
INCLUDE[rc2test]=../include ../apps/include |
| 1023 |
DEPEND[rc2test]=../libcrypto.a libtestutil.a |
| 1024 |
|
| 1025 |
SOURCE[rc4test]=rc4test.c |
| 1026 |
INCLUDE[rc4test]=../include ../apps/include |
| 1027 |
DEPEND[rc4test]=../libcrypto.a libtestutil.a |
| 1028 |
|
| 1029 |
SOURCE[rc5test]=rc5test.c |
| 1030 |
INCLUDE[rc5test]=../include ../apps/include |
| 1031 |
DEPEND[rc5test]=../libcrypto libtestutil.a |
| 1032 |
|
| 1033 |
SOURCE[ec_internal_test]=ec_internal_test.c $INITSRC |
| 1034 |
INCLUDE[ec_internal_test]=../include ../crypto/ec ../apps/include |
| 1035 |
DEPEND[ec_internal_test]=../libcrypto.a libtestutil.a |
| 1036 |
|
| 1037 |
IF[{- !$disabled{ecx} -}] |
| 1038 |
SOURCE[curve448_internal_test]=curve448_internal_test.c |
| 1039 |
INCLUDE[curve448_internal_test]=.. ../include ../apps/include ../crypto/ec/curve448 |
| 1040 |
DEPEND[curve448_internal_test]=../libcrypto.a libtestutil.a |
| 1041 |
ENDIF |
| 1042 |
|
| 1043 |
SOURCE[rc4test]=rc4test.c |
| 1044 |
INCLUDE[rc4test]=../include ../apps/include |
| 1045 |
DEPEND[rc4test]=../libcrypto libtestutil.a |
| 1046 |
|
| 1047 |
SOURCE[rdcpu_sanitytest]=rdcpu_sanitytest.c |
| 1048 |
INCLUDE[rdcpu_sanitytest]=../include ../apps/include ../crypto |
| 1049 |
DEPEND[rdcpu_sanitytest]=../libcrypto libtestutil.a |
| 1050 |
|
| 1051 |
SOURCE[rsa_sp800_56b_test]=rsa_sp800_56b_test.c |
| 1052 |
INCLUDE[rsa_sp800_56b_test]=.. ../include ../crypto/rsa ../apps/include |
| 1053 |
DEPEND[rsa_sp800_56b_test]=../libcrypto.a libtestutil.a |
| 1054 |
|
| 1055 |
IF[{- !$disabled{'deprecated-3.0'} -}] |
| 1056 |
PROGRAMS{noinst}=rsa_x931_test |
| 1057 |
SOURCE[rsa_x931_test]=rsa_x931_test.c |
| 1058 |
INCLUDE[rsa_x931_test]=.. ../include ../apps/include |
| 1059 |
DEPEND[rsa_x931_test]=../libcrypto.a libtestutil.a |
| 1060 |
ENDIF |
| 1061 |
|
| 1062 |
SOURCE[bn_internal_test]=bn_internal_test.c |
| 1063 |
INCLUDE[bn_internal_test]=.. ../include ../crypto/bn ../apps/include |
| 1064 |
DEPEND[bn_internal_test]=../libcrypto.a libtestutil.a |
| 1065 |
|
| 1066 |
SOURCE[asn1_dsa_internal_test]=asn1_dsa_internal_test.c |
| 1067 |
INCLUDE[asn1_dsa_internal_test]=.. ../include ../apps/include |
| 1068 |
DEPEND[asn1_dsa_internal_test]=../libcrypto.a libtestutil.a |
| 1069 |
|
| 1070 |
IF[{- !$disabled{'ml-kem'} -}] |
| 1071 |
PROGRAMS{noinst}=ml_kem_internal_test |
| 1072 |
SOURCE[ml_kem_internal_test]=ml_kem_internal_test.c |
| 1073 |
INCLUDE[ml_kem_internal_test]=../include ../apps/include |
| 1074 |
DEPEND[ml_kem_internal_test]=../libcrypto.a libtestutil.a |
| 1075 |
|
| 1076 |
PROGRAMS{noinst}=ml_kem_evp_extra_test |
| 1077 |
SOURCE[ml_kem_evp_extra_test]=ml_kem_evp_extra_test.c |
| 1078 |
INCLUDE[ml_kem_evp_extra_test]=../include ../apps/include |
| 1079 |
DEPEND[ml_kem_evp_extra_test]=../libcrypto.a libtestutil.a |
| 1080 |
ENDIF |
| 1081 |
|
| 1082 |
SOURCE[keymgmt_internal_test]=keymgmt_internal_test.c |
| 1083 |
INCLUDE[keymgmt_internal_test]=.. ../include ../apps/include |
| 1084 |
DEPEND[keymgmt_internal_test]=../libcrypto.a libtestutil.a |
| 1085 |
|
| 1086 |
SOURCE[ffc_internal_test]=ffc_internal_test.c |
| 1087 |
INCLUDE[ffc_internal_test]=.. ../include ../apps/include |
| 1088 |
DEPEND[ffc_internal_test]=../libcrypto.a libtestutil.a |
| 1089 |
|
| 1090 |
IF[{- !$disabled{mdc2} -}] |
| 1091 |
PROGRAMS{noinst}=mdc2_internal_test |
| 1092 |
ENDIF |
| 1093 |
|
| 1094 |
SOURCE[mdc2_internal_test]=mdc2_internal_test.c |
| 1095 |
INCLUDE[mdc2_internal_test]=.. ../include ../apps/include |
| 1096 |
DEPEND[mdc2_internal_test]=../libcrypto.a libtestutil.a |
| 1097 |
|
| 1098 |
SOURCE[ssl_old_test]=ssl_old_test.c helpers/predefined_dhparams.c |
| 1099 |
INCLUDE[ssl_old_test]=.. ../include ../apps/include |
| 1100 |
DEPEND[ssl_old_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 1101 |
|
| 1102 |
PROGRAMS{noinst}=ext_internal_test |
| 1103 |
SOURCE[ext_internal_test]=ext_internal_test.c |
| 1104 |
INCLUDE[ext_internal_test]=.. ../include ../apps/include |
| 1105 |
DEPEND[ext_internal_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 1106 |
|
| 1107 |
PROGRAMS{noinst}=algorithmid_test |
| 1108 |
SOURCE[algorithmid_test]=algorithmid_test.c |
| 1109 |
INCLUDE[algorithmid_test]=../include ../apps/include |
| 1110 |
DEPEND[algorithmid_test]=../libcrypto.a libtestutil.a |
| 1111 |
ENDIF |
| 1112 |
|
| 1113 |
PROGRAMS{noinst}=asn1_time_test |
| 1114 |
SOURCE[asn1_time_test]=asn1_time_test.c ../crypto/ctype.c \ |
| 1115 |
../crypto/asn1/a_time.c |
| 1116 |
INCLUDE[asn1_time_test]=../include ../apps/include |
| 1117 |
DEPEND[asn1_time_test]=../libcrypto libtestutil.a |
| 1118 |
|
| 1119 |
# We disable this test completely in a shared build because it deliberately |
| 1120 |
# redefines some internal libssl symbols. This doesn't work in a non-shared |
| 1121 |
# build |
| 1122 |
IF[{- !$disabled{shared} -}] |
| 1123 |
PROGRAMS{noinst}=tls13secretstest |
| 1124 |
SOURCE[tls13secretstest]=tls13secretstest.c |
| 1125 |
DEFINE[tls13secretstest]=OPENSSL_NO_KTLS |
| 1126 |
SOURCE[tls13secretstest]= ../ssl/tls13_enc.c ../crypto/packet.c ../crypto/quic_vlint.c |
| 1127 |
INCLUDE[tls13secretstest]=.. ../include ../apps/include |
| 1128 |
DEPEND[tls13secretstest]=../libcrypto ../libssl libtestutil.a |
| 1129 |
ENDIF |
| 1130 |
|
| 1131 |
SOURCE[sslbuffertest]=sslbuffertest.c helpers/ssltestlib.c |
| 1132 |
INCLUDE[sslbuffertest]=../include ../apps/include |
| 1133 |
DEPEND[sslbuffertest]=../libcrypto ../libssl libtestutil.a |
| 1134 |
|
| 1135 |
SOURCE[sysdefaulttest]=sysdefaulttest.c |
| 1136 |
INCLUDE[sysdefaulttest]=../include ../apps/include |
| 1137 |
DEPEND[sysdefaulttest]=../libcrypto ../libssl libtestutil.a |
| 1138 |
|
| 1139 |
SOURCE[errtest]=errtest.c |
| 1140 |
INCLUDE[errtest]=../include ../apps/include |
| 1141 |
DEPEND[errtest]=../libcrypto libtestutil.a |
| 1142 |
|
| 1143 |
SOURCE[aesgcmtest]=aesgcmtest.c |
| 1144 |
INCLUDE[aesgcmtest]=../include ../apps/include .. |
| 1145 |
DEPEND[aesgcmtest]=../libcrypto libtestutil.a |
| 1146 |
|
| 1147 |
PROGRAMS{noinst}=context_internal_test |
| 1148 |
SOURCE[context_internal_test]=context_internal_test.c |
| 1149 |
INCLUDE[context_internal_test]=.. ../include ../apps/include |
| 1150 |
DEPEND[context_internal_test]=../libcrypto libtestutil.a |
| 1151 |
|
| 1152 |
IF[{- !$disabled{zlib} || !$disabled{brotli} || !$disabled{zstd} -}] |
| 1153 |
PROGRAMS{noinst}=bio_comp_test |
| 1154 |
SOURCE[bio_comp_test]=bio_comp_test.c |
| 1155 |
INCLUDE[bio_comp_test]=../include ../apps/include |
| 1156 |
DEPEND[bio_comp_test]=../libcrypto libtestutil.a |
| 1157 |
ENDIF |
| 1158 |
|
| 1159 |
PROGRAMS{noinst}=provider_internal_test |
| 1160 |
DEFINE[provider_internal_test]=PROVIDER_INIT_FUNCTION_NAME=p_test_init |
| 1161 |
SOURCE[provider_internal_test]=provider_internal_test.c p_test.c |
| 1162 |
INCLUDE[provider_internal_test]=../include ../apps/include .. |
| 1163 |
DEPEND[provider_internal_test]=../libcrypto.a libtestutil.a |
| 1164 |
PROGRAMS{noinst}=provider_test |
| 1165 |
DEFINE[provider_test]=PROVIDER_INIT_FUNCTION_NAME=p_test_init |
| 1166 |
SOURCE[provider_test]=provider_test.c p_test.c |
| 1167 |
INCLUDE[provider_test]=../include ../apps/include .. |
| 1168 |
DEPEND[provider_test]=../libcrypto libtestutil.a |
| 1169 |
IF[{- !$disabled{module} -}] |
| 1170 |
MODULES{noinst}=p_test |
| 1171 |
SOURCE[p_test]=p_test.c |
| 1172 |
INCLUDE[p_test]=../include .. |
| 1173 |
IF[{- defined $target{shared_defflag} -}] |
| 1174 |
SOURCE[p_test]=p_test.ld |
| 1175 |
GENERATE[p_test.ld]=../util/providers.num |
| 1176 |
ENDIF |
| 1177 |
MODULES{noinst}=p_minimal |
| 1178 |
SOURCE[p_minimal]=p_minimal.c |
| 1179 |
INCLUDE[p_minimal]=../include .. |
| 1180 |
IF[{- defined $target{shared_defflag} -}] |
| 1181 |
SOURCE[p_minimal]=p_minimal.ld |
| 1182 |
GENERATE[p_minimal.ld]=../util/providers.num |
| 1183 |
ENDIF |
| 1184 |
ENDIF |
| 1185 |
IF[{- $disabled{module} || !$target{dso_scheme} -}] |
| 1186 |
DEFINE[provider_test]=NO_PROVIDER_MODULE |
| 1187 |
DEFINE[prov_config_test]=NO_PROVIDER_MODULE |
| 1188 |
DEFINE[provider_internal_test]=NO_PROVIDER_MODULE |
| 1189 |
ENDIF |
| 1190 |
DEPEND[]=provider_internal_test.cnf |
| 1191 |
GENERATE[provider_internal_test.cnf]=provider_internal_test.cnf.in |
| 1192 |
|
| 1193 |
PROGRAMS{noinst}=provider_fallback_test |
| 1194 |
SOURCE[provider_fallback_test]=provider_fallback_test.c |
| 1195 |
INCLUDE[provider_fallback_test]=../include ../apps/include |
| 1196 |
DEPEND[provider_fallback_test]=../libcrypto libtestutil.a |
| 1197 |
|
| 1198 |
PROGRAMS{noinst}=provider_pkey_test |
| 1199 |
SOURCE[provider_pkey_test]=provider_pkey_test.c fake_rsaprov.c |
| 1200 |
INCLUDE[provider_pkey_test]=../include ../apps/include |
| 1201 |
DEPEND[provider_pkey_test]=../libcrypto libtestutil.a |
| 1202 |
|
| 1203 |
PROGRAMS{noinst}=evp_skey_test |
| 1204 |
SOURCE[evp_skey_test]=evp_skey_test.c fake_cipherprov.c |
| 1205 |
INCLUDE[evp_skey_test]=../include ../apps/include |
| 1206 |
DEPEND[evp_skey_test]=../libcrypto libtestutil.a |
| 1207 |
|
| 1208 |
PROGRAMS{noinst}=provider_default_search_path_test |
| 1209 |
SOURCE[provider_default_search_path_test]=provider_default_search_path_test.c |
| 1210 |
INCLUDE[provider_default_search_path_test]=../include ../apps/include |
| 1211 |
DEPEND[provider_default_search_path_test]=../libcrypto libtestutil.a |
| 1212 |
|
| 1213 |
PROGRAMS{noinst}=params_test |
| 1214 |
SOURCE[params_test]=params_test.c |
| 1215 |
INCLUDE[params_test]=.. ../include ../apps/include |
| 1216 |
DEPEND[params_test]=../libcrypto libtestutil.a |
| 1217 |
|
| 1218 |
PROGRAMS{noinst}=hexstr_test |
| 1219 |
SOURCE[hexstr_test]=hexstr_test.c |
| 1220 |
INCLUDE[hexstr_test]=.. ../include ../apps/include |
| 1221 |
DEPEND[hexstr_test]=../libcrypto.a libtestutil.a |
| 1222 |
|
| 1223 |
PROGRAMS{noinst}=trace_api_test |
| 1224 |
SOURCE[trace_api_test]=trace_api_test.c |
| 1225 |
INCLUDE[trace_api_test]=.. ../include ../apps/include |
| 1226 |
DEPEND[trace_api_test]=../libcrypto libtestutil.a |
| 1227 |
|
| 1228 |
PROGRAMS{noinst}=endecode_test |
| 1229 |
SOURCE[endecode_test]=endecode_test.c helpers/predefined_dhparams.c |
| 1230 |
INCLUDE[endecode_test]=.. ../include ../apps/include |
| 1231 |
DEPEND[endecode_test]=../libcrypto.a libtestutil.a |
| 1232 |
IF[{- !$disabled{module} && !$disabled{legacy} -}] |
| 1233 |
DEFINE[endecode_test]=STATIC_LEGACY |
| 1234 |
SOURCE[endecode_test]=../providers/legacyprov.c |
| 1235 |
INCLUDE[endecode_test]=../providers/common/include \ |
| 1236 |
../providers/implementations/include |
| 1237 |
DEPEND[endecode_test]=../providers/liblegacy.a \ |
| 1238 |
../providers/libcommon.a |
| 1239 |
ENDIF |
| 1240 |
|
| 1241 |
IF[{- !$disabled{'deprecated-3.0'} -}] |
| 1242 |
PROGRAMS{noinst}=endecoder_legacy_test |
| 1243 |
SOURCE[endecoder_legacy_test]=endecoder_legacy_test.c |
| 1244 |
INCLUDE[endecoder_legacy_test]=.. ../include ../apps/include |
| 1245 |
DEPEND[endecoder_legacy_test]=../libcrypto.a libtestutil.a |
| 1246 |
ENDIF |
| 1247 |
|
| 1248 |
PROGRAMS{noinst}=decoder_propq_test |
| 1249 |
SOURCE[decoder_propq_test]=decoder_propq_test.c |
| 1250 |
INCLUDE[decoder_propq_test]=.. ../include ../apps/include |
| 1251 |
DEPEND[decoder_propq_test]=../libcrypto libtestutil.a |
| 1252 |
|
| 1253 |
PROGRAMS{noinst}=namemap_internal_test |
| 1254 |
SOURCE[namemap_internal_test]=namemap_internal_test.c |
| 1255 |
INCLUDE[namemap_internal_test]=.. ../include ../apps/include |
| 1256 |
DEPEND[namemap_internal_test]=../libcrypto.a libtestutil.a |
| 1257 |
|
| 1258 |
PROGRAMS{noinst}=bio_prefix_text |
| 1259 |
SOURCE[bio_prefix_text]=bio_prefix_text.c |
| 1260 |
INCLUDE[bio_prefix_text]=.. ../include ../apps/include |
| 1261 |
DEPEND[bio_prefix_text]=../libcrypto libtestutil.a |
| 1262 |
|
| 1263 |
PROGRAMS{noinst}=mem_alloc_test |
| 1264 |
SOURCE[mem_alloc_test]=mem_alloc_test.c |
| 1265 |
INCLUDE[mem_alloc_test]=../include ../apps/include |
| 1266 |
DEPEND[mem_alloc_test]=../libcrypto libtestutil.a |
| 1267 |
|
| 1268 |
PROGRAMS{noinst}=mem_alloc_custom_fns_test |
| 1269 |
SOURCE[mem_alloc_custom_fns_test]=mem_alloc_custom_fns_test.c |
| 1270 |
INCLUDE[mem_alloc_custom_fns_test]=../include ../apps/include |
| 1271 |
DEPEND[mem_alloc_custom_fns_test]=../libcrypto libtestutil.a |
| 1272 |
|
| 1273 |
IF[{- !$disabled{'deprecated-3.0'} -}] |
| 1274 |
PROGRAMS{noinst}=pem_read_depr_test |
| 1275 |
SOURCE[pem_read_depr_test]=pem_read_depr_test.c |
| 1276 |
INCLUDE[pem_read_depr_test]=../include ../apps/include |
| 1277 |
DEPEND[pem_read_depr_test]=../libcrypto libtestutil.a |
| 1278 |
ENDIF |
| 1279 |
ENDIF |
| 1280 |
|
| 1281 |
SOURCE[ssl_ctx_test]=ssl_ctx_test.c |
| 1282 |
INCLUDE[ssl_ctx_test]=../include ../apps/include |
| 1283 |
DEPEND[ssl_ctx_test]=../libcrypto ../libssl libtestutil.a |
| 1284 |
|
| 1285 |
SOURCE[build_wincrypt_test]=build_wincrypt_test.c |
| 1286 |
INCLUDE[build_wincrypt_test]=../include |
| 1287 |
DEPEND[build_wincrypt_test]=../libssl ../libcrypto |
| 1288 |
|
| 1289 |
IF[{- !$disabled{shared} -}] |
| 1290 |
PROGRAMS{noinst}=timing_load_creds |
| 1291 |
SOURCE[timing_load_creds]=timing_load_creds.c |
| 1292 |
INCLUDE[timing_load_creds]=../include |
| 1293 |
DEPEND[timing_load_creds]=../libcrypto |
| 1294 |
ENDIF |
| 1295 |
|
| 1296 |
IF[{- !$disabled{'quic'} -}] |
| 1297 |
PROGRAMS{noinst}=quic_wire_test quic_ackm_test quic_record_test |
| 1298 |
PROGRAMS{noinst}=quic_fc_test quic_stream_test quic_cfq_test quic_txpim_test |
| 1299 |
PROGRAMS{noinst}=quic_srtm_test quic_lcidm_test quic_rcidm_test |
| 1300 |
PROGRAMS{noinst}=quic_fifd_test quic_txp_test quic_tserver_test |
| 1301 |
PROGRAMS{noinst}=quic_client_test quic_cc_test quic_multistream_test |
| 1302 |
PROGRAMS{noinst}=quic_radix_test |
| 1303 |
|
| 1304 |
SOURCE[quic_ackm_test]=quic_ackm_test.c cc_dummy.c |
| 1305 |
INCLUDE[quic_ackm_test]=../include ../apps/include |
| 1306 |
DEPEND[quic_ackm_test]=../libcrypto ../libssl.a libtestutil.a |
| 1307 |
|
| 1308 |
SOURCE[quic_cc_test]=quic_cc_test.c |
| 1309 |
INCLUDE[quic_cc_test]=../include ../apps/include |
| 1310 |
DEPEND[quic_cc_test]=../libcrypto ../libssl.a libtestutil.a |
| 1311 |
ENDIF |
| 1312 |
|
| 1313 |
SOURCE[cert_comp_test]=cert_comp_test.c helpers/ssltestlib.c |
| 1314 |
INCLUDE[cert_comp_test]=../include ../apps/include .. |
| 1315 |
DEPEND[cert_comp_test]=../libcrypto.a ../libssl.a libtestutil.a |
| 1316 |
|
| 1317 |
SOURCE[x509_acert_test]=x509_acert_test.c |
| 1318 |
INCLUDE[x509_acert_test]=../include ../apps/include |
| 1319 |
DEPEND[x509_acert_test]=../libcrypto libtestutil.a |
| 1320 |
|
| 1321 |
SOURCE[x509_req_test]=x509_req_test.c |
| 1322 |
INCLUDE[x509_req_test]=../include ../apps/include |
| 1323 |
DEPEND[x509_req_test]=../libcrypto libtestutil.a |
| 1324 |
|
| 1325 |
SOURCE[strtoultest]=strtoultest.c |
| 1326 |
INCLUDE[strtoultest]=../include ../apps/include |
| 1327 |
DEPEND[strtoultest]=../libcrypto libtestutil.a |
| 1328 |
|
| 1329 |
SOURCE[bio_pw_callback_test]=bio_pw_callback_test.c |
| 1330 |
INCLUDE[bio_pw_callback_test]=../include ../apps/include |
| 1331 |
DEPEND[bio_pw_callback_test]=../libcrypto libtestutil.a |
| 1332 |
|
| 1333 |
{- |
| 1334 |
use File::Spec::Functions; |
| 1335 |
use File::Basename; |
| 1336 |
use OpenSSL::Glob; |
| 1337 |
|
| 1338 |
my @nogo_headers = ( "opensslconf.h", |
| 1339 |
"__decc_include_prologue.h", |
| 1340 |
"__decc_include_epilogue.h" ); |
| 1341 |
my @nogo_headers_re = ( qr/.*err\.h/ ); |
| 1342 |
my @headerfiles = glob catfile($sourcedir, |
| 1343 |
updir(), "include", "openssl", "*.h"); |
| 1344 |
|
| 1345 |
foreach my $headerfile (@headerfiles) { |
| 1346 |
my $name = basename($headerfile, ".h"); |
| 1347 |
next if $disabled{$name}; |
| 1348 |
next if grep { $_ eq lc("$name.h") } @nogo_headers; |
| 1349 |
next if grep { lc("$name.h") =~ m/$_/i } @nogo_headers_re; |
| 1350 |
$OUT .= <<"_____"; |
| 1351 |
|
| 1352 |
PROGRAMS{noinst}=buildtest_c_$name |
| 1353 |
SOURCE[buildtest_c_$name]=buildtest_$name.c |
| 1354 |
GENERATE[buildtest_$name.c]=generate_buildtest.pl $name |
| 1355 |
INCLUDE[buildtest_c_$name]=../include |
| 1356 |
DEPEND[buildtest_c_$name]=../libssl ../libcrypto |
| 1357 |
_____ |
| 1358 |
$OUT .= <<"_____" if $config{CXX} && !$disabled{"buildtest-c++"}; |
| 1359 |
|
| 1360 |
PROGRAMS{noinst}=buildtest_cc_$name |
| 1361 |
SOURCE[buildtest_cc_$name]=buildtest_$name.cc |
| 1362 |
GENERATE[buildtest_$name.cc]=generate_buildtest.pl $name |
| 1363 |
INCLUDE[buildtest_cc_$name]=../include |
| 1364 |
DEPEND[buildtest_cc_$name]=../libssl ../libcrypto |
| 1365 |
_____ |
| 1366 |
} |
| 1367 |
-} |