defensive-coding-guide/modules/ROOT/pages/_partials/snippets/Features-TLS-Client-OpenSSL-Init.adoc
2018-09-20 11:51:33 +02: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();