summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authortb <>2023-06-20 14:05:46 +0000
committertb <>2023-06-20 14:05:46 +0000
commit7e9aa9b921436192a2dfffb1472dc4cf7bdac626 (patch)
tree9c7178cba5b0888774913e389b25c805ca5747cd /src/lib/libc
parentcb8959e259654169680279caacdcd5f5d8066e95 (diff)
downloadopenbsd-7e9aa9b921436192a2dfffb1472dc4cf7bdac626.tar.gz
openbsd-7e9aa9b921436192a2dfffb1472dc4cf7bdac626.tar.bz2
openbsd-7e9aa9b921436192a2dfffb1472dc4cf7bdac626.zip
Clean up EVP_PKEY_CTX_meth_dup()
Explicitly check against NULL, replace malloc() plus manual zeroing with calloc(). Use EVP_PKEY_up_ref() rather than handrolling it and use a more normal error idiom. There still seems to be a bug in here in that the ENGINE's refcount isn't bumped, but that will be investigated and fixed separately. ok jsing
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions