The function
ensure-ssl
initializes SSL. If it was already called in the image,
ensure-ssl
does nothing. Otherwise it loads the library, calls
SSL_library_init
, calls
SSL_load_error_strings
and performs internal initializations.
If
already-done
is true,
ensure-ssl
does only the internal initializations. The default value of
already-done
is
nil
.
If library-path is passed, it needs to be either a string, specifying one library, or a list of strings specifying multiple libraries. The default value of library-path is platform-specific. The initial default value is described in Loading the OpenSSL libraries. This default may be changed by calling set-ssl-library-path.