Searched refs:priv_key (Results 1 – 1 of 1) sorted by relevance
1569 EVP_PKEY *priv_key = NULL; in cert_stuff() local1593 priv_key = ENGINE_load_private_key(data->state.engine, key_file, in cert_stuff()1597 if(!priv_key) { in cert_stuff()1601 if(SSL_CTX_use_PrivateKey(ctx, priv_key) != 1) { in cert_stuff()1603 EVP_PKEY_free(priv_key); in cert_stuff()1606 EVP_PKEY_free(priv_key); /* we do not need the handle any more... */ in cert_stuff()1650 EVP_PKEY *priv_key = SSL_get_privatekey(ssl); in cert_stuff() local1653 pktype = EVP_PKEY_id(priv_key); in cert_stuff()1655 pktype = priv_key->type; in cert_stuff()1658 RSA *rsa = EVP_PKEY_get1_RSA(priv_key); in cert_stuff()
Completed in 13 milliseconds