summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authortb <>2022-03-31 13:00:58 +0000
committertb <>2022-03-31 13:00:58 +0000
commit91087446015ebb4341a9f7c6accff0e586a0ba5d (patch)
tree0c3dfce3c583f4322bd788c7524a0fa1e6531d2d /src/lib/libc
parentcf868958cea31b1ed1d80e83b4b5f03121ab1c48 (diff)
downloadopenbsd-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/libc')
0 files changed, 0 insertions, 0 deletions