Workaround for certain broken versions of OpenSSL