summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
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@
2024-03-26test -h is the POSIXly way of testing for a symlink. Reduces diff vsDarren Tucker
Portable.
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-25optional debuggingDamien Miller
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-25Verify string returned from local shell command.Darren Tucker
2024-03-25Revise TLS extension regress for parse/process changes.Joel Sing
2024-03-25Improve shell portability: grep -q is not portable so redirect stdout,Darren Tucker
and use printf instead of relying on echo to do \n substitution. Reduces diff vs Portable.
2024-03-25Save error code from SSH for use inside case statement, from portable.Darren Tucker
In some shells, "case" will reset the value of $?, so save it first.
2024-03-25Increase timeout. Resyncs with portable where some of the testDarren Tucker
VMs are slow enough for this to matter.
2024-03-25In PuTTY interop test, don't assume the PuTTY major version is 0.Darren Tucker
Patch from cjwatson at debian.org via bz#3671.