defensive-coding-guide/modules/ROOT/examples/Features-TLS-Client-OpenSSL-Init.adoc
2022-01-13 20:42:40 +01:00

9 lines
248 B
Text

// The following call prints an error message and calls exit() if
// the OpenSSL configuration file is unreadable.
OPENSSL_config(NULL);
// Provide human-readable error messages.
SSL_load_error_strings();
// Register ciphers.
SSL_library_init();