Commit 173a0375a8eec02c1b40e73187347ca958e42b84

Etienne Samson 2018-02-08T23:50:14

openssl: remove leftover #ifdef This is the "OpenSSL available" global init function after all

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/src/streams/openssl.c b/src/streams/openssl.c
index 8223d58..d1bcbf2 100644
--- a/src/streams/openssl.c
+++ b/src/streams/openssl.c
@@ -202,7 +202,6 @@ static void shutdown_ssl(void)
 
 int git_openssl_stream_global_init(void)
 {
-#ifdef GIT_OPENSSL
 	long ssl_opts = SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3;
 	const char *ciphers = git_libgit2__ssl_ciphers();
 
@@ -245,8 +244,6 @@ int git_openssl_stream_global_init(void)
 		return -1;
 	}
 
-#endif
-
 	git__on_shutdown(shutdown_ssl);
 
 	return 0;