diff options
author | tb <> | 2022-03-31 13:00:58 +0000 |
---|---|---|
committer | tb <> | 2022-03-31 13:00:58 +0000 |
commit | d42bd80cba6b796dfe5030a440f5fadc50333b20 (patch) | |
tree | 0c3dfce3c583f4322bd788c7524a0fa1e6531d2d /src/lib/libcrypto/man/CRYPTO_set_ex_data.3 | |
parent | 9bfa56e6c057a1a19a5cc1367f222090c56ebd3e (diff) | |
download | openbsd-d42bd80cba6b796dfe5030a440f5fadc50333b20.tar.gz openbsd-d42bd80cba6b796dfe5030a440f5fadc50333b20.tar.bz2 openbsd-d42bd80cba6b796dfe5030a440f5fadc50333b20.zip |
Simplify priv_key handling in d2i_ECPrivateKey()
d2i_EC_PRIVATEKEY() can handle the allocation of priv_key internally,
no need to do this up front and reach it through the dangerous reuse
mechanism. There's also no point in freeing a variable we know to be
NULL.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/man/CRYPTO_set_ex_data.3')
0 files changed, 0 insertions, 0 deletions