Prepare further fixes of X509_ALGOR_set0() misuse
authortb <tb@openbsd.org>
Wed, 8 Nov 2023 19:14:43 +0000 (19:14 +0000)
committertb <tb@openbsd.org>
Wed, 8 Nov 2023 19:14:43 +0000 (19:14 +0000)
commit4a452264ff90c002da64d5a5352b71a3dc07a521
tree82502cc02a1f655159cd769afd3f6ee0143467d7
parent516ab9d2173e13746e915d4bc8481183431bcc84
Prepare further fixes of X509_ALGOR_set0() misuse

In rsa_alg_set_oaep_padding() rename los to ostr for consistency with
astr, make it have function scope, free ostr in the error path and assume
X509_ALGOR_set0() success.

ok jca
lib/libcrypto/rsa/rsa_ameth.c