Commit f59a34d2 by Jacques Germishuys

Only create openssl_locks if thread support is enabled

parent 529c3715
...@@ -19,7 +19,9 @@ git_mutex git__mwindow_mutex; ...@@ -19,7 +19,9 @@ git_mutex git__mwindow_mutex;
#ifdef GIT_SSL #ifdef GIT_SSL
# include <openssl/ssl.h> # include <openssl/ssl.h>
SSL_CTX *git__ssl_ctx; SSL_CTX *git__ssl_ctx;
# ifdef GIT_THREADS
static git_mutex *openssl_locks; static git_mutex *openssl_locks;
# endif
#endif #endif
static git_global_shutdown_fn git__shutdown_callbacks[MAX_SHUTDOWN_CB]; static git_global_shutdown_fn git__shutdown_callbacks[MAX_SHUTDOWN_CB];
......
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