You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
358 B

  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()) ;