You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/01/11 19:20:56 UTC
[Bug 57432] New: Incorrect values for SSL_OP_NO_TLSv1_1 and
SSL_OP_NO_TLSv1_2
https://issues.apache.org/bugzilla/show_bug.cgi?id=57432
Bug ID: 57432
Summary: Incorrect values for SSL_OP_NO_TLSv1_1 and
SSL_OP_NO_TLSv1_2
Product: Tomcat Native
Version: 1.1.32
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Library
Assignee: dev@tomcat.apache.org
Reporter: jpinner@twitter.com
Bug 53952 added support for TLS 1.1 and TLS 1.2 and added the following
constants (from jni/java/org/apache/tomcat/jni/SSL.java)
public static final int SSL_OP_NO_TLSv1_1 = 0x08000000;
public static final int SSL_OP_NO_TLSv1_2 = 0x10000000;
that get passed into OpenSSl's SSL_CTX_set_options (see
jni/native/src/sslcontext.c). OpenSSL however defines these constants
out-of-order (from ssl/ssl.h):
#define SSL_OP_NO_TLSv1_2 0x08000000L
#define SSL_OP_NO_TLSv1_1 0x10000000L
The result is that defining "SSL_OP_NO_TLSv1_1" instead disables support for
TLS 1.2 (and vice-versa).
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 57432] Incorrect values for SSL_OP_NO_TLSv1_1 and
SSL_OP_NO_TLSv1_2
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57432
Konstantin Kolinko <kn...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Library |Connectors
Version|1.1.32 |8.0.18
Product|Tomcat Native |Tomcat 8
Target Milestone|--- |----
--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---
Java code of Tomcat Native is maintained in Tomcat proper. I am moving the bug
there.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 57432] Incorrect values for SSL_OP_NO_TLSv1_1 and
SSL_OP_NO_TLSv1_2
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57432
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Fixed in trunk and 8.0.x (for 8.0.19 onwards).
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 57432] Incorrect values for SSL_OP_NO_TLSv1_1 and
SSL_OP_NO_TLSv1_2
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57432
--- Comment #3 from Christopher Schultz <ch...@christopherschultz.net> ---
(In reply to Jeff Pinner from comment #0)
> Bug 53952 added support for TLS 1.1 and TLS 1.2 and added the following
> constants (from jni/java/org/apache/tomcat/jni/SSL.java)
>
> public static final int SSL_OP_NO_TLSv1_1 = 0x08000000;
> public static final int SSL_OP_NO_TLSv1_2 = 0x10000000;
For the record, these constants were added in r1632577 which slightly pre-dates
the commits directly-related to bug #53952.
Also note that these constants were never back-ported to Tomcat 7.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org