[−][src]Function mesalink::libssl::ssl::mesalink_SSL_CTX_use_PrivateKey_file
#[no_mangle] pub extern "C" fn mesalink_SSL_CTX_use_PrivateKey_file(
ctx_ptr: *mut MESALINK_CTX_ARC,
filename_ptr: *const c_char,
_format: c_int
) -> c_int
SSL_CTX_use_PrivateKey_file
- add the first private key found in file to
ctx. The formatting type of the certificate must be specified from the known
types SSL_FILETYPE_PEM and SSL_FILETYPE_ASN1.
#include <mesalink/openssl/ssl.h>
int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type);