Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | first draft of tests for newlocale(3), duplocale(3), uselocale(3) | schwarze | 2017-08-10 | 2 | -0/+268 | |
| | ||||||
* | Sort subdir, run getaddrinfo test, remove vax case. | bluhm | 2017-07-27 | 1 | -13/+21 | |
| | ||||||
* | Sort expected getaddrinfo output in inet4 inet6 order, then the | bluhm | 2017-07-27 | 2 | -46/+37 | |
| | | | | test passes. | |||||
* | Fix all clang warnings in libc regress and cleanup some make files. | bluhm | 2017-07-27 | 18 | -75/+67 | |
| | ||||||
* | Mark the invalid memory location as volatile, otherwise clang would | bluhm | 2017-07-27 | 1 | -2/+2 | |
| | | | | | optimize the access to it with an illegal instruction. But the tests needs a SIGSEGV, it would fail with SIGILL. | |||||
* | Extend the SNI tests to ensure that we have a hostname in the session | jsing | 2017-07-24 | 1 | -2/+31 | |
| | | | | | | after a successful tlsext_sni_serverhello_parse() and that tlsext_sni_clienthello_parse() fails if we have an existing session and the SNI is mismatched. | |||||
* | Add regress coverage for the TLS Renegotiation Indication extension. | jsing | 2017-07-24 | 1 | -1/+266 | |
| | ||||||
* | Provide a new regress test for TLS extension handlers, currently covering | jsing | 2017-07-16 | 3 | -1/+256 | |
| | | | | the newly converted SNI code. | |||||
* | Add a test that covers the recently fixed "0x" prefix handling issue. | jsing | 2017-07-15 | 1 | -1/+2 | |
| | ||||||
* | Run malloc0test with all possible malloc options. | bluhm | 2017-07-08 | 1 | -1/+7 | |
| | ||||||
* | Also test arrays of double and long long. | millert | 2017-05-27 | 1 | -142/+421 | |
| | ||||||
* | Synchronise chacha test cases with the referenced draft - this adds a | jsing | 2017-05-26 | 1 | -23/+23 | |
| | | | | | | | | missing test case, reassigns two of the labels and removes a test case that was from an earlier draft. Inconsistency noted by Steven Roberts <fenderq at gmail dot com>, some time ago... | |||||
* | Add timing and test name options. | millert | 2017-05-22 | 1 | -12/+83 | |
| | ||||||
* | Instead of embedding pre-generated tables from McIlroy's "A Killer | millert | 2017-05-22 | 3 | -1538/+315 | |
| | | | | | Adversary for Quicksort", just include the code to generate them. Also allow the number of elements to be specified on the command line. | |||||
* | correct a return value test | jsg | 2017-05-21 | 1 | -1/+1 | |
| | | | | ok millert@ | |||||
* | Add input targeted at the Bentley and McIrlroy quicksort generated | millert | 2017-05-19 | 1 | -6/+1389 | |
| | | | | | by McIlroy's "A Killer Adversary for Quicksort". This results in quadratic behavior and the test aborts before completion. | |||||
* | use mergesort instead of heapsort when comparing results | millert | 2017-05-18 | 1 | -9/+17 | |
| | ||||||
* | Avoid running the "killer" tests multiple times with the same | millert | 2017-05-17 | 1 | -10/+19 | |
| | | | | parameters. | |||||
* | Add "median of three" killer, as seen in "Introspective Sorting and | millert | 2017-05-17 | 1 | -18/+44 | |
| | | | | Selection Algorithms" by David R Musser. | |||||
* | Approximate nlgn instead of using libm. The same approximation may | millert | 2017-05-17 | 2 | -10/+8 | |
| | | | | be used in qsort.c in a later commit. | |||||
* | Add "killer" input from "algorithmic complexity attacks and libc | millert | 2017-05-17 | 1 | -0/+12 | |
| | | | | | | | qsort()". This causes quadratic behavior with the 4.4BSD qsort's "switch to insertion sort" optimization when the input appears to be mostly sorted. That optimization was removed in qsort.c r1.12 but it is worth having in the regress test too. | |||||
* | There's no need to track the number of errors (and the counter might | millert | 2017-05-17 | 1 | -21/+30 | |
| | | | | wrap), make it a flag instead. Pointed out by schwarze@ | |||||
* | Add qsort(3) regress based on Bentley & McIlroy's "Engineering a Sort Function" | millert | 2017-05-17 | 3 | -2/+278 | |
| | ||||||
* | Revise cipher suites in regress to match DSS cipher suite removal. | jsing | 2017-05-07 | 1 | -96/+82 | |
| | ||||||
* | Add a (currently failing) call to tls_handshake() on a client context that | jsing | 2017-05-07 | 1 | -1/+8 | |
| | | | | | has not yet been connected. We expect this to fail, but it should fail gracefully. | |||||
* | Also test calling tls_handshake() on a server connection context that has | jsing | 2017-05-07 | 1 | -1/+7 | |
| | | | | already completed a TLS handshake. | |||||
* | Add a test that calls tls_handshake() on a connection that has already | jsing | 2017-05-07 | 1 | -1/+7 | |
| | | | | | completed a TLS handshake. This should return a failure, but currently succeeds (hence the regress currently fails). | |||||
* | An an initial sequencing/ordering test for libtls. | jsing | 2017-05-07 | 1 | -1/+61 | |
| | ||||||
* | Split TLS client/server handshake and close code into separate functions | jsing | 2017-05-06 | 1 | -4/+27 | |
| | | | | so that it can be reused. | |||||
* | Bring in an SSL_HANDSHAKE structure and commence the great shovelling | beck | 2017-05-06 | 1 | -2/+2 | |
| | | | | ok jsing@, gcc@, regress@ | |||||
* | Move TLS test code into a function that is called from main, making it | jsing | 2017-05-06 | 2 | -17/+33 | |
| | | | | easier for new tests to be added. | |||||
* | Free tls_configs earlier now that we have refcounting. | jsing | 2017-05-06 | 1 | -4/+4 | |
| | ||||||
* | Add more functions. | jsing | 2017-05-06 | 1 | -1/+5 | |
| | ||||||
* | Sort/group functions. | jsing | 2017-05-06 | 1 | -5/+10 | |
| | ||||||
* | Not much point using a failed variable here. | jsing | 2017-05-06 | 1 | -3/+4 | |
| | ||||||
* | Bring in HKDF, from BoringSSL, with regress tests modified to be | beck | 2017-05-06 | 3 | -1/+310 | |
| | | | | | in C. Ride previous minor bump ok tom@ inoguchi@ jsing@ | |||||
* | Add regress coverage for SSL{,_CTX}_set_{min,max}_proto_version(). | jsing | 2017-05-06 | 1 | -12/+304 | |
| | ||||||
* | Add regress for free functions that should be safe with NULL | beck | 2017-05-02 | 2 | -0/+63 | |
| | ||||||
* | whitespace | beck | 2017-04-30 | 1 | -3/+3 | |
| | ||||||
* | Add missing tls_init() and tls_free() calls. | jsing | 2017-04-30 | 1 | -1/+4 | |
| | ||||||
* | Use INT_MAX instead of SIZE_MAX as the maximum file size we can handle. | kettenis | 2017-04-16 | 1 | -2/+2 | |
| | | | | | | Fixes this test on 64-bit architectures. ok visa@ | |||||
* | Define DEF_WEAK like we do for ld.so to fix building this with clang. | kettenis | 2017-04-16 | 1 | -1/+2 | |
| | | | | ok millert@, deraadt@ | |||||
* | Use %zu to print a size_t. | kettenis | 2017-04-16 | 1 | -2/+2 | |
| | ||||||
* | Remove unused rnd_seed variable. Upstream made the same change 4 days ago. | kettenis | 2017-04-16 | 1 | -3/+0 | |
| | | | | Fixes compiling this test using clang on arm64. | |||||
* | Rework and significantly extend TLS name verification tests to match | jsing | 2017-04-10 | 1 | -99/+377 | |
| | | | | changes in libtls. | |||||
* | Improve unknown protocol version handling. | jsing | 2017-04-09 | 1 | -2/+3 | |
| | ||||||
* | In ssl.h TLS 1.0 is called TLSv1. Adapt name in test to make it pass. | bluhm | 2017-04-07 | 1 | -1/+1 | |
| | | | | OK jsing@ | |||||
* | Update regress to match changes to tls1_PRF(). | jsing | 2017-03-25 | 1 | -10/+10 | |
| | ||||||
* | Update regress and remove temporary buffer to match changes in tls_PRF(). | jsing | 2017-03-18 | 1 | -8/+4 | |
| | ||||||
* | copy /etc/services in test directory | eric | 2017-03-14 | 1 | -1/+2 | |
| |