Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
spamassassin
spamassassin-dont_use_SSLv3_methods.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File spamassassin-dont_use_SSLv3_methods.patch of Package spamassassin
Index: Mail-SpamAssassin-3.4.1/spamc/libspamc.c =================================================================== --- Mail-SpamAssassin-3.4.1.orig/spamc/libspamc.c 2015-04-28 21:56:59.000000000 +0200 +++ Mail-SpamAssassin-3.4.1/spamc/libspamc.c 2017-08-30 16:05:14.426823560 +0200 @@ -1216,7 +1216,11 @@ int message_filter(struct transport *tp, if (flags & SPAMC_TLSV1) { meth = TLSv1_client_method(); } else { +#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) + meth = TLS_client_method(); /* default */ +#else meth = SSLv3_client_method(); /* default */ +#endif } SSL_load_error_strings(); ctx = SSL_CTX_new(meth); @@ -1604,7 +1608,11 @@ int message_tell(struct transport *tp, c if (flags & SPAMC_USE_SSL) { #ifdef SPAMC_SSL SSLeay_add_ssl_algorithms(); +#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) + meth = TLS_client_method(); +#else meth = SSLv3_client_method(); +#endif SSL_load_error_strings(); ctx = SSL_CTX_new(meth); #else
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor