Wrapper around OpenSSL (libssl and libcrypto) initialisation */
| 184 | /* Wrapper around OpenSSL (libssl and libcrypto) initialisation |
| 185 | */ |
| 186 | int cliSecureInit() |
| 187 | { |
| 188 | #ifdef USE_OPENSSL |
| 189 | ERR_load_crypto_strings(); |
| 190 | SSL_load_error_strings(); |
| 191 | SSL_library_init(); |
| 192 | #endif |
| 193 | return REDIS_OK; |
| 194 | } |