I have a private key bytes stored in PEM format, in a variable of Type LPSTR. i.e
LPSTR pPrivateKeyInPem;
Now I need to generate an EVP_PKEY using pPrivateKeyInPem, so that it can be loaded into an SSL_CTX Object using the SSL_CTX_use_PrivateKey() API of Openssl.
How can I do this?