CVSROOT: /cvs Module name: src Changes by: [email protected] 2023/06/20 08:05:46
Modified files:
lib/libcrypto/evp: pmeth_lib.c
Log message:
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
