defensive-coding-guide/modules/ROOT/pages/_partials/snippets/Features-TLS-Client-OpenSSL-Init.adoc

10 lines
248 B
Text
Raw Normal View History

// 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();