diff options
author | tb <> | 2023-08-10 15:05:28 +0000 |
---|---|---|
committer | tb <> | 2023-08-10 15:05:28 +0000 |
commit | 94d6db7aae41374a07274a3db71eb29dfc627d30 (patch) | |
tree | 8d1950a42e00bbb98113c6eda16f45e77cfa2388 /src/lib/libcrypto/dsa/dsa_ameth.c | |
parent | 66af3e52908036e56b8299c42416c87abdfd7b36 (diff) | |
download | openbsd-94d6db7aae41374a07274a3db71eb29dfc627d30.tar.gz openbsd-94d6db7aae41374a07274a3db71eb29dfc627d30.tar.bz2 openbsd-94d6db7aae41374a07274a3db71eb29dfc627d30.zip |
Fix a leak in rsa_pub_encode()
rsa_param_encode() allocates the PSS parameters in an ASN1_STRING which
is leaked if any error occurs later in rsa_pub_encode(). Convert the rest
of the code to follow our ordinary idioms more closely.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_ameth.c')
0 files changed, 0 insertions, 0 deletions