CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2023/06/20 08:10:05

Modified files:
        lib/libcrypto/evp: pmeth_lib.c 

Log message:
Clean up and fix int_ctx_new()

Compare explicitly against NULL, ensure the engine is always finished on
error, switch to using calloc() instead of malloc() + forgetting to set
some members to 0, use EVP_PKEY_up_ref() and also use pkey_ctx instead of
ret for the newly created EVP_PKEY_CTX.

ok jsing

Reply via email to