summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
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@
2014-05-03Add tests for with and without compression, with and without privsep.Darren Tucker
2014-05-03Update the base64 regress test and enable a test that would previouslyJoel Sing
have resulted in a segfault. Also update the resulting output bytes now that the invalid/corrupt input is detected and rejected; unless you're using BIO_FLAGS_BASE64_NO_NL, in which case you still get a stream of zero value bytes and no way of knowing that the data is invalid/corrupt.
2014-05-03Initial version of a base64 regress.Joel Sing
2014-05-02Simple sha{224,256,384,512} test using the FIPS 180-2 test vectors availableMiod Vallat
from http://csrc.nist.gov/groups/ST/toolkit/examples.html
2014-05-02Add regression tests to relayd to cover a few key types/actions combinations.Andre de Oliveira
ok reyk
2014-05-02Improves this test to be more strict on the filter action test. Now itAndre de Oliveira
dispatches 4 requests from the client and checks if the server receives only 3. Previous functionality kept. ok reyk
2014-05-02Extends relayd regress-tests framework to support tweaks from test-code: tablesAndre de Oliveira
definition on relayd.conf, customization of client/server cookies, client/server headers and request path. ok reyk
2014-05-02Add missing $ on OpenBSD cvs tags, ok djmAndre de Oliveira
2014-05-02use the test_helper fuzzer rather than the hand-rolled code thatDamien Miller
predates it
2014-05-02make the fuzzer seed const to make it clear that it is never modifiedDamien Miller
2014-05-01KNF.Joel Sing
2014-05-01Provide an EVP implementation for ChaCha.Joel Sing
ok miod@
2014-05-01Add ChaCha to libcrypto, based on djb's public domain implementation.Joel Sing
ok deraadt@
2014-04-30unit tests for new buffer API; including basic fuzz testingDamien Miller
2014-04-27Regress for access()Philip Guenther
2014-04-24The switch statement given/when was introduced in Perl 5.10 and gotAlexander Bluhm
experimental in Perl 5.18. So we see warnings in the tests. given is experimental at funcs.pl line 62. when is experimental at funcs.pl line 63. Just suppress this type of warnings for now. If Perl will disable smart match, the simple regression code still works. If they will choose to remove given/when, we can fix it later. Discussed with and OK andre@ afresh1@
2014-04-22When compiling with AES_WRAP_TEST, make main() return a meaningful valueMiod Vallat
instead of garbage, and add this to the libcrypto regress. Note these tests are incomplete, as they always use the default IV.
2014-04-22gets() is goneLawrence Teo
2014-04-21repair regress tests broken by server-side default cipher/kex/mac changesDamien Miller
by ensuring that the option under test is included in the server's algorithm list
2014-04-18ECDSA signature computation involves a random number. Remove the test trying toMiod Vallat
force what RAND_bytes() will return and comparing it against known values - I can't let you do this, Dave.
2014-04-18Introduce some regress tests against our routing table. At least that wayClaudio Jeker
there is a chance that we do not break the network stack even more. These regress tests already found a few issues. The framework is ugly and does not properly recover from failures. Somebody more skilled can come up with a better solution. mpi@, blambert@ and sthen@ support this
2014-04-18It's been a quarter century: we can assume volatile is present with that name.Philip Guenther
2014-04-18cut altq hereHenning Brauer
2014-04-18missed theseHenning Brauer
2014-04-18stop testing altq stuffzHenning Brauer
how many tests I wrote back then... (of which the majority is pointless)