Return the local private key configured on ssl (borrowed pointer).

Synopsis

Declared in <openssl/ssl.h>

evp_pkey_st*
SSL_get_privatekey(SSL const* ssl);

Return Value

EVP_PKEY used for the local certificate, or NULL if unset.

Parameters

Name

Description

ssl

SSL connection.

Created with MrDocs