summaryrefslogtreecommitdiff
path: root/regress/lib
AgeCommit message (Collapse)Author
2024-05-30Adjust hmac test for removal of static buffer from HMAC()Theo Buehler
2024-05-29asn1object: zap trailing whitespaceTheo Buehler
2024-05-29Make it possible for the large OID test to failTheo Buehler
failed was set to 0 at the top of the function, so failure and success were indistinguishable. Move failed = 0 to the end so it can actually fail.
2024-05-29Add regress coverage for some corner cases of i2d_ASN1_OBJECT()Theo Buehler
2024-05-29Add regress coverage for i2d_ASN1_OBJECT() fixesTheo Buehler
2024-05-28Test that invalid operations push the X509V3_R_UNSUPPORTED_OPTION errorTheo Buehler
2024-05-28Add regress coverage for X509V3_add1_i2d()Theo Buehler
2024-05-25Eliminate last timegm() correctly this timeTheo Buehler
Also add a test case with a generalized time representing the moment one second past the 32-bit epoch wrap.
2024-05-25Revert previousTheo Buehler
It wasn't quite right, but I also think the test is bogus.
2024-05-25asn1time: another use of gmtime was hiding hereTheo Buehler
2024-05-22Exercise EVP_chacha20_poly1305() with in-place decryptionTheo Buehler
This needs quite a bit of cleanup but let's have some tests rather than none.
2024-05-08Add more regress coverage for lhash.Joel Sing
2024-05-08symbols test: drop headers that don't define any symbolsTheo Buehler
2024-05-06Enable lhash regress.Joel Sing
2024-05-06Provide initial regress for lhash.Joel Sing
For now, this is very limited and only tests calling lh_doall_arg() multiple times on an empty linked hash. This process currently triggers a SIGSEGV, which will be soon fixed.
2024-04-25Add regress coverage for crypto_ct_*_u8()Joel Sing
2024-04-22Instead of unhooking libssl/client regress tests, flag them as expectedAnton Lindqvist
to fail. ok tb@
2024-04-17SSL_version_str is no moreTheo Buehler
2024-04-17Add regress coverage for BN_lebin2bn().Joel Sing
2024-04-15Remove workarounds for unprototyped symbolsTheo Buehler
2024-04-15Enable negative zero checks for BN_clear_bit() and BN_mask_bits().Joel Sing
2024-04-14t22 and t23 can fail if the first chunk ends up being allocated atOtto Moerbeek
the very end of the page. Circumvent that. Reported by and fix ok anton@
2024-04-10symbols test: Remove a few things that are long goneTheo Buehler
2024-04-09whirlpool_test: avoid calling arc4random_uniform(0)Theo Buehler
This causes a SIGFPE on solaris Fixes https://github.com/libressl/portable/issues/1042
2024-04-09whirlpool_test: zap lots of trailing whitespaceTheo Buehler
2024-04-09bn_convert: plug leak spotted by ASANTheo Buehler
2024-04-09Add initial regress for BN_set_bit(), BN_clear_bit() and BN_mask_bits().Joel Sing
2024-04-09Add regress coverage for BN_bn2mpi()/BN_mpi2bn().Joel Sing
2024-04-08Make ASN1_TIME_set_string_X509 and ASN1_TIME_set_string match the man pageBob Beck
This makes it where people can't put dumb values in certs without trying harder, and changes the regress to test this. GENERALIZED times outside of the RFC5280 spec are required for OCSP but these should be constructed with the GENERALIZED time string setters. ok tb@
2024-03-30Initialize quic_method in tlsexttestTheo Buehler
This is only there to pretend a quic method was set on the SSL, but apparently some compilers warn about an uninitialized variable. from Christian Andersen
2024-03-30Replace silly test1_exit() with exit()Theo Buehler
Appeases some compiler. from Christian Andersen
2024-03-30Remove call to lh_FUNCTION_free()Theo Buehler
This is a wrapper around lh_free() which is already tested. From Christian Andersen
2024-03-30Do multiple padding add/check iterations.Joel Sing
This increases the chance of triggering bugs due to input and/or randomised padding.
2024-03-30Add initial regress for RSA padding.Joel Sing
2024-03-30Tidy indentation.Joel Sing
Requested by tb@
2024-03-30Remove -app2_1 flags being passed to dsa and rsa regress.Joel Sing
Nothing does flag handling in these tests.
2024-03-29Add table-driven Whirlpool testsjoshua
ok tb
2024-03-29Add regress coverage for EdDSA in CMSTheo Buehler
2024-03-29Remove CMS special now that we do not depend on pem.h being included first.Joel Sing
2024-03-28Nuke more gostBob Beck
2024-03-28Nuke more leftover GOST tendrils.Bob Beck
ok tb@
2024-03-28Fix coverity complaints.Bob Beck
2024-03-27fix leaks in the horrible ssl whackery necessary for this test.Bob Beck
ok tb@
2024-03-27Fix up server processing of key shares.Bob Beck
Ensure that the client can not provide a duplicate key share for any group, or send more key shares than groups they support. Ensure that the key shares must be provided in the same order as the client preference order specified in supported_groups. Ensure we only will choose to use a key share that is for the most preferred group by the client that we also support, to avoid the client being downgraded by sending a less preferred key share. If we do not end up with a key share for the most preferred mutually supported group, will then do a hello retry request selecting that group. Add regress for this to regress/tlsext/tlsexttest.c ok jsing@
2024-03-26Fix expected client hello value to allow for supported_groups change.Bob Beck
ok jsing@
2024-03-26Disable client handshake test for now for pending changes.Bob Beck
ok jsing@
2024-03-25Codify more insane CRYPTO_EX_DATA API.Joel Sing
The current CRYPTO_EX_DATA implementation allows for data to be set without calling new, indexes can be used without allocation, new can be called without getting an index and dup can be called after new or without calling new.
2024-03-25Revise for TLS extension parsing/processing changes.Joel Sing
2024-03-25Revise TLS extension regress for parse/process changes.Joel Sing
2024-03-24Add tests for EVP_get_cipherbyname(NULL) and EVP_get_digestbyname(NULL)Jeremie Courreges-Anglas
Requested by and ok tb@