Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bio_dump: add a test that prints all values of a single byte | tb | 2024-02-09 | 1 | -1/+59 |
| | |||||
* | bio_dump: fix indent | tb | 2024-02-02 | 1 | -32/+32 |
| | |||||
* | bio_dump: add one more testcase | tb | 2024-02-02 | 1 | -2/+36 |
| | | | | | This one covers the silly minuses between the hexdump and the ASCII dump when dumping eight bytes per line. | ||||
* | Add regress coverage for BIO_dump() | tb | 2024-02-02 | 2 | -1/+745 |
| | |||||
* | Add a regress test exercising BIO_dup_chain() and triggering the leak | tb | 2023-08-07 | 1 | -1/+43 |
| | | | | fixed in bio_lib.c r1.47 as confirmed by ASAN. | ||||
* | bio_asn1 tests: drop unneeded variable | tb | 2023-07-21 | 1 | -3/+2 |
| | |||||
* | Simplify slightly and use i2d_PKCS7_bio_stream() | tb | 2023-05-02 | 1 | -3/+3 |
| | | | | | This is a wrapper of i2d_ASN1_bio_stream() that doesn't require us to pass in PKCS7_it. | ||||
* | bio_asn1: adjust for more recent churn | tb | 2023-04-25 | 2 | -2/+6 |
| | |||||
* | The bio_asn1 test will need to be linked statically after the bump | tb | 2023-04-25 | 1 | -1/+3 |
| | |||||
* | Add a regress for the recent BIO_new_NDEF() write after free | tb | 2023-03-31 | 1 | -2/+59 |
| | | | | | | This is a simple reproducer for a write after free that avoids all the mess with CMS, PKCS7 and SMIME. This now mostly allows ASAN to check that the memory handling in this marvellous function is correct. | ||||
* | Add regress coverage for some BIO_f_asn1() bugs fixed before release | tb | 2023-03-26 | 2 | -1/+176 |
| | |||||
* | bio_chain test: fix error message | tb | 2023-03-04 | 1 | -2/+2 |
| | |||||
* | bio chain test: compress some error printing | tb | 2022-12-10 | 1 | -5/+4 |
| | |||||
* | bio chain test: deduplicate chain walking code | tb | 2022-12-10 | 1 | -52/+40 |
| | |||||
* | bio chain test: handle walking of empty chains | tb | 2022-12-10 | 1 | -27/+15 |
| | | | | | | Rework the loops walking the chains to be correct for empty chains as well. This simplifies the checking at the cost of slightly more initialization and will allow further refactoring in a subsequent check. | ||||
* | bio chain test: add a consistency check for chain lengths | tb | 2022-12-09 | 1 | -1/+9 |
| | |||||
* | bio chain test: make two errors noisy | tb | 2022-12-09 | 1 | -3/+11 |
| | |||||
* | bio chain test: ensure the length of empty chains is 0 | tb | 2022-12-09 | 1 | -3/+9 |
| | |||||
* | bio chain test: various minor readability tweaks | tb | 2022-12-09 | 1 | -6/+8 |
| | | | | | | Align initialization in walk_backward() with walk_forward(), fix grammar in a comment and move initialization of oldhead_len in a place consistent with the other length initializations in that function | ||||
* | bio chain test: fix inconsequential off-by-one | tb | 2022-12-08 | 1 | -2/+2 |
| | |||||
* | bio chain test: minor readability tweaks | tb | 2022-12-08 | 1 | -5/+6 |
| | |||||
* | bio chain test: rename a few variables for consistency | tb | 2022-12-08 | 1 | -29/+29 |
| | |||||
* | bio chain test: decouple lengths of test chains | tb | 2022-12-08 | 1 | -59/+89 |
| | | | | | | Add helpers to create and destroy a linear chain of BIOs. Provide two defines for the two lengths of the test chains and make them distinct to rule out coincidences. As a bonus, the code becomes simpler. | ||||
* | bio chain test: refactor link_chains_at() | tb | 2022-12-08 | 1 | -198/+109 |
| | | | | | Add helper that validate the chains. This deduplicates a lot of code and makes the heart of the test much easier to read. | ||||
* | bio chain test: lose some do_{,bio_} prefixes | tb | 2022-12-08 | 1 | -12/+12 |
| | |||||
* | Split biotest into its three logical parts | tb | 2022-12-08 | 4 | -458/+512 |
| | | | | | | Some parts of this test rely on unportable behavior, so cannot run in portable. This way we can run more tests for portable which is helpful for analysis tools, better coverage, etc. | ||||
* | biotest: Tweak long comment a bit | tb | 2022-12-08 | 1 | -11/+13 |
| | |||||
* | Add BIO_push() and BIO_set_next() regress coverage | tb | 2022-12-08 | 1 | -1/+367 |
| | | | | | | This tests for the behavior changes in bio_lib.c r1.40 and r1.41 and makes sure that BIO_push() and BIO_set_next() act on two chains in the expected and now documented way. | ||||
* | biotest needs bio_local.h now | tb | 2022-12-03 | 1 | -6/+7 |
| | | | | Should have been part of the previous commit | ||||
* | Test BIO_{push,pop}() along a linear chain | tb | 2022-12-03 | 1 | -1/+135 |
| | |||||
* | Convert from %i to %d | tb | 2022-09-05 | 1 | -5/+5 |
| | |||||
* | Add memory BIO small I/O tests. | jsing | 2022-02-19 | 1 | -1/+72 |
| | |||||
* | Add tests for memory BIO. | jsing | 2022-02-17 | 1 | -2/+254 |
| | |||||
* | whitespace | beck | 2017-04-30 | 1 | -3/+3 |
| | |||||
* | Make this run on strict alignment architectures. | miod | 2015-05-08 | 1 | -6/+9 |
| | |||||
* | replace u_int32_t with uint32_t | bcook | 2014-07-11 | 1 | -4/+5 |
| | | | | ok beck@ | ||||
* | Include -DLIBRESSL_INTERNAL in regress makefiles. | jsing | 2014-07-08 | 1 | -2/+2 |
| | | | | ok miod@ | ||||
* | string.h is the correct file, not strings.h | bcook | 2014-07-08 | 1 | -2/+2 |
| | | | | ok beck@ jsing@ | ||||
* | Add regress tests for BIO_get_host_ip(). | jsing | 2014-06-22 | 1 | -2/+70 |
| | |||||
* | Add a skeleton regress for crypto/bio, which currently only covers | jsing | 2014-06-22 | 2 | -0/+92 |
BIO_get_port() and fails since the current code believes that "-1" is a valid port. |