CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2021/11/23 21:32:52

Modified files:
        lib/libkeynote : signature.c 

Log message:
libkeynote: stop reaching into EVP_PKEY internals.

Use EVP_PKEY_get0_RSA() instead of pPublicKey->pkey.rsa.

Fix a couple of leaks in the vicinity: we need a reference on the RSA,
which is what keynote_free_key() frees, not on the EVP_PKEY. Also, don't
leak the entire certificate on success.

ok beck

Reply via email to