tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 57432] New: Incorrect values for SSL_OP_NO_TLSv1_1 and SSL_OP_NO_TLSv1_2
Date Sun, 11 Jan 2015 18:20:56 GMT

            Bug ID: 57432
           Summary: Incorrect values for SSL_OP_NO_TLSv1_1 and
           Product: Tomcat Native
           Version: 1.1.32
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Library

Bug 53952 added support for TLS 1.1 and TLS 1.2 and added the following
constants (from jni/java/org/apache/tomcat/jni/

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:
For additional commands, e-mail:

View raw message