summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/rsa.c
diff options
context:
space:
mode:
authorschwarze <>2021-11-26 13:17:09 +0000
committerschwarze <>2021-11-26 13:17:09 +0000
commitd32ec31a7cdba9039a7bc50e7a4add51f70b429e (patch)
tree18a74bab6653e74260da07f52a2ac7c285cd1391 /src/usr.bin/openssl/rsa.c
parent3d037e20c2808ea3d7e462325f59a3134ffd19f3 (diff)
downloadopenbsd-d32ec31a7cdba9039a7bc50e7a4add51f70b429e.tar.gz
openbsd-d32ec31a7cdba9039a7bc50e7a4add51f70b429e.tar.bz2
openbsd-d32ec31a7cdba9039a7bc50e7a4add51f70b429e.zip
Bugfix in X509_get_pubkey_parameters(3):
If EVP_PKEY_copy_parameters(3) fails - among other reasons, this may happen when out of memory - the pkey argument and/or the chain argument will not contain all the desired parameters after returning. Consequently, report the failure to the caller rather than silently ignoring it. OK tb@
Diffstat (limited to 'src/usr.bin/openssl/rsa.c')
0 files changed, 0 insertions, 0 deletions