summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cryptlib.c
diff options
context:
space:
mode:
authortb <>2024-10-29 06:36:58 +0000
committertb <>2024-10-29 06:36:58 +0000
commitce051cb967424d433f6c495f7c82b2a7204e2d4f (patch)
tree5bac78bb07a3a8b81348d54a6b2070bc0c287ccf /src/lib/libcrypto/cryptlib.c
parentbe8def6720ab4dae49c3fd9801115c4abc1e78c6 (diff)
downloadopenbsd-ce051cb967424d433f6c495f7c82b2a7204e2d4f.tar.gz
openbsd-ce051cb967424d433f6c495f7c82b2a7204e2d4f.tar.bz2
openbsd-ce051cb967424d433f6c495f7c82b2a7204e2d4f.zip
eckey_compute_pubkey: don't leak the public key
EC_KEY_set_public_key() sets a copy, so it doesn't take ownership and hence pub_key must not be nulled out on success.
Diffstat (limited to 'src/lib/libcrypto/cryptlib.c')
0 files changed, 0 insertions, 0 deletions