summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/ssl.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index 1a6f28911b..a72af19711 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.131 2017/08/13 16:25:19 jsing Exp $ */ 1/* $OpenBSD: ssl.h,v 1.132 2017/08/13 16:28:45 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -481,7 +481,6 @@ struct ssl_session_st {
481 481
482/* Allow initial connection to servers that don't support RI */ 482/* Allow initial connection to servers that don't support RI */
483#define SSL_OP_LEGACY_SERVER_CONNECT 0x00000004L 483#define SSL_OP_LEGACY_SERVER_CONNECT 0x00000004L
484#define SSL_OP_TLSEXT_PADDING 0x00000010L
485 484
486/* Disable SSL 3.0/TLS 1.0 CBC vulnerability workaround that was added 485/* Disable SSL 3.0/TLS 1.0 CBC vulnerability workaround that was added
487 * in OpenSSL 0.9.6d. Usually (depending on the application protocol) 486 * in OpenSSL 0.9.6d. Usually (depending on the application protocol)
@@ -520,8 +519,7 @@ struct ssl_session_st {
520 519
521/* SSL_OP_ALL: various bug workarounds that should be rather harmless. */ 520/* SSL_OP_ALL: various bug workarounds that should be rather harmless. */
522#define SSL_OP_ALL \ 521#define SSL_OP_ALL \
523 (SSL_OP_LEGACY_SERVER_CONNECT | \ 522 (SSL_OP_LEGACY_SERVER_CONNECT)
524 SSL_OP_TLSEXT_PADDING)
525 523
526/* Obsolete flags kept for compatibility. No sane code should use them. */ 524/* Obsolete flags kept for compatibility. No sane code should use them. */
527#define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION 0x0 525#define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION 0x0
@@ -544,6 +542,7 @@ struct ssl_session_st {
544#define SSL_OP_SINGLE_ECDH_USE 0x0 542#define SSL_OP_SINGLE_ECDH_USE 0x0
545#define SSL_OP_SSLEAY_080_CLIENT_DH_BUG 0x0 543#define SSL_OP_SSLEAY_080_CLIENT_DH_BUG 0x0
546#define SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG 0x0 544#define SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG 0x0
545#define SSL_OP_TLSEXT_PADDING 0x0
547#define SSL_OP_TLS_BLOCK_PADDING_BUG 0x0 546#define SSL_OP_TLS_BLOCK_PADDING_BUG 0x0
548#define SSL_OP_TLS_D5_BUG 0x0 547#define SSL_OP_TLS_D5_BUG 0x0
549 548