Commit 1d3364ac9d2bcd2d194f0afa0d301456d0d4e276

Carlos Martín Nieto 2014-06-11T20:52:15

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.