Damian Hobson-Garcia 11cd18c60d x509_acert: Add more parsing and printing tests hai 8 meses
..
certs 11cd18c60d x509_acert: Add more parsing and printing tests hai 6 meses
ct 92c03668c0 Add config_diagnostics to our configuration files. %!s(int64=3) %!d(string=hai) anos
d2i-tests a378a46985 add test for CVE-2016-7053 %!s(int64=8) %!d(string=hai) anos
helpers b646179229 Copyright year updates hai 7 meses
ocsp-tests cf8422480a s_server: test ocsp with "-cert_chain" hai 8 meses
recipes 11cd18c60d x509_acert: Add more parsing and printing tests hai 6 meses
smime-certs ffed597882 cms: avoid intermittent test failure hai 11 meses
smime-eml 61203c2c59 test: add test case for deadlock reported in #19643 hai 1 ano
ssl-tests 0977eac565 Adjust tests that were depending on X25519 and X448 in fips hai 7 meses
testutil 556009c596 Copyright year updates hai 1 ano
CAtsa.cnf 10536b7f5b Changed the default value of the "ess_cert_id_alg" option hai 1 ano
README-dev.md badf3c162d testutil: allow a failure return from setup_tests that doesn't print help hai 1 ano
README-external.md f3f3f86a14 updated (lib+)oqsprovider to latest releases hai 1 ano
README.md cf424d1da0 Fix instructions for running tests on Windows hai 11 meses
README.ssltest.md eec204f4b1 Make running individual ssl-test easier %!s(int64=2) %!d(string=hai) anos
aborttest.c 909f1a2e51 Following the license change, modify the boilerplates in test/ %!s(int64=6) %!d(string=hai) anos
acvp_test.c 2cba2e160d Fix the checks of EVP_PKEY_CTX_set/get_* functions %!s(int64=2) %!d(string=hai) anos
acvp_test.inc 3a1ee3c199 Drop OPENSSL_NO_RSA everywhere %!s(int64=3) %!d(string=hai) anos
aesgcmtest.c 3fd255acb7 Remove FIPS condition on IV gen test. %!s(int64=2) %!d(string=hai) anos
afalgtest.c 556009c596 Copyright year updates hai 1 ano
algorithmid_test.c 2349d7ba57 Fix the return check of OBJ_obj2txt %!s(int64=3) %!d(string=hai) anos
asn1_decode_test.c b646179229 Copyright year updates hai 7 meses
asn1_dsa_internal_test.c eec0ad10b9 Update copyright year %!s(int64=4) %!d(string=hai) anos
asn1_encode_test.c 54b4053130 Update copyright year %!s(int64=3) %!d(string=hai) anos
asn1_internal_test.c da1c088f59 Copyright year updates hai 1 ano
asn1_stable_parse_test.c b646179229 Copyright year updates hai 7 meses
asn1_string_table_test.c 275a7b9e5e typo ANS1 -> ASN1 %!s(int64=6) %!d(string=hai) anos
asn1_time_test.c b646179229 Copyright year updates hai 7 meses
asynciotest.c 20f8bc7255 test cleanup: move helper .c and .h files to test/helpers/ %!s(int64=4) %!d(string=hai) anos
asynctest.c c5d061290b test: Fix memory leak of asynctest %!s(int64=2) %!d(string=hai) anos
bad_dtls_test.c ef9ac2f9b8 test/bad_dtls_test.c: Add checks for the EVP_MD_CTX_get_size() hai 7 meses
bftest.c 1287dabd0b fix some code with obvious wrong coding style %!s(int64=3) %!d(string=hai) anos
bio_addr_test.c 581c87b088 Fix the BIO_addr test hai 1 ano
bio_callback_test.c 38fc02a708 Update copyright year %!s(int64=3) %!d(string=hai) anos
bio_comp_test.c bb2bbd53d4 Fix a compilation failure in bio_comp_test.c %!s(int64=2) %!d(string=hai) anos
bio_core_test.c da1c088f59 Copyright year updates hai 1 ano
bio_dgram_test.c 58165d8da4 Further fix in bio_dgram_test for BIO_s_dgram_mem() hai 1 ano
bio_enc_test.c fecb3aae22 Update copyright year %!s(int64=2) %!d(string=hai) anos
bio_memleak_test.c 9e5bd8923b Fix SMIME_crlf_copy() to properly report an error hai 1 ano
bio_meth_test.c d60b37506d Fix BIO_get_new_index() to return an error when it is exhausted. hai 8 meses
bio_prefix_text.c a9ed63f1d1 BIO_set_indent: fix return check %!s(int64=3) %!d(string=hai) anos
bio_readbuffer_test.c 251c48183b Fix DER reading from stdin for BIO_f_readbuffer %!s(int64=3) %!d(string=hai) anos
bio_tfo_test.c d272ef5372 Fix asan finding in bio_tfo_test %!s(int64=2) %!d(string=hai) anos
bioprinttest.c c4683009ad TEST: Adjust test/bioprinttest.c to behave like the testutil routines %!s(int64=4) %!d(string=hai) anos
bn_internal_test.c 8020d79b40 Update copyright year %!s(int64=3) %!d(string=hai) anos
bn_rand_range.h 5d2f3e4a6c Test of uniformity of BN_rand_range output. %!s(int64=5) %!d(string=hai) anos
bntest.c b83c719ecb Extend the test of BN_GF2m_mod_inv hai 11 meses
bntests.pl 909f1a2e51 Following the license change, modify the boilerplates in test/ %!s(int64=6) %!d(string=hai) anos
build.info f90d97caab x509_acert: Add simple API tests hai 6 meses
build_wincrypt_test.c da1c088f59 Copyright year updates hai 1 ano
ca-and-certs.cnf 342e3652c7 APPS: generated certs bear X.509 V3, unless -x509v1 option of req app is given hai 1 ano
ca_internals_test.c 6097eb2152 libcrypto and test: rename asn1_string_to_time_t to ossl_asn1_string_to_time_t %!s(int64=2) %!d(string=hai) anos
casttest.c 33388b44b6 Update copyright year %!s(int64=4) %!d(string=hai) anos
cc_dummy.c da1c088f59 Copyright year updates hai 1 ano
cert_comp_test.c dc45bfb4b4 Fix coverity 1516095 deadcode %!s(int64=2) %!d(string=hai) anos
chacha_internal_test.c 556009c596 Copyright year updates hai 1 ano
cipher_overhead_test.c a28d06f3e9 Update copyright year %!s(int64=3) %!d(string=hai) anos
cipherbytes_test.c 6ac1cd10ba Fix safestack issues in ssl.h %!s(int64=4) %!d(string=hai) anos
cipherlist_test.c d1b26ddbf6 Allow cipher strings to be given using its standard name %!s(int64=3) %!d(string=hai) anos
ciphername_test.c 6ac1cd10ba Fix safestack issues in ssl.h %!s(int64=4) %!d(string=hai) anos
clienthellotest.c 1287dabd0b fix some code with obvious wrong coding style %!s(int64=3) %!d(string=hai) anos
cmactest.c 6ea4da6e4d Fix new typos found by codespell hai 1 ano
cmp_asn_test.c da1c088f59 Copyright year updates hai 1 ano
cmp_client_test.c bedffe1731 crypto/cmp/,apps/lib/cmp_mock_srv.c: various improvements on delayed delivery hai 11 meses
cmp_ctx_test.c c8ca810da9 Don't free aliased pointers in ctx cmp_ctx tests hai 11 meses
cmp_hdr_test.c da1c088f59 Copyright year updates hai 1 ano
cmp_msg_test.c da1c088f59 Copyright year updates hai 1 ano
cmp_protect_test.c 91a5c0e40c cmp: add null pointer check in tear_down test function hai 1 ano
cmp_server_test.c bedffe1731 crypto/cmp/,apps/lib/cmp_mock_srv.c: various improvements on delayed delivery hai 11 meses
cmp_status_test.c 357bfe7345 CMP+CRMF: fix formatting nits in crypto/, include/, and test/ %!s(int64=2) %!d(string=hai) anos
cmp_vfy_test.c da1c088f59 Copyright year updates hai 1 ano
cms-examples.pl 909f1a2e51 Following the license change, modify the boilerplates in test/ %!s(int64=6) %!d(string=hai) anos
cmsapitest.c da1c088f59 Copyright year updates hai 1 ano
conf_include_test.c e389f56fae Add config tests for including provider config files hai 1 ano
confdump.c 38fc02a708 Update copyright year %!s(int64=3) %!d(string=hai) anos
constant_time_test.c 1287dabd0b fix some code with obvious wrong coding style %!s(int64=3) %!d(string=hai) anos
context_internal_test.c fecb3aae22 Update copyright year %!s(int64=2) %!d(string=hai) anos
crltest.c fecb3aae22 Update copyright year %!s(int64=2) %!d(string=hai) anos
ct_test.c 264ff64b94 Invoke tear_down when exiting test_encode_tls_sct() prematurely hai 6 meses
ctype_internal_test.c 25f2138b0a Reorganize private crypto header files %!s(int64=5) %!d(string=hai) anos
curve448_internal_test.c da1c088f59 Copyright year updates hai 1 ano
d2i_test.c 33388b44b6 Update copyright year %!s(int64=4) %!d(string=hai) anos
dane-cross.in 7585073892 Apply the correct Apache v2 license %!s(int64=2) %!d(string=hai) anos
danetest.c 79b2a2f2ee add OSSL_STACK_OF_X509_free() for commonly used pattern %!s(int64=2) %!d(string=hai) anos
danetest.in c8fe4b5948 Add last missing TLSA usage/selector/mtype test case hai 11 meses
danetest.pem 170b735820 DANE support for X509_verify_cert() %!s(int64=8) %!d(string=hai) anos
data.bin c150a94857 TEST: Make our test data binary %!s(int64=4) %!d(string=hai) anos
data2.bin cede07dc51 Remove the external BoringSSL test %!s(int64=3) %!d(string=hai) anos
decoder_propq_test.c 39ed7636e0 Fix decoders so that they use the passed in propq. hai 1 ano
default-and-fips.cnf 506ff20662 Make the activate setting more intuitive hai 11 meses
default-and-legacy.cnf 92c03668c0 Add config_diagnostics to our configuration files. %!s(int64=3) %!d(string=hai) anos
default.cnf 506ff20662 Make the activate setting more intuitive hai 11 meses
defltfips_test.c 9d987de3aa Fix copyrights %!s(int64=2) %!d(string=hai) anos
destest.c da1c088f59 Copyright year updates hai 1 ano
dhkem_test.inc da1c088f59 Copyright year updates hai 1 ano
dhtest.c da1c088f59 Copyright year updates hai 1 ano
drbgtest.c 0339382aba Remove all references to FLOSS for NonStop Builds. hai 6 meses
dsa_no_digest_size_test.c 33388b44b6 Update copyright year %!s(int64=4) %!d(string=hai) anos
dsatest.c 1fa2bf9b18 Fix handling of NULL sig parameter in ECDSA_sign and similar hai 7 meses
dtls_mtu_test.c 38b051a1fe SSL object refactoring using SSL_CONNECTION object %!s(int64=2) %!d(string=hai) anos
dtlstest.c da1c088f59 Copyright year updates hai 1 ano
dtlsv1listentest.c 909f1a2e51 Following the license change, modify the boilerplates in test/ %!s(int64=6) %!d(string=hai) anos
ec_internal_test.c d93f154d5a Add test for EC_KEY_set_private_key() %!s(int64=2) %!d(string=hai) anos
ecdsatest.c 1fa2bf9b18 Fix handling of NULL sig parameter in ECDSA_sign and similar hai 7 meses
ecdsatest.h ae4186b004 Fix header file include guard names %!s(int64=5) %!d(string=hai) anos
ecstresstest.c e493d6e0ca APPS & TEST: Use ossl_[u]intmax_t rather than [u]intmax_t %!s(int64=3) %!d(string=hai) anos
ectest.c bbaeadb068 "foo * bar" should be "foo *bar" hai 1 ano
endecode_test.c da1c088f59 Copyright year updates hai 1 ano
endecoder_legacy_test.c 01fb4bff9b test: fix coverity 1469427 Improper use of negative value (NEGATIVE_RETURNS) %!s(int64=3) %!d(string=hai) anos
enginetest.c fecb3aae22 Update copyright year %!s(int64=2) %!d(string=hai) anos
errtest.c d3bb8fe73d Add a test for OSSL_ERR_STATE_save_to_mark() hai 1 ano
event_queue_test.c d13c8b7725 Make OSSL_TIME a structure %!s(int64=2) %!d(string=hai) anos
evp_extra_test.c 299996fb1f Handle empty param in EVP_PKEY_CTX_add1_hkdf_info hai 7 meses
evp_extra_test2.c b646179229 Copyright year updates hai 7 meses
evp_fetch_prov_test.c 506ff20662 Make the activate setting more intuitive hai 11 meses
evp_kdf_test.c b646179229 Copyright year updates hai 7 meses
evp_libctx_test.c b646179229 Copyright year updates hai 7 meses
evp_pkey_ctx_new_from_name.c 2d96bfd957 Testing the EVP_PKEY_CTX_new_from_name without preliminary init %!s(int64=2) %!d(string=hai) anos
evp_pkey_dhkem_test.c da1c088f59 Copyright year updates hai 1 ano
evp_pkey_dparams_test.c fecb3aae22 Update copyright year %!s(int64=2) %!d(string=hai) anos
evp_pkey_provided_test.c b646179229 Copyright year updates hai 7 meses
evp_test.c b646179229 Copyright year updates hai 7 meses
evp_xof_test.c 5366490822 Add EVP_DigestSqueeze() API. hai 1 ano
exdatatest.c 3c2bdd7df9 Update copyright year %!s(int64=3) %!d(string=hai) anos
exptest.c da1c088f59 Copyright year updates hai 1 ano
ext_internal_test.c da1c088f59 Copyright year updates hai 1 ano
fake_rsaprov.c 64129008fb Add Test to verify open_ex password checking works hai 1 ano
fake_rsaprov.h 556009c596 Copyright year updates hai 1 ano
fatalerrtest.c 20f8bc7255 test cleanup: move helper .c and .h files to test/helpers/ %!s(int64=4) %!d(string=hai) anos
ffc_internal_test.c eaee1765a4 DH_check_pub_key() should not fail when setting result code hai 1 ano
filterprov.c da1c088f59 Copyright year updates hai 1 ano
filterprov.h b0001d0cf2 provider: add an unquery function to allow providers to clean up. %!s(int64=3) %!d(string=hai) anos
fips-alt.cnf ca7cac886b Add some testing for the case where the FIPS provider fails to load %!s(int64=3) %!d(string=hai) anos
fips-and-base.cnf d8523bf162 test: note that a default property query must be included for FIPS validity hai 1 ano
fips.cnf 92c03668c0 Add config_diagnostics to our configuration files. %!s(int64=3) %!d(string=hai) anos
fips_version_test.c e1289d90d0 With fips provider 3.0.0 skip tests related to explicit curves handling %!s(int64=2) %!d(string=hai) anos
generate_buildtest.pl 909f1a2e51 Following the license change, modify the boilerplates in test/ %!s(int64=6) %!d(string=hai) anos
generate_ssl_tests.pl 38fc02a708 Update copyright year %!s(int64=3) %!d(string=hai) anos
gmdifftest.c a7a7e6e3a6 Reduce the runtime/output from the gmdiff test %!s(int64=3) %!d(string=hai) anos
hexstr_test.c 3c2bdd7df9 Update copyright year %!s(int64=3) %!d(string=hai) anos
hmactest.c 27f7f52765 Add test case to verify that the use after free issue is fixed. %!s(int64=2) %!d(string=hai) anos
hpke_test.c a1c0306895 Add additional internal HPKE hardening checks resulting from code audit. hai 1 ano
http_test.c b646179229 Copyright year updates hai 7 meses
ideatest.c 33388b44b6 Update copyright year %!s(int64=4) %!d(string=hai) anos
igetest.c 7573fe1af5 Deprecate the AES_ige_*() functions %!s(int64=5) %!d(string=hai) anos
insta.priv.pem db226bf20f Remove executable mode attributes of non-executable files %!s(int64=3) %!d(string=hai) anos
insta_ca.cert.pem db226bf20f Remove executable mode attributes of non-executable files %!s(int64=3) %!d(string=hai) anos
invalid-x509.cnf bac7e687d7 Validate config options during x509 extension creation hai 10 meses
json_test.c b646179229 Copyright year updates hai 7 meses
keymgmt_internal_test.c b646179229 Copyright year updates hai 7 meses
legacy.cnf 92c03668c0 Add config_diagnostics to our configuration files. %!s(int64=3) %!d(string=hai) anos
lhash_test.c 2a54ec0bdd adding a multithreaded hashtable test hai 6 meses
list_test.c 3077341126 list: add debug sanity checks %!s(int64=2) %!d(string=hai) anos
localetest.c cf91a2b3c1 Include the e_os.h before string.h %!s(int64=2) %!d(string=hai) anos
mdc2_internal_test.c 33388b44b6 Update copyright year %!s(int64=4) %!d(string=hai) anos
mdc2test.c f2a6f83862 Cleanup : directly include of `internal/nelem.h` when required. %!s(int64=2) %!d(string=hai) anos
membio_test.c da1c088f59 Copyright year updates hai 1 ano
memleaktest.c aff636a489 Update copyright year %!s(int64=3) %!d(string=hai) anos
modes_internal_test.c 1287dabd0b fix some code with obvious wrong coding style %!s(int64=3) %!d(string=hai) anos
moduleloadtest.c 3c2bdd7df9 Update copyright year %!s(int64=3) %!d(string=hai) anos
namemap_internal_test.c 3c2bdd7df9 Update copyright year %!s(int64=3) %!d(string=hai) anos
nodefltctxtest.c 0aa7d7f42b Add a test for no initialisation of the default config file hai 1 ano
null.cnf 0aa7d7f42b Add a test for no initialisation of the default config file hai 1 ano
ocspapitest.c 556009c596 Copyright year updates hai 1 ano
ossl_store_test.c 1287dabd0b fix some code with obvious wrong coding style %!s(int64=3) %!d(string=hai) anos
p_minimal.c 31c2c12f2d Add a minimal test provider hai 11 meses
p_test.c da1c088f59 Copyright year updates hai 1 ano
packettest.c da1c088f59 Copyright year updates hai 1 ano
pairwise_fail_test.c b646179229 Copyright year updates hai 7 meses
param_build_test.c da1c088f59 Copyright year updates hai 1 ano
params_api_test.c b646179229 Copyright year updates hai 7 meses
params_conversion_test.c fecb3aae22 Update copyright year %!s(int64=2) %!d(string=hai) anos
params_test.c b646179229 Copyright year updates hai 7 meses
pathed.cnf 91a77cbf66 Add test for OSSL_PROVIDER_load with module path set hai 7 meses
pbelutest.c 909f1a2e51 Following the license change, modify the boilerplates in test/ %!s(int64=6) %!d(string=hai) anos
pbetest.c da1c088f59 Copyright year updates hai 1 ano
pem_read_depr_test.c 54b4053130 Update copyright year %!s(int64=3) %!d(string=hai) anos
pemtest.c da1c088f59 Copyright year updates hai 1 ano
pkcs12_api_test.c da1c088f59 Copyright year updates hai 1 ano
pkcs12_format_test.c 556009c596 Copyright year updates hai 1 ano
pkcs7-1.pem d02b48c63a Import of old SSLeay release: SSLeay 0.8.1b %!s(int64=26) %!d(string=hai) anos
pkcs7.pem d02b48c63a Import of old SSLeay release: SSLeay 0.8.1b %!s(int64=26) %!d(string=hai) anos
pkcs7_test.c f505161e62 Fix PKCS7_verify to not have an error stack if it succeeds. %!s(int64=3) %!d(string=hai) anos
pkey_meth_kdf_test.c 6b566687b5 Fix EVP_PKEY_CTX_add1_hkdf_info() behavior hai 7 meses
pkey_meth_test.c 0f84cbc3e2 Update copyright year %!s(int64=4) %!d(string=hai) anos
pkits-test.pl 909f1a2e51 Following the license change, modify the boilerplates in test/ %!s(int64=6) %!d(string=hai) anos
poly1305_internal_test.c 3d5a7578e0 Add ChaCha related ciphers to default provider %!s(int64=5) %!d(string=hai) anos
priority_queue_test.c 0efcf1384f Add unit test for #22644 hai 1 ano
property_test.c 986c48c4eb Add overflow checks to parse_number/parse_hex/parse_oct hai 11 meses
prov_config_test.c 6ee369cd6e Fix missing NULL check in prov_config_test hai 6 meses
provfetchtest.c da1c088f59 Copyright year updates hai 1 ano
provider_default_search_path_test.c d3db25f568 Implement OSSL_PROVIDER_get0_default_search_path, add docs and tests. hai 1 ano
provider_fallback_test.c 38fc02a708 Update copyright year %!s(int64=3) %!d(string=hai) anos
provider_internal_test.c da1c088f59 Copyright year updates hai 1 ano
provider_internal_test.cnf.in 92c03668c0 Add config_diagnostics to our configuration files. %!s(int64=3) %!d(string=hai) anos
provider_pkey_test.c 556009c596 Copyright year updates hai 1 ano
provider_status_test.c 866376432b Add test for provider gettables %!s(int64=3) %!d(string=hai) anos
provider_test.c 50b3c47b65 test_provider_ex(): Add missing call failure checks hai 1 ano
proxy.cnf 92c03668c0 Add config_diagnostics to our configuration files. %!s(int64=3) %!d(string=hai) anos
punycode_test.c da1c088f59 Copyright year updates hai 1 ano
quic_ackm_test.c da1c088f59 Copyright year updates hai 1 ano
quic_cc_test.c da1c088f59 Copyright year updates hai 1 ano
quic_cfq_test.c da1c088f59 Copyright year updates hai 1 ano
quic_client_test.c c062403abd OpenSSL 3.2.0, QUIC, macOS, error 56 on connected UDP socket hai 7 meses
quic_fc_test.c b646179229 Copyright year updates hai 7 meses
quic_fifd_test.c b646179229 Copyright year updates hai 7 meses
quic_lcidm_test.c 935aa14344 QUIC LCIDM: Minor fixes hai 11 meses
quic_multistream_test.c b646179229 Copyright year updates hai 7 meses
quic_newcid_test.c 8d8c0a901e Add the ability to do client side tracing in quictestlib.c hai 1 ano
quic_qlog_test.c 8d8866aff3 QUIC QLOG: Fix ANSI hai 8 meses
quic_rcidm_test.c b646179229 Copyright year updates hai 7 meses
quic_record_test.c 56f9828382 QUIC QRL TEST: Remove dependency on legacy DEMUX-QRX routing hai 11 meses
quic_record_test_util.h da1c088f59 Copyright year updates hai 1 ano
quic_srt_gen_test.c e64ad80c72 QUIC SRT GEN: Minor updates hai 11 meses
quic_srtm_test.c 90a1115799 QUIC SRTM: Add test hai 11 meses
quic_stream_test.c 115ee28263 QUIC SSTREAM: Fix bug in ossl_quic_sstream_is_totally_acked hai 1 ano
quic_tserver_test.c d73299136e quic_tserver_test: Raise the initial timeout limit hai 1 ano
quic_txp_test.c 5d49f9ef9a QUIC TXP TEST: Remove dependency on legacy DEMUX-QRX routing hai 11 meses
quic_txpim_test.c d77aea5916 QUIC TXPIM %!s(int64=2) %!d(string=hai) anos
quic_wire_test.c da1c088f59 Copyright year updates hai 1 ano
quicapitest.c 0977eac565 Adjust tests that were depending on X25519 and X448 in fips hai 7 meses
quicfaultstest.c b646179229 Copyright year updates hai 7 meses
rand_status_test.c 4516bf7422 rand: instantiate the DRBGs upon first use. %!s(int64=4) %!d(string=hai) anos
rand_test.c d05e0e40d7 Add test case for uniform random generators hai 1 ano
rc2test.c 33388b44b6 Update copyright year %!s(int64=4) %!d(string=hai) anos
rc4test.c 33388b44b6 Update copyright year %!s(int64=4) %!d(string=hai) anos
rc5test.c 33388b44b6 Update copyright year %!s(int64=4) %!d(string=hai) anos
rdcpu_sanitytest.c fecb3aae22 Update copyright year %!s(int64=2) %!d(string=hai) anos
recordlentest.c da1c088f59 Copyright year updates hai 1 ano
recursive.cnf 682fd21afb Detect and prevent recursive config parsing hai 11 meses
rpktest.c 4032cd9a14 configure: introduce no-ecx to remove ECX related feature hai 1 ano
rsa_complex.c 2de00f4f1e djgpp: Skip test/rsa_complex.c %!s(int64=2) %!d(string=hai) anos
rsa_mp_test.c da1c088f59 Copyright year updates hai 1 ano
rsa_sp800_56b_test.c 8b268541d9 rsa: Add SP800-56Br2 6.4.1.2.1 (3.c) check hai 1 ano
rsa_test.c 0bf18140f4 Fix Coverity 1547856: memset() uses only the lowest byte of c hai 1 ano
rsa_x931_test.c da1c088f59 Copyright year updates hai 1 ano
run_tests.pl 5528bfbc64 Use GH action commands to group/collapse filtered output hai 11 meses
safe_math_test.c fecb3aae22 Update copyright year %!s(int64=2) %!d(string=hai) anos
sanitytest.c da1c088f59 Copyright year updates hai 1 ano
secmemtest.c fecb3aae22 Update copyright year %!s(int64=2) %!d(string=hai) anos
serverinfo.pem c655f40ed2 Require ServerInfo PEMs to be named "BEGIN SERVERINFO FOR"... %!s(int64=11) %!d(string=hai) anos
serverinfo2.pem b878afae4b Add a SERVERINFOV2 format test file %!s(int64=7) %!d(string=hai) anos
servername_test.c 66325793cc test: fix coverity 1451534: improper use of negative value %!s(int64=3) %!d(string=hai) anos
session.pem 6cf2dbd9fa Don't store the ticket nonce in the session %!s(int64=6) %!d(string=hai) anos
sha_test.c 43ba1573ce test: add test cases for SHAxxx helper functions %!s(int64=3) %!d(string=hai) anos
shibboleth.pfx 70bf33d182 Add PKCS#12 UTF-8 interoperability test. %!s(int64=8) %!d(string=hai) anos
shlibloadtest.c 3c2bdd7df9 Update copyright year %!s(int64=3) %!d(string=hai) anos
simpledynamic.c 54b4053130 Update copyright year %!s(int64=3) %!d(string=hai) anos
simpledynamic.h 0652197407 TEST: Modify simpledynamic.[ch] to allow use on VMS as well %!s(int64=3) %!d(string=hai) anos
siphash_internal_test.c b646179229 Copyright year updates hai 7 meses
sm2_internal_test.c d6a8adeccd Add check for public key presence on sm2 signing hai 7 meses
sm3_internal_test.c 7585073892 Apply the correct Apache v2 license %!s(int64=2) %!d(string=hai) anos
sm4_internal_test.c 3c2bdd7df9 Update copyright year %!s(int64=3) %!d(string=hai) anos
smcont.bin 5771017d06 apps/cms.c: Correct -sign output and -verify input with -binary %!s(int64=3) %!d(string=hai) anos
smcont.txt 382bb0b294 test/smcont.txt: trigger assertion in bio_enc.c. %!s(int64=8) %!d(string=hai) anos
smcont_zero.txt 947fb81345 Tests for processing zero-length content in SMIME format %!s(int64=4) %!d(string=hai) anos
sparse_array_test.c 38fc02a708 Update copyright year %!s(int64=3) %!d(string=hai) anos
srptest.c a28d06f3e9 Update copyright year %!s(int64=3) %!d(string=hai) anos
ssl_cert_table_internal_test.c 1555c86e5f Cast values to match printf format strings. %!s(int64=2) %!d(string=hai) anos
ssl_ctx_test.c da1c088f59 Copyright year updates hai 1 ano
ssl_handshake_rtt_test.c cee0628e0d [feat] SSL RTT in both client and server statem. SSL_get_handshake_rtt makes it available hai 1 ano
ssl_old_test.c b646179229 Copyright year updates hai 7 meses
ssl_test.c da1c088f59 Copyright year updates hai 1 ano
ssl_test.tmpl f4941736a9 test/ssl_test.tmpl: make it work with elderly perl. %!s(int64=8) %!d(string=hai) anos
ssl_test_ctx_test.c 20f8bc7255 test cleanup: move helper .c and .h files to test/helpers/ %!s(int64=4) %!d(string=hai) anos
ssl_test_ctx_test.cnf 433deaffce Use .cnf for config files, not .conf %!s(int64=4) %!d(string=hai) anos
sslapitest.c 972ee925b1 Use empty renegotiate extension instead of SCSV for TLS > 1.0 hai 6 meses
sslbuffertest.c da1c088f59 Copyright year updates hai 1 ano
sslcorrupttest.c d8eb0e1988 tests: clear error queue before executing a testcase %!s(int64=2) %!d(string=hai) anos
stack_test.c 1287dabd0b fix some code with obvious wrong coding style %!s(int64=3) %!d(string=hai) anos
sysdefault.cnf 17b4277d9a Test that incorrect entry in the ssl section is not fatal hai 11 meses
sysdefaulttest.c 909f1a2e51 Following the license change, modify the boilerplates in test/ %!s(int64=6) %!d(string=hai) anos
test.cnf 387418893e Fix openssl req with -addext subjectAltName=dirName hai 7 meses
test_asn1_parse.cnf a552c23c65 Harden asn1 oid loader to invalid inputs hai 11 meses
test_test.c 6162a2402d test: placate Clang's --Wbitwise-instead-of-logical %!s(int64=2) %!d(string=hai) anos
testcrl.pem d02b48c63a Import of old SSLeay release: SSLeay 0.8.1b %!s(int64=26) %!d(string=hai) anos
testdsa.pem 79a578b902 Add private/public key conversion tests %!s(int64=9) %!d(string=hai) anos
testdsapub.pem 79a578b902 Add private/public key conversion tests %!s(int64=9) %!d(string=hai) anos
testec-p112r1.pem 33b9bb45a4 TEST: Check property query support of apps/pkey %!s(int64=2) %!d(string=hai) anos
testec-p256.pem 79a578b902 Add private/public key conversion tests %!s(int64=9) %!d(string=hai) anos
testecpub-p256.pem 79a578b902 Add private/public key conversion tests %!s(int64=9) %!d(string=hai) anos
tested25519.pem 81722fdf2e More testing for CLI usage of Ed25519 and Ed448 keys %!s(int64=5) %!d(string=hai) anos
tested25519pub.pem 81722fdf2e More testing for CLI usage of Ed25519 and Ed448 keys %!s(int64=5) %!d(string=hai) anos
tested448.pem 81722fdf2e More testing for CLI usage of Ed25519 and Ed448 keys %!s(int64=5) %!d(string=hai) anos
tested448pub.pem 81722fdf2e More testing for CLI usage of Ed25519 and Ed448 keys %!s(int64=5) %!d(string=hai) anos
testp7.pem dcb1ef5c22 Change PKCS#7 test data to take account of removal of %!s(int64=24) %!d(string=hai) anos
testreq2.pem d02b48c63a Import of old SSLeay release: SSLeay 0.8.1b %!s(int64=26) %!d(string=hai) anos
testrsa.pem 10203a3472 Support writing RSA keys using the traditional format again %!s(int64=4) %!d(string=hai) anos
testrsa2048.pem 8d17cca5b8 Add fips checks for rsa encryption %!s(int64=4) %!d(string=hai) anos
testrsa2048pub.pem e9e6827445 Test that signatures using hash name commands work properly %!s(int64=2) %!d(string=hai) anos
testrsa_withattrs.der 6dbb277627 Tests for creating req from PKCS8 keys with extra attrs %!s(int64=3) %!d(string=hai) anos
testrsa_withattrs.pem 6dbb277627 Tests for creating req from PKCS8 keys with extra attrs %!s(int64=3) %!d(string=hai) anos
testrsapss.pem a2a5506b93 rsa_kmgmt: Return OSSL_PKEY_PARAM_DEFAULT_DIGEST for unrestricted PSS keys %!s(int64=3) %!d(string=hai) anos
testrsapssmandatory.pem bbde856619 RSA: properly generate algorithm identifier for RSA-PSS signatures %!s(int64=3) %!d(string=hai) anos
testrsapub.pem 79a578b902 Add private/public key conversion tests %!s(int64=9) %!d(string=hai) anos
testsid.pem c22ad9b64a Regenerate testsid.pem %!s(int64=3) %!d(string=hai) anos
testutil.h da1c088f59 Copyright year updates hai 1 ano
testx509.pem 1e41dadfa7 Extend X509 cert checks and error reporting in v3_{purp,crld}.c and x509_{set,vfy}.c %!s(int64=4) %!d(string=hai) anos
threadpool_test.c c48c32807f Split out thread pool tests into threadpool_test %!s(int64=2) %!d(string=hai) anos
threadstest.c d092208bd6 Fix potential divide by zero error hai 6 meses
threadstest.h 24d16d3a19 Make rcu_thread_key context-aware hai 7 meses
threadstest_fips.c 235776b2c7 test: add test case to reliably reproduce RAND leak during POST %!s(int64=3) %!d(string=hai) anos
time_offset_test.c 909f1a2e51 Following the license change, modify the boilerplates in test/ %!s(int64=6) %!d(string=hai) anos
time_test.c 039119a0f3 Add a test for converting OSSL_TIME to struct timeval hai 1 ano
timing_load_creds.c adf289b5b6 timing_load_creds requires POSIX1.2001 due to rusage hai 1 ano
tls-provider.c b646179229 Copyright year updates hai 7 meses
tls13ccstest.c b646179229 Copyright year updates hai 7 meses
tls13encryptiontest.c 72062fca28 Add tests for return codes for EVP_CIPHER_CTX_get[block_size|iv_length] hai 9 meses
tls13secretstest.c da1c088f59 Copyright year updates hai 1 ano
trace_api_test.c 0496d2dc35 trace_api_test.c: Separate tracing statements hai 1 ano
uitest.c 5755c11fd6 Fix the checks of UI_add_input_string %!s(int64=2) %!d(string=hai) anos
upcallstest.c da1c088f59 Copyright year updates hai 1 ano
user_property_test.c da1c088f59 Copyright year updates hai 1 ano
v3-cert1.pem d02b48c63a Import of old SSLeay release: SSLeay 0.8.1b %!s(int64=26) %!d(string=hai) anos
v3-cert2.pem d02b48c63a Import of old SSLeay release: SSLeay 0.8.1b %!s(int64=26) %!d(string=hai) anos
v3_ca_exts.cnf 9495cfbc22 make various test CA certs RFC 5280 compliant w.r.t. X509 extensions %!s(int64=3) %!d(string=hai) anos
v3ext.c 26cfa4cd85 Fix coverity issues in X509v3_addr %!s(int64=2) %!d(string=hai) anos
v3nametest.c da1c088f59 Copyright year updates hai 1 ano
verify_extra_test.c fecb3aae22 Update copyright year %!s(int64=2) %!d(string=hai) anos
versions.c 909f1a2e51 Following the license change, modify the boilerplates in test/ %!s(int64=6) %!d(string=hai) anos
wpackettest.c da1c088f59 Copyright year updates hai 1 ano
x509_acert_test.c f90d97caab x509_acert: Add simple API tests hai 6 meses
x509_check_cert_pkey_test.c da1c088f59 Copyright year updates hai 1 ano
x509_dup_cert_test.c f541419c79 Remove unused variable 'sctx' %!s(int64=3) %!d(string=hai) anos
x509_internal_test.c a8d9bd8114 Update copyright year %!s(int64=3) %!d(string=hai) anos
x509_load_cert_file_test.c 6134e8e6dd Fix a memory leak on successful load of CRL hai 8 meses
x509_test.c 29d4d8e80e Add test for X509 sign TBS cache regression. %!s(int64=2) %!d(string=hai) anos
x509_time_test.c b646179229 Copyright year updates hai 7 meses
x509aux.c f2a6f83862 Cleanup : directly include of `internal/nelem.h` when required. %!s(int64=2) %!d(string=hai) anos

README-dev.md

Guidelines for test developers

How to add recipes

For any test that you want to perform, you write a script located in test/recipes/, named {nn}-test_{name}.t, where {nn} is a two digit number and {name} is a unique name of your choice.

Please note that if a test involves a new testing executable, you will need to do some additions in test/build.info. Please refer to the section "Changes to test/build.info" below.

Naming conventions

A test executable is named test/{name}test.c

A test recipe is named test/recipes/{nn}-test_{name}.t, where {nn} is a two digit number and {name} is a unique name of your choice.

The number {nn} is (somewhat loosely) grouped as follows:

00-04  sanity, internal and essential API tests
05-09  individual symmetric cipher algorithms
10-14  math (bignum)
15-19  individual asymmetric cipher algorithms
20-24  openssl commands (some otherwise not tested)
25-29  certificate forms, generation and verification
30-35  engine and evp
60-79  APIs:
   60  X509 subsystem
   61  BIO subsystem
   65  CMP subsystem
   70  PACKET layer
80-89  "larger" protocols (CA, CMS, OCSP, SSL, TSA)
90-98  misc
99     most time consuming tests [such as test_fuzz]

A recipe that just runs a test executable

A script that just runs a program looks like this:

#! /usr/bin/env perl

use OpenSSL::Test::Simple;

simple_test("test_{name}", "{name}test", "{name}");

{name} is the unique name you have chosen for your test.

The second argument to simple_test is the test executable, and simple_test expects it to be located in test/

For documentation on OpenSSL::Test::Simple, do perldoc util/perl/OpenSSL/Test/Simple.pm.

A recipe that runs a more complex test

For more complex tests, you will need to read up on Test::More and OpenSSL::Test. Test::More is normally preinstalled, do man Test::More for documentation. For OpenSSL::Test, do perldoc util/perl/OpenSSL/Test.pm.

A script to start from could be this:

#! /usr/bin/env perl

use strict;
use warnings;
use OpenSSL::Test;

setup("test_{name}");

plan tests => 2;                # The number of tests being performed

ok(test1, "test1");
ok(test2, "test1");

sub test1
{
    # test feature 1
}

sub test2
{
    # test feature 2
}

Changes to test/build.info

Whenever a new test involves a new test executable you need to do the following (at all times, replace {NAME} and {name} with the name of your test):

  • add {name} to the list of programs under PROGRAMS_NO_INST

  • create a three line description of how to build the test, you will have to modify the include paths and source files if you don't want to use the basic test framework:

    SOURCE[{name}]={name}.c INCLUDE[{name}]=.. ../include ../apps/include DEPEND[{name}]=../libcrypto libtestutil.a

Generic form of C test executables

#include "testutil.h"

static int my_test(void)
{
    int testresult = 0;                 /* Assume the test will fail    */
    int observed;

    observed = function();              /* Call the code under test     */
    if (!TEST_int_eq(observed, 2))      /* Check the result is correct  */
        goto end;                       /* Exit on failure - optional   */

    testresult = 1;                     /* Mark the test case a success */
end:
    cleanup();                          /* Any cleanup you require      */
    return testresult;
}

int setup_tests(void)
{
    ADD_TEST(my_test);                  /* Add each test separately     */
    return 1;                           /* Indicates success.  Return 0 */
                                        /* to produce an error with a   */
                                        /* usage message and -1 for     */
                                        /* failure to set up with no    */
                                        /* usage message.               */
}

You should use the TEST_xxx macros provided by testutil.h to test all failure conditions. These macros produce an error message in a standard format if the condition is not met (and nothing if the condition is met). Additional information can be presented with the TEST_info macro that takes a printf format string and arguments. TEST_error is useful for complicated conditions, it also takes a printf format string and argument. In all cases the TEST_xxx macros are guaranteed to evaluate their arguments exactly once. This means that expressions with side effects are allowed as parameters. Thus,

if (!TEST_ptr(ptr = OPENSSL_malloc(..)))

works fine and can be used in place of:

ptr = OPENSSL_malloc(..);
if (!TEST_ptr(ptr))

The former produces a more meaningful message on failure than the latter.

Note that the test infrastructure automatically sets up all required environment variables (such as OPENSSL_MODULES, OPENSSL_CONF, etc.) for the tests. Individual tests may choose to override the default settings as required.