History log of /openbsd-src/regress/lib/libcrypto/asn1/asn1basic.c (Results 1 – 16 of 16)
Revision Date Author Comments
# 9ea232b5 04-Feb-2024 tb <tb@openbsd.org>

Fix asn1_integer_null_data_test()

The failed variable was erroneously initialized to 0, making this test
always pass.

From Christian Andersen, thanks!


# 78b0b018 15-Aug-2023 tb <tb@openbsd.org>

Add regress coverage for ASN1_STRING_cmp()


# 45ae274f 15-Aug-2023 tb <tb@openbsd.org>

Add some regress coverage for various ASN1_STRING types to codify some
quirks and invariants.


# c9675a23 26-Nov-2022 tb <tb@openbsd.org>

Make internal header file names consistent

Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_l

Make internal header file names consistent

Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_local.h, reserving the name *_internal.h for our own code.
Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h.
constant_time_locl.h is moved to constant_time.h since it's special.

Adjust all .c files in libcrypto, libssl and regress.

The diff is mechanical with the exception of tls13_quic.c, where
#include <ssl_locl.h> was fixed manually.

discussed with jsing,
no objection bcook

show more ...


# 7bb1a6cf 05-Sep-2022 tb <tb@openbsd.org>

Convert from %i to %d


# 3dd3802f 03-Sep-2022 jsing <jsing@openbsd.org>

Ensure a constructed ASN.1 INTEGER is considered invalid when decoding.


# ed3e01bf 28-Aug-2022 jsing <jsing@openbsd.org>

Add regress test for the encoding of an ASN1_INTEGER with NULL data.


# d95bd0c0 25-Jun-2022 jsing <jsing@openbsd.org>

Check pointer argument after {d2i,i2d}_ASN1_{BIT_STRING,BOOLEAN,INTEGER}()


# 888e0020 25-Jun-2022 jsing <jsing@openbsd.org>

Add regress for ASN1_INTEGER_{get,set}_{u,}int64()


# 9badb9ad 25-Jun-2022 jsing <jsing@openbsd.org>

Add regress for ASN1_INTEGER_cmp()


# 7259fd76 27-Apr-2022 jsing <jsing@openbsd.org>

Enable ASN.1 INTEGER tests with invalid lengths/encodings.


# 51b91989 23-Apr-2022 jsing <jsing@openbsd.org>

Add ASN1_INTEGER test coverage.


# 9773c5c8 12-Jan-2022 tb <tb@openbsd.org>

Rework Makefile to use regress framework and link asn1basic statically.
It will need this for testing {d2i,i2d}_ASN1_BOOLEAN which will be
moved to internal-only in the upcoming bump.


# 30fc8fe5 06-Jan-2022 jsing <jsing@openbsd.org>

Add regress tests for ASN1_BIT_STRING.


# 72ad5686 23-Dec-2021 tb <tb@openbsd.org>

fix typo: boolean true should decode to 1, not 0


# 725e2e31 09-Dec-2021 jsing <jsing@openbsd.org>

Add initial tests for coverage of ASN.1 basic/primitive types.