Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Link rust-openssl to regress | tb | 2022-10-20 | 1 | -1/+2 | |
| | ||||||
* | Provide a harness driving rust-openssl's regress tests | tb | 2022-10-20 | 3 | -0/+62 | |
| | | | | | | | | | | | | | | | rust-openssl is an integral part of the Rust ecosystem and more than a dozen ports, including lang/rust itself, depend on it. We need to ensure that it keeps working with LibreSSL. If the rust and rust-openssl-tests packages are installed, create a cargo workspace under obj/ that compiles and runs the rust-openssl regress tests much like what is done for the openssl-ruby tests. This expands our regress coverage: for instance, this would have caught the broken ASN.1 indefinite length encoding caused by asn1/tasn_enc.c r1.25. Positive feedback beck jsing semarie Testing and ok anton | |||||
* | Remove references to four definitions that tb@ deleted in x509.h rev. 1.89 | schwarze | 2022-10-18 | 1 | -4/+3 | |
| | | | | | | | | on Jan 10, 2022: X509_EX_V_INIT X509_EX_V_NETSCAPE_HACK X509_EXT_PACK_STRING X509_EXT_PACK_UNKNOWN. Mark BN_set_params and BN_get_params as deprecated, unused, and intentionally undocumented. | |||||
* | Revise expire callback regress to use chains with expired certificates. | jsing | 2022-10-17 | 1 | -25/+66 | |
| | | | | | | | | | | Rather than using X509_STORE_CTX_set_time() (which is resulting all certificates in the chain being treated as expired), use chains that have an expired leaf or expired intermediate. This triggers a different code path, which is currently mishandled (and hence failing). Also ensure that the resulting error and error depth match what we expect them to be. | |||||
* | Ensure that verification results in the expected error and error depth. | jsing | 2022-10-17 | 1 | -16/+113 | |
| | | | | | Improve verification regress and ensure that the legacy or modern verification completes with the expected error and error depth. | |||||
* | Handle corner case in which the test case can actually be a square | tb | 2022-10-11 | 1 | -4/+3 | |
| | ||||||
* | Dynamically link libssl for QUIC regress. | jsing | 2022-10-02 | 1 | -2/+2 | |
| | | | | Now that the QUIC API is public, we can stop linking this statically. | |||||
* | Remove unused headers. | jsing | 2022-10-02 | 1 | -5/+1 | |
| | ||||||
* | Revise for SSL_CTX_INTERNAL and SSL_INTERNAL removal. | jsing | 2022-10-02 | 5 | -68/+66 | |
| | ||||||
* | Tweak symbols test in such a way that it would have caught the recent | tb | 2022-09-21 | 2 | -3/+9 | |
| | | | | | Symbols.list mistake: undefine aliases (except _cfb block ciphers which are aliases for historical reasons). Use -Wl,--no-allow-shlib-undefined. | |||||
* | Add CBC, CFB64 and OFB64 test coverage for RC2 | tb | 2022-09-12 | 1 | -34/+463 | |
| | | | | From Joshua Sing | |||||
* | whitespace nits | tb | 2022-09-12 | 1 | -4/+5 | |
| | ||||||
* | Move division by two out of sizeof() | tb | 2022-09-12 | 1 | -3/+3 | |
| | ||||||
* | Error checks for EVP_* | tb | 2022-09-12 | 1 | -25/+36 | |
| | | | | CID 356777 | |||||
* | Move division by two out of sizeof() | tb | 2022-09-12 | 1 | -3/+3 | |
| | | | | CID 356778 | |||||
* | Add regression tests for the sendmmsg and recvmmsg system calls. | mbuhl | 2022-09-11 | 4 | -2/+410 | |
| | ||||||
* | link asn1object test statically in preparation for upcoming bump | tb | 2022-09-11 | 1 | -1/+2 | |
| | ||||||
* | Add EVP test coverage for RC2. | tb | 2022-09-07 | 1 | -1/+194 | |
| | | | | From Joshua Sing | |||||
* | Add output length validation for EVP | tb | 2022-09-07 | 1 | -6/+24 | |
| | | | | From Joshua Sing | |||||
* | Add a table-driven test for RC2 in ECB mode to replace the old one. | tb | 2022-09-06 | 3 | -140/+296 | |
| | | | | From Joshua Sing | |||||
* | Fix copy-paste error | tb | 2022-09-05 | 1 | -2/+2 | |
| | ||||||
* | Plug leaks due to not resetting the EVP_CIPHER_CTX | tb | 2022-09-05 | 1 | -1/+11 | |
| | ||||||
* | Two more missing long long casts | tb | 2022-09-05 | 1 | -3/+3 | |
| | ||||||
* | More long long casts for printing time_t | tb | 2022-09-05 | 1 | -3/+3 | |
| | ||||||
* | Convert from %i to %d | tb | 2022-09-05 | 12 | -84/+84 | |
| | ||||||
* | cast time_t to long long before printing for portability | tb | 2022-09-05 | 1 | -2/+2 | |
| | ||||||
* | Ensure a constructed ASN.1 INTEGER is considered invalid when decoding. | jsing | 2022-09-03 | 1 | -1/+15 | |
| | ||||||
* | New test coverage for RC4 | tb | 2022-09-03 | 3 | -227/+453 | |
| | | | | From Joshua Sing | |||||
* | Rewrite RMD-160 tests to be table-driven. | tb | 2022-09-02 | 3 | -130/+203 | |
| | | | | From Joshua Sing | |||||
* | Retire the old crap. Thanks, Joshua | tb | 2022-09-02 | 4 | -269/+0 | |
| | ||||||
* | Unhook the old md4 and md5 tests | tb | 2022-09-02 | 1 | -3/+1 | |
| | ||||||
* | Link new md test to regress. | tb | 2022-09-02 | 1 | -1/+2 | |
| | ||||||
* | New md4/md5 regress tests | tb | 2022-09-02 | 2 | -0/+310 | |
| | | | | | | These exercise MD4 and MD5 with the test vectors from RFCs 1320 and 1321. From Joshua Sing <joshua () hypera ! dev> | |||||
* | Add two const | tb | 2022-09-02 | 1 | -3/+3 | |
| | ||||||
* | Make test tables static const and fix a style nit | tb | 2022-09-02 | 1 | -5/+4 | |
| | ||||||
* | Simplify and clean up the ecdsa test a little. Use stdio instead of BIO | tb | 2022-09-02 | 1 | -195/+177 | |
| | | | | for output, use 'err' as a label and avoid some silly repetitions. | |||||
* | Retire old SHA tests | tb | 2022-09-02 | 6 | -609/+0 | |
| | | | | | | The old tests were incomplete, some of them had no license and the code quality was questionable. The new tests by Joshua Sing cover what they did (and additionally SHA-224 and SHA-384). Many thanks! | |||||
* | Unhook old SHA tests | tb | 2022-09-02 | 1 | -4/+1 | |
| | ||||||
* | Add tests for 1 million repeated "a" | tb | 2022-09-02 | 1 | -39/+220 | |
| | | | | From Joshua Sing | |||||
* | Link sha test to regress | tb | 2022-09-01 | 1 | -1/+2 | |
| | ||||||
* | Add a nicely licensed, table-driven test for SHA | tb | 2022-09-01 | 2 | -0/+448 | |
| | | | | | | | This tests covers the NIST vectors for SHA-{1,224,256,384,256} and will soon be able to replace the old SHA tests entirely. From Joshua Sing <joshua () hypera ! dev> | |||||
* | Some missing return checks | tb | 2022-08-31 | 1 | -3/+5 | |
| | ||||||
* | Avoid some buffer overflows in ecdsatest | tb | 2022-08-31 | 1 | -2/+15 | |
| | | | | | | The ASN.1 encoding of the modified ECDSA signature can grow in size due to padding of the ASN.1 integers. Instead of reusing the same signature buffer freshly allocate it. Avoids some buffer overflows caught by ASAN. | |||||
* | Revert previous. Committed the wrong version of the diff. | tb | 2022-08-31 | 1 | -14/+4 | |
| | ||||||
* | Avoid some buffer overflows in ecdsatest | tb | 2022-08-31 | 1 | -4/+14 | |
| | | | | | | The ASN.1 encoding of the modified ECDSA signature can grow in size due to padding of the ASN.1 integers. Instead of reusing the same signature buffer freshly allocate it. Avoids some buffer overflows caught by ASAN. | |||||
* | Add regress test for the encoding of an ASN1_INTEGER with NULL data. | jsing | 2022-08-28 | 1 | -1/+38 | |
| | ||||||
* | Wire up QUIC regress. | jsing | 2022-08-27 | 1 | -1/+2 | |
| | ||||||
* | Add regress for QUIC. | jsing | 2022-08-27 | 2 | -0/+358 | |
| | | | | | This exercises the libssl QUIC implementation and completes a TLS handshake using the SSL_QUIC_METHOD interface. | |||||
* | Revise regress now that SSL_QUIC_METHOD exists. | jsing | 2022-08-21 | 1 | -4/+6 | |
| | ||||||
* | Test EVP_chacha20_poly1305() (linking statically for now) | jsing | 2022-08-20 | 2 | -3/+4 | |
| |