Commit 173a0375 by Etienne Samson Committed by Patrick Steinhardt

openssl: remove leftover #ifdef

This is the "OpenSSL available" global init function after all
parent dd9de88a
...@@ -202,7 +202,6 @@ static void shutdown_ssl(void) ...@@ -202,7 +202,6 @@ static void shutdown_ssl(void)
int git_openssl_stream_global_init(void) int git_openssl_stream_global_init(void)
{ {
#ifdef GIT_OPENSSL
long ssl_opts = SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3; long ssl_opts = SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3;
const char *ciphers = git_libgit2__ssl_ciphers(); const char *ciphers = git_libgit2__ssl_ciphers();
...@@ -245,8 +244,6 @@ int git_openssl_stream_global_init(void) ...@@ -245,8 +244,6 @@ int git_openssl_stream_global_init(void)
return -1; return -1;
} }
#endif
git__on_shutdown(shutdown_ssl); git__on_shutdown(shutdown_ssl);
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment