Cheking public or private key

Patrice Guérin guerinp at talasi.fr
Tue Feb 16 18:39:14 UTC 2021


Dear All,

Is there a way to check if a EVP_PKEY is a public or private key ?

In the case of use of EVP_Sign or EVP_DigestSign functions, an 
application leads to crash with SIGSEGV
if an incorrect key is given when finalizing process.

Thanks in advance for your answers.

Kind regards,
Patrice.



More information about the openssl-users mailing list