Skip to content

Commit 173a037

Browse files
tiennoupks-t
authored andcommitted
openssl: remove leftover #ifdef
This is the "OpenSSL available" global init function after all
1 parent dd9de88 commit 173a037

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/streams/openssl.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ static void shutdown_ssl(void)
202202

203203
int git_openssl_stream_global_init(void)
204204
{
205-
#ifdef GIT_OPENSSL
206205
long ssl_opts = SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3;
207206
const char *ciphers = git_libgit2__ssl_ciphers();
208207

@@ -245,8 +244,6 @@ int git_openssl_stream_global_init(void)
245244
return -1;
246245
}
247246

248-
#endif
249-
250247
git__on_shutdown(shutdown_ssl);
251248

252249
return 0;

0 commit comments

Comments
 (0)