diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-06-12 16:20:52 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-06-12 16:58:25 +0200 |
commit | 081e76bac26e1ed6adafb402d15b30c622866d61 (patch) | |
tree | b7e5ea0fc44590bce64b373a0fdf05191b302aad /src/global.h | |
parent | 8f897b6f2f4742a7d9189528e082cfe7cecd6f29 (diff) | |
download | libgit2-081e76bac26e1ed6adafb402d15b30c622866d61.tar.gz |
ssl: init everything all the timecmn/init-ssl-once
Bring together all of the OpenSSL initialization to
git_threads_init() so it's together and doesn't need locks.
Moving it here also gives us libssh2 thread safety (when built against
openssl).
Diffstat (limited to 'src/global.h')
-rw-r--r-- | src/global.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/global.h b/src/global.h index 8904e2de5..745df3e4a 100644 --- a/src/global.h +++ b/src/global.h @@ -23,8 +23,6 @@ extern SSL_CTX *git__ssl_ctx; git_global_st *git__global_state(void); extern git_mutex git__mwindow_mutex; -extern git_mutex git__ssl_mutex; -extern git_atomic git__ssl_init; #define GIT_GLOBAL (git__global_state()) |