summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authortb <>2023-06-20 14:05:46 +0000
committertb <>2023-06-20 14:05:46 +0000
commite8ccdf253cfa0ff21ced6e923e65faaafc0f0e50 (patch)
tree9c7178cba5b0888774913e389b25c805ca5747cd /src/lib/libc/stdlib
parent6b6b8b595460a702a94328314232c8cc0f254a13 (diff)
downloadopenbsd-e8ccdf253cfa0ff21ced6e923e65faaafc0f0e50.tar.gz
openbsd-e8ccdf253cfa0ff21ced6e923e65faaafc0f0e50.tar.bz2
openbsd-e8ccdf253cfa0ff21ced6e923e65faaafc0f0e50.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/stdlib')
0 files changed, 0 insertions, 0 deletions