diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-06-11 20:52:15 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-06-11 20:54:42 +0200 |
commit | 1d3364ac9d2bcd2d194f0afa0d301456d0d4e276 (patch) | |
tree | 74981c82bc5350a2303f6a68a9d162d6001dfec8 /tests/diff/patch.c | |
parent | 716e20b47eb82ebd94588fe6c950e661b6fe4f15 (diff) | |
download | libgit2-1d3364ac9d2bcd2d194f0afa0d301456d0d4e276.tar.gz |
netops: init OpenSSL once under lock
The OpenSSL init functions are not reentrant, which means that running
multiple fetches in parallel can cause us to crash.
Use a mutex to init OpenSSL, and since we're adding this extra checks,
init it only once.
Diffstat (limited to 'tests/diff/patch.c')
0 files changed, 0 insertions, 0 deletions