summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2014-06-20Simple regress test for the amd64 bn_mul_mont bug found by JoyentMiod Vallat
( https://github.com/joyent/node/issues/7704 ), about to be fixed in libcrypto.
2014-06-20Move the crypto/bn regression test one directory deeper in preparation forMiod Vallat
it getting siblings.
2014-06-19Add a basic regress test for __MAP_NOREPLACE.Matthew Dempsky
2014-06-18Always call atexit handlers as if they were registered with __cxa_atexit.Mark Kettenis
The extra argument doesn't hurt genuine atexit handlers and this fixes a bug where we didn't provide the argument (effectively passing garbage) for functions registered with __cxa_atexit in the main executable. Pointed out by Dmitriy Ivanov <dimitry@google.com> and Elliott Hughes <enh@google.com>. ok matthew@
2014-06-18Add regress tests to make sure arc4random(3) is reinitializedMatthew Dempsky
correctly in fork children.
2014-06-13Add regress test for MAP_INHERIT_ZERO.Matthew Dempsky
2014-06-13Remove support for the `opaque PRF input' extension, which draft has expiredMiod Vallat
7 years ago and never made it into an RFC. That code wasn't compiled in anyway unless one would define the actual on-the-wire extension id bytes; crank libssl major. With help and enlightenment from Brendan MacDonell.
2014-06-13Add regress tests for timingsafe_bcmp and timingsafe_memcmp.Matthew Dempsky
timingsafe_memcmp tests are disabled for now, pending its addition to libc.
2014-06-12Add regress test for explicit_bzero.Matthew Dempsky
2014-06-07Add basic regression test for modf() issue.Tobias Ulmer
encouraged by deraadt and miod
2014-06-01Build with WARNINGS=Yes and Werror.Miod Vallat
2014-06-01Build these tests with WARNINGS=Yes and -Werror, and do the necessaryMiod Vallat
fixes to keep building.
2014-04-15Import the OpenSSL libcrypto tests in a form suitable for our rergressMiod Vallat
infrastructure. The following tests have not been imported, for their code lacks a licence: asn1, rsa, sha256, sha512, wp.
2014-05-31Move the cts128 and gcm128 tests to regress.Joel Sing
2014-05-31Add a basic test for RTM_CHANGEClaudio Jeker
2014-05-31KNF and other cleanup.Joel Sing
2014-05-30Move sha256 and sha512 tests to regress and wire them up.Joel Sing
2014-05-30Move the AES wrap test code into regress.Joel Sing
2014-05-29use calloc, from Benjamin BaierTed Unangst
2014-05-26Update the aead regress to work with the improved EVP AEAD API.Joel Sing
2014-05-24Add the RFC 7027 test vectors; from OpenSSL HEADMiod Vallat
2014-05-24Move ssltest.c to a regress test.Joel Sing
2014-05-24remove OPENSSL_malloc and CRYPTO_malloc goo from the regress tests.Bob Beck
ok miod@ jsing@ guenther@
2014-05-24make this compile again - actually include stdio and friends ourselves.Bob Beck
2014-05-24Move the regress tests that are in lib/libssl to usr.sbin/openssl,Joel Sing
since they are really testing openssl(1) (although this also tests libcrypto and libssl), rather than actual parts of the libssl library. Discussed with miod@
2014-05-22Make this build cleanly even with UTF8_{putc,getc} moved from thePhilip Guenther
public header to the internal. Make some variables unsigned to eliminate some warnings
2014-05-21when failing because of unexpected output, show the offending outputDamien Miller
2014-05-20Use errc/warnc to simplify code.Philip Guenther
Also, in 'ftp', always put the error message last, after the hostname/ipaddr. ok jsing@ krw@ millert@
2014-05-19Enable the 3- and 4-byte sequence tests for UTF8_getc()Philip Guenther
Add surrogate and out-of-range tests for UTF8_putc() on the assumption we'll make it return -2. Maybe.
2014-05-18Add regression test for UTF8_{getc,putc}()Philip Guenther
2014-05-16Include openssl/evp.h for OPENSSL_add_all_algorithms_noconf().Joel Sing
From Brent Cook.
2014-05-16Fix various issues that result in compiler warnings.Joel Sing
Prompted by a diff from Brent Cook.
2014-05-15Get pqueue.h from the libssl sources rather than relying upon it beingMiod Vallat
installed.
2014-05-15Add additional chacha20-poly1305 test vectors.Joel Sing
Thanks to Piotr Sikora for providing a reference to the source.
2014-05-15Add chacha20-poly1305 test vector to regress.Joel Sing
2014-05-15KNF.Joel Sing
2014-05-15KNF.Joel Sing
2014-05-15Add a regress test for AEAD, based on Adam Langley's code.Joel Sing
2014-05-14Adjust route outputs to the new lo(4) MTU which is now the same on all archs.Claudio Jeker
Makes this regress work again.
2014-05-14Add poly1305 to libcrypto utilising Andrew Moon's public domainJoel Sing
implementation. ok miod@
2014-05-12Refactors "dummyrun" flag as "dryrun" with an approach similar to the one usedAndre de Oliveira
for client/server processes checks through $self->{down} state control variable, while here, do not instantiate a client when noclient is defined, reflecting server object instantiation behaviour. ok bluhm
2014-05-12Remove AES_bi_ige_encrypt() from libcrypto. This routine is supposed to useMiod Vallat
two keys and four IVs to do much magic, is specified as such with test vectors, but the implementation actually always uses the first key, and the test vectors were computed with it, so they are wrong. Fixing the code to match the intended specification would break interoperability with existing code (assuming such code would exist), so it is better to remove this interface, which is obviously too complex for mere mortals if even its author can not implement it correctly. Riding on the libcrypto major bump.
2014-05-12Move the `pqueue' part of libcrypto, which is a glorified sorted linked listMiod Vallat
of 64-bit data, and only used by DTLS, to libssl where it belongs. Remove pqueue_print() which is a debugging interface and serves no useful purpose, except for the regress test, which grows its own pqueue_print() routine. Bump libcrypto major and libssl minor. WARNING: do not update your tree right now, more changes are coming, which will ride the libcrypto major bump.
2014-05-09Adds a couple tests for relayd parser, specially recent modifications reyk@ didAndre de Oliveira
to the grammar. ok reyk
2014-05-09Adds $relayd->{dummyrun} and $client->{noclient} flags to relayd testsAndre de Oliveira
framework. These flags can be set from test file which eases performing dry-runs of relayd long enough to do relayd.conf parsing, thus enabling the grammar/parser-only tests. While here, fix and improves args-http-mark.pl to a correct use-case. ok reyk
2014-05-08Adjust this test contents from path keytype to url keytype to match the name ofAndre de Oliveira
the test file. ok reyk
2014-05-06Make sure the stdout output is check, to confirm proper sorting.Miod Vallat
2014-05-06Add a fixed (read: non-SIGSEGV'ing) pq_test.Miod Vallat
2014-05-05Replacing test files from previous commit to the right directory. There is noAndre de Oliveira
trigger to run tests from relayd directory, so previous had no practical effect.
2014-05-04Remove the Z flag from the list of malloc options as itLoganaden Velvindron
was removed from malloc.c 10 days ago. OK from miod@