010-ssl3-fix.patch 358 B

12345678910111213
  1. --- a/src/gssl/gssl_openssl.cpp
  2. +++ b/src/gssl/gssl_openssl.cpp
  3. @@ -292,8 +292,10 @@ GSsl::Context::Context( const std::strin
  4. {
  5. if( (flags&3U) == 2U )
  6. m_ssl_ctx = SSL_CTX_new(SSLv23_method()) ;
  7. +#ifdef SSL3_SUPPORT
  8. else if( (flags&3U) == 3U )
  9. m_ssl_ctx = SSL_CTX_new(SSLv3_method()) ;
  10. +#endif
  11. else
  12. m_ssl_ctx = SSL_CTX_new(TLSv1_method()) ;