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