diff options
author | schwarze <> | 2021-11-26 13:05:03 +0000 |
---|---|---|
committer | schwarze <> | 2021-11-26 13:05:03 +0000 |
commit | 3d037e20c2808ea3d7e462325f59a3134ffd19f3 (patch) | |
tree | 58639dc8041b9317fa3165ef125e2e5f8f84e116 /src/usr.bin/openssl/rsa.c | |
parent | e792591e2f09291fab59cd017f7bc16565fc3853 (diff) | |
download | openbsd-3d037e20c2808ea3d7e462325f59a3134ffd19f3.tar.gz openbsd-3d037e20c2808ea3d7e462325f59a3134ffd19f3.tar.bz2 openbsd-3d037e20c2808ea3d7e462325f59a3134ffd19f3.zip |
Simplify the code in X509_get_pubkey_parameters(3)
by using X509_get0_pubkey(3) instead of X509_get_pubkey(3);
no functional change.
OK tb@
This is similar to the relevant part of the follwoing commit
from the OpenSSL 1.1.1 branch, which is still under a free licence,
but without the bug that commit introduced into this function in OpenSSL:
commit c01ff880d47392b82cce2f93ac4a9bb8c68f8cc7
Author: Dr. Stephen Henson <steve@openssl.org>
Date: Mon Dec 14 13:13:32 2015 +0000
Diffstat (limited to 'src/usr.bin/openssl/rsa.c')
0 files changed, 0 insertions, 0 deletions