summaryrefslogtreecommitdiff
path: root/tests/diff/blob.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-06-11 20:52:15 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-06-11 20:54:42 +0200
commit1d3364ac9d2bcd2d194f0afa0d301456d0d4e276 (patch)
tree74981c82bc5350a2303f6a68a9d162d6001dfec8 /tests/diff/blob.c
parent716e20b47eb82ebd94588fe6c950e661b6fe4f15 (diff)
downloadlibgit2-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/blob.c')
0 files changed, 0 insertions, 0 deletions