From 20f4a043eb8c148d044777b849a1cc1e0168b9ee Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Mon, 21 Jan 2019 10:04:17 -0800 Subject: [PATCH] Add SSL_OP_NO_RENEGOTIATION Since |ssl_renegotiate_never| is the default, this option is moot. However, OpenSSL defines and supports it so this helps code that wishes to support both. Change-Id: I3a2f6e93a078d39526d10f9cd0a990953bd45825 Reviewed-on: https://boringssl-review.googlesource.com/c/34384 Reviewed-by: Adam Langley Commit-Queue: Adam Langley --- include/openssl/ssl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 59b9eac1..c107cbd5 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -4147,6 +4147,7 @@ DEFINE_STACK_OF(SSL_COMP) #define SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG 0 #define SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG 0 #define SSL_OP_NO_COMPRESSION 0 +#define SSL_OP_NO_RENEGOTIATION 0 // ssl_renegotiate_never is the default #define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION 0 #define SSL_OP_NO_SSLv2 0 #define SSL_OP_NO_SSLv3 0