diff options
author | jsing <> | 2022-08-28 17:49:25 +0000 |
---|---|---|
committer | jsing <> | 2022-08-28 17:49:25 +0000 |
commit | d065cbde3ee64dd2a8aff25147e1c4eaebac2787 (patch) | |
tree | 069494453f9add0f2e422ad624f7019e1b4900ce /src/lib/libcrypto/dsa/dsa_lib.c | |
parent | 21ac1a3f8ac56e297a168e569f198ea39da46619 (diff) | |
download | openbsd-d065cbde3ee64dd2a8aff25147e1c4eaebac2787.tar.gz openbsd-d065cbde3ee64dd2a8aff25147e1c4eaebac2787.tar.bz2 openbsd-d065cbde3ee64dd2a8aff25147e1c4eaebac2787.zip |
Encode an ASN.1 INTEGER with NULL data to value of zero.
When an ASN1_INTEGER is created it has NULL data until a value is set -
previously, an ASN1_INTEGER in this state encoded to an ASN.1 INTEGER with
a value of 0, rather than being treated as an error. While code should
really set values, the historical behaviour has not required this.
Found the hard way by sthen@ with acme-client.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_lib.c')
0 files changed, 0 insertions, 0 deletions