summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2021-11-21wycheproof: modify RSA tests to work with opaque RSA structTheo Buehler
2021-11-21wycheproof.go: modify some DSA and ECDSA code to work with opaque structsTheo Buehler
2021-11-21Add tests for concurrent closing of a poll/select monitored fd.Visa Hankala
2021-11-20Switch to BIO_up_ref() instead of adjusting references manually.Theo Buehler
2021-11-20Use BIO_up_ref() instead of adjusting refcounts manuallyTheo Buehler
2021-11-19Mark the X509_VERIFY_PARAM_ID variable type as intentionallyIngo Schwarze
undocumented. It is an opaque struct used only internally, as a sub-object of the public X509_VERIFY_PARAM type. All related API functions take X509_VERIFY_PARAM arguments, so X509_VERIFY_PARAM_ID is of no interest to the user.
2021-11-19Make function prototype parsing a bit stricter,Ingo Schwarze
reducing the risk of accidental misparsing: Require whitespace after the function return type (before the asterisk indicating that the function returns a pointer, if any) and do not accept whitespace between the function name and the opening parenthesis of the parameter list. These changes are not a problem because we want that style for KNF reasons anyway.
2021-11-19Add and enable the new 'undgram_conclose' test which tries to kill theVitaliy Makkoveev
datagram socket connected to the dying socket while it cleaning it's list of connected sockets. Incorrect handling of this case could produce kernel crash. ok bluhm@
2021-11-19Add and enable new 'unsendrecvthr' test which performs multithreadedVitaliy Makkoveev
writes on unix(4) sockets. The receiver should be sure no data corruption or loss. ok bluhm@
2021-11-19Very quick and dirty script to help me check that the symbolsIngo Schwarze
in one of the public openssl/ header files are all documented. Before attempting to read this code, make sure that you are fully vaccinated against leaning toothpick syndrome. Example usage: ./check_complete.pl x509_vfy ./check_complete.pl -v x509 | less Intentionally not linked to the build. jsing@ agrees with the general direction.
2021-11-18sha512test: replace EVP_MD_CTX_{cleanup,init} pair with EVP_MD_CTX_resetTheo Buehler
2021-11-18gost: missed one cleanupTheo Buehler
2021-11-18sha256test: EVP_MD_CTX_cleanup -> EVP_MD_CTX_resetTheo Buehler
2021-11-18gost2814789t: EVP_MD_CTX_cleanup -> EVP_MD_CTX_resetTheo Buehler
2021-11-18evptest: no need to call EVP_MD_CTX_cleanup() before EVP_MD_CTX_free()Theo Buehler
2021-11-18Use HMAC_CTX_reset() instead of HMAC_CTX_cleanup() + HMAC_CTX_init()Theo Buehler
2021-11-18Fix ssltest to work with opaque EVP_PKEY.Theo Buehler
2021-11-18sha*test: convert these tests to work with opaque EVP_MD_CTX.Theo Buehler
2021-11-18zap trailing whitespaceTheo Buehler
2021-11-18hmactest: convert to opaque HMAC_CTX.Theo Buehler
2021-11-18gost2814789t: convert to opaque EVP_{MD,CIPHER}_CTX.Theo Buehler
2021-11-18exptest: convert to opaque BN; minor KNF tweaks.Theo Buehler
2021-11-18evptest: fix compilation with opaque EVP_{CIPHER,MD}_CTX. Uses aTheo Buehler
workaround for excessive malloc inspired by mariadb (just kidding).
2021-11-18ecdsatest: make this test compile with opaque EVP_MD_CTX.Theo Buehler
2021-11-18dsatest: make this work with opaque BN. Some more fixes will be neededTheo Buehler
for opaque DSA. I'll deal with that later. I also lobbed a KNF grenade in here.
2021-11-18dhtest: fix this to work with opaque BN. This will need more fixes toTheo Buehler
work with opaque DH, but one step at a time. While here, add a bunch of missing spaces to reduce the eyebleed.
2021-11-18bntest: Fix all but one test in this file to work with opaque BN.Theo Buehler
The remaining test needs some thinking (or disabling once we flip the switch). It is currently marked with an XXX.
2021-11-18Remove X11 blt and bltone regress tests. They fail with the currentAlexander Bluhm
X server and have been unlinked from the build. Converting the tests from libfb to libwfb could be possible, but nobody is working on that. OK matthieu@ kettenis@
2021-11-18regression test for ssh-keygen -Y find-principals fix;Damien Miller
from Fabian Stelzer ok djm markus
2021-11-17add more checks for badly specified pkgspecsMarc Espie
2021-11-16add a few more checks for incorrect specsMarc Espie
2021-11-13Test ASN1_STRING_copy(3).Ingo Schwarze
As a side effect, this also tests various aspects of ASN1_STRING_new(3), ASN1_STRING_set(3), ASN1_STRING_length_set(3), ASN1_STRING_get0_data(3), ASN1_STRING_length(3), and ASN1_STRING_type(3).
2021-11-13Un-hook the X11 tests. The new X server doesn't install libfb anymore.Matthieu Herrb
ok kettenis@, anton@
2021-11-13hook up unfdpassfail and ungcAnton Lindqvist
2021-11-12honor objdirAnton Lindqvist
2021-11-11Add test case for INVALID_KE in IKE_SA_INIT fallback.Tobias Heider
2021-11-11exponential_test passes on i386.mbuhl
2021-11-11add tests to cover DIOCCHANGERULE ioctl(2)Alexandr Nedvedicky
OK bluhm@
2021-11-11Remove switchd regress tests.Claudio Jeker
2021-11-10Add a test for the redirect loop limit. It would be great if someoneClaudio Jeker
rewrote these tests to use a local HTTP server instead of some random external ones.
2021-11-09RegenOtto Moerbeek
2021-11-08Pull OpenSSL test into the Makefile using it to avoid it on "make obj"Klemens Nanni
This way a top-down "make obj" does nothing but symlink creation and "make" or "make regress" still does the eopenssl11 check at the very end. This is how the rest of the regress suite does it, e.g. sys/netinet/pmtu. OK tb
2021-11-05Add getmonotime() to test-http.c so that the test compiles again.Claudio Jeker
Noticed as ususal by anton@
2021-11-03Add a test tal that has comments and also comes with CRLFClaudio Jeker
2021-11-03Test adding extensions to certification requests.Ingo Schwarze
Related to the bugfixes in x509_req.c rev. 1.25. OK tb@.
2021-11-02crank SSH_SK_VERSION_MAJOR to match recent change in usr/bin/sshDamien Miller
2021-11-02Add regress that calls SSL_set_tlsext_host_name() with a NULL host name.Joel Sing
2021-11-01Rework SNI hostname regress to be table driven.Joel Sing
Also adjust for the changes to tlsext_sni_is_valid_hostname() and include tests for IPv4 and IPv6 literals. ok beck@
2021-11-01Rework x509attribute regress test in such a way that it doesn't needTheo Buehler
to reach into opaque structs.
2021-10-31Also remove pcap files during make clean.Alexander Bluhm