diff options
author | schwarze <> | 2021-12-11 22:58:48 +0000 |
---|---|---|
committer | schwarze <> | 2021-12-11 22:58:48 +0000 |
commit | 693b9af2c868379acbde502b0fdd91708ee6da6e (patch) | |
tree | 532c5bb73c4be67f02e0555a36f578b690062300 /src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 | |
parent | ba300c78ab7a7a24256b3e243db2e3f84ada4c14 (diff) | |
download | openbsd-693b9af2c868379acbde502b0fdd91708ee6da6e.tar.gz openbsd-693b9af2c868379acbde502b0fdd91708ee6da6e.tar.bz2 openbsd-693b9af2c868379acbde502b0fdd91708ee6da6e.zip |
Merge two bugfixes in ASN1_STRING_TABLE_add(3) and ASN1_STRING_TABLE_get(3)
from the OpenSSL 1.1.1 branch, which is still under a free license,
mostly this commit:
commit d35c0ff30b31be9fd5dcf3d552a16feb8de464bc
Author: Dr. Stephen Henson <steve@openssl.org>
Date: Fri Oct 19 15:06:31 2012 +0000
fix ASN1_STRING_TABLE_add so it can override existing string table values
This fixes a segfault in ASN1_STRING_TABLE_add(3), which tried to change a
static const entry when called with an nid already in the default table,
and it switches the precedence of the two tables in ASN1_STRING_TABLE_get(3).
In addition, it changes behaviour in the following minor ways:
* Ignore negative minsize and maxsize arguments, not just -1.
* Ignore a zero mask and zero flags.
It's unclear whether these additional changes make the API absolutely
better, but we want compatibility with OpenSSL in these functions.
Tweaks & OK tb@.
Diffstat (limited to 'src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3')
0 files changed, 0 insertions, 0 deletions