diff options
author | tb <> | 2022-03-31 13:00:58 +0000 |
---|---|---|
committer | tb <> | 2022-03-31 13:00:58 +0000 |
commit | 91087446015ebb4341a9f7c6accff0e586a0ba5d (patch) | |
tree | 0c3dfce3c583f4322bd788c7524a0fa1e6531d2d /src/lib/libcrypto/man/RSA_get_ex_new_index.3 | |
parent | cf868958cea31b1ed1d80e83b4b5f03121ab1c48 (diff) | |
download | openbsd-91087446015ebb4341a9f7c6accff0e586a0ba5d.tar.gz openbsd-91087446015ebb4341a9f7c6accff0e586a0ba5d.tar.bz2 openbsd-91087446015ebb4341a9f7c6accff0e586a0ba5d.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/RSA_get_ex_new_index.3')
0 files changed, 0 insertions, 0 deletions