summaryrefslogtreecommitdiff
path: root/regress/lib
AgeCommit message (Collapse)Author
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@
2024-03-21Remove now unused certificates (which are also soon to expire).Joel Sing
2024-03-20Use the new certificates/chains in regress.Joel Sing
The new certificates are more representative of the real world. The old certificates use weak algorithms and expire in the very near future. Most of our regress has already been switched over, this changes the remainder. Thanks to Bernhard M. Wiedemann for reminding us of the upcoming expiry. ok tb@
2024-03-05Ugly workaround to let this compile again on non-clang platforms.Miod Vallat
2024-03-04Add more platforms.Miod Vallat
2024-03-03Fill the list of expected test failures for m88k.Miod Vallat
2024-03-01Remove the ciphers_by_values_test()Theo Buehler
2024-03-01exporter: use the atrocious SSL_CIPHER_find() rather than get_by_id()Theo Buehler
2024-03-01ssltest: drop another use of CRYPTO_mem_leaks()Theo Buehler
2024-02-29Detect OPENSSL_NO_GOST correctlyTheo Buehler
2024-02-29CRYPTO_mem_leaks* will go away. Remove calls in legacy testsTheo Buehler
2024-02-29Link x509_algor test statically and switch to the internalTheo Buehler
X509_ALGOR_set0_evp_md()
2024-02-29OBJ_NAME_TYPE_PKEY_METH is no longer supportedTheo Buehler
2024-02-29Stop testing EVP_PKEY_GOST{IMIT,R01}Theo Buehler
2024-02-29Prepare freenull test for GOST removalTheo Buehler
2024-02-18asn1time: remove some debugging codeTheo Buehler
2024-02-18Tweak previousTheo Buehler
2024-02-18Adjust regress test for memset() requested by jsing on reviewTheo Buehler
2024-02-18Add regress coverage for the new APITheo Buehler
This exercises the new API, in particular with respect to overflow behavior around the years 0/9999, which are special for GeneralizedTime/X.509.
2024-02-11Update libexpat regress to version 2.6.0.Alexander Bluhm
2024-02-09bio_dump: add a test that prints all values of a single byteTheo Buehler
2024-02-08infcover: print size_t with %zu. from upstreamTheo Buehler
2024-02-05Cope with recent ctype.h prefix changes.Anton Lindqvist