summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa
diff options
context:
space:
mode:
authorjsing <>2022-08-28 17:49:25 +0000
committerjsing <>2022-08-28 17:49:25 +0000
commitd065cbde3ee64dd2a8aff25147e1c4eaebac2787 (patch)
tree069494453f9add0f2e422ad624f7019e1b4900ce /src/lib/libcrypto/dsa
parent21ac1a3f8ac56e297a168e569f198ea39da46619 (diff)
downloadopenbsd-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')
0 files changed, 0 insertions, 0 deletions