summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/OBJ_nid2obj.3
diff options
context:
space:
mode:
authorschwarze <>2021-07-04 11:38:37 +0000
committerschwarze <>2021-07-04 11:38:37 +0000
commit1fc4eef4dab9984c6dc3598bba863591943996db (patch)
tree0f32a9a4ea2fd95395a29e327946cd1d512c7de1 /src/lib/libcrypto/man/OBJ_nid2obj.3
parent1a1544c135b2932046e4ec6f3c09c7d6a690014b (diff)
downloadopenbsd-1fc4eef4dab9984c6dc3598bba863591943996db.tar.gz
openbsd-1fc4eef4dab9984c6dc3598bba863591943996db.tar.bz2
openbsd-1fc4eef4dab9984c6dc3598bba863591943996db.zip
Bugfix: when X509_NAME_dup(3) failed, X509_NAME_set(3) indicated success
even though it did not actually set the name. Instead, indicate failure in this case. This commit sneaks in a small, unrelated change in behaviour. If the first argument of X509_NAME_set(3) was NULL, the function used to return failure. Now it crashes the program by accessing the NULL pointer, for compatibility with the same change in OpenSSL. This merges the following two commits from the OpenSSL-1.1.1 branch, which is still available under a free license: 1. 180794c5 Rich Salz Sep 3 11:33:34 2017 -0400 2. c1c1783d Richard Levitte May 17 09:53:14 2018 +0200 OK tb@
Diffstat (limited to 'src/lib/libcrypto/man/OBJ_nid2obj.3')
0 files changed, 0 insertions, 0 deletions