summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2024-05-14fix a char signedness bug such that this testing code becomes ableIngo Schwarze
to display the contents of databases containing UTF-8 strings on signed char architectures: for example on i386 and amd64, UTF-8 bytes are negative...
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-26fix signal test; ok tb@Jonathan Gray
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-22Sprinkle experimental into regress so they compileClaudio Jeker
Reported by anton@
2024-04-21Remove file without the now mandatory signing-time attributeTheo Buehler
2024-04-19Make regress mpath more reliable.Alexander Bluhm
Create 100 IP addresses and 100 multipath routes. Then the test can expect a better distribution of routes that are actually used. OK anton@
2024-04-17SSL_version_str is no moreTheo Buehler
2024-04-17Add regress coverage for BN_lebin2bn().Joel Sing
2024-04-17Only use the first egress interface in $IFIDX and $IFLLADDR. SystemsClaudio Jeker
can have more then one interface. This only works if ther first egress interface is a ethernet interface (P2P interfaces have no LLADDR) but that was already buggy before this. OK bluhm@ martijn@
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-09vmm/vmd: add exception injection and refactor inject api.Dave Voutila
In order to continue work on mmio and other instruction emulation, vmd(8) needs the ability to inject exceptions (like page faults) from userland. Refactor the way events are injected from userland, cleaning up how hardware (external) interrupts are injected in the process. ok mlarkin@
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-09Add a capability enforcement integration test.Claudio Jeker
This should ensure that no / yes and enforce work the way we want.
2024-04-09Add capability announce enforcement test and fixup some other result filesClaudio Jeker
since the role capability is now shown in more cases.
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-04-03Switch one of the tcpmd5 passwords over to use the hex key instead.Claudio Jeker
This way both modes are tested.
2024-04-03Since ssh-agent(1) is only readable by root by now, use ssh(1) whileAnton Lindqvist
generating data in tests.
2024-04-02Remove unused fileClaudio Jeker
2024-04-01The regress/sys/arch/amd64/fpu/fenv.S utility issues "direct" syscallsAnton Lindqvist
which does not go through libc. This is no longer possible due to pinsyscalls(2). Borrow the PINSYSCALL asm macro from libc/arch/DEFS.h to setup a .openbsd.syscalls section.
2018-08-21Check the FPU environment of user land processes after exec and theAlexander Bluhm
proc0 kernel thread for FPU initialization values.
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-30Implement else branching logic including 'else if'.Martin Pieuchot
Statement lists for if & else conditions are now wrapped in a new 'struct bt_cond'. Handling B_AC_TEST statements moved to stmt_eval() to handle nested conditional statements. From Christian Ludwig christian_ludwig at genua.de
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-29Use egrep instead of grep -E. Some plaforms don't have the latter so thisDarren Tucker
makes things easier in -portable.
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-26add cfi instructions to repair this test on amd64 and arm64.Miod Vallat
ok kettenis@