Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
libtcnative-1-0
tomcat-native-nosslv2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tomcat-native-nosslv2.patch of Package libtcnative-1-0
--- tomcat-native-1.1.30-src.orig/jni/native/src/sslcontext.c +++ tomcat-native-1.1.30-src/jni/native/src/sslcontext.c @@ -73,12 +73,17 @@ TCN_IMPLEMENT_CALL(jlong, SSLContext, ma switch (protocol) { case SSL_PROTOCOL_SSLV2: +#ifdef OPENSSL_NO_SSL2 + tcn_Throw(e, "Invalid Server SSL Protocol: SSLv2 not supported"); + goto init_failed; +#else if (mode == SSL_MODE_CLIENT) ctx = SSL_CTX_new(SSLv2_client_method()); else if (mode == SSL_MODE_SERVER) ctx = SSL_CTX_new(SSLv2_server_method()); else ctx = SSL_CTX_new(SSLv2_method()); +#endif break; case SSL_PROTOCOL_SSLV3: if (mode == SSL_MODE_CLIENT)
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