diff options
author | schwarze <> | 2021-12-11 22:58:48 +0000 |
---|---|---|
committer | schwarze <> | 2021-12-11 22:58:48 +0000 |
commit | f88e6b60ffe39799ab846173f185ba13ac7dd1f9 (patch) | |
tree | 532c5bb73c4be67f02e0555a36f578b690062300 /src/regress/lib/libc/sys | |
parent | e60659e7b74a1e7d2072dbfb90b218a488525589 (diff) | |
download | openbsd-f88e6b60ffe39799ab846173f185ba13ac7dd1f9.tar.gz openbsd-f88e6b60ffe39799ab846173f185ba13ac7dd1f9.tar.bz2 openbsd-f88e6b60ffe39799ab846173f185ba13ac7dd1f9.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/regress/lib/libc/sys')
0 files changed, 0 insertions, 0 deletions