From 9228c0dea5feab7f71510e46e207e61c1188ec44 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 29 Oct 2018 15:31:32 +1100 Subject: src/openssl.c: Add new SSL options introduce in OpenSSL 1.1.1 --- src/openssl.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src') diff --git a/src/openssl.c b/src/openssl.c index 12211ea..8ecd57e 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -9136,6 +9136,9 @@ static const auxL_IntegerReg sx_option[] = { { "OP_SSLEAY_080_CLIENT_DH_BUG", SSL_OP_SSLEAY_080_CLIENT_DH_BUG }, { "OP_TLS_D5_BUG", SSL_OP_TLS_D5_BUG }, { "OP_TLS_BLOCK_PADDING_BUG", SSL_OP_TLS_BLOCK_PADDING_BUG }, +#ifdef SSL_OP_ALLOW_NO_DHE_KEX + { "OP_ALLOW_NO_DHE_KEX", SSL_OP_ALLOW_NO_DHE_KEX }, +#endif { "OP_DONT_INSERT_EMPTY_FRAGMENTS", SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS }, { "OP_NO_QUERY_MTU", SSL_OP_NO_QUERY_MTU }, { "OP_COOKIE_EXCHANGE", SSL_OP_COOKIE_EXCHANGE }, @@ -9152,6 +9155,15 @@ static const auxL_IntegerReg sx_option[] = { #endif { "OP_SINGLE_DH_USE", SSL_OP_SINGLE_DH_USE }, { "OP_EPHEMERAL_RSA", SSL_OP_EPHEMERAL_RSA }, +#ifdef SSL_OP_PRIORITIZE_CHACHA + { "OP_PRIORITIZE_CHACHA", SSL_OP_PRIORITIZE_CHACHA }, +#endif +#ifdef SSL_OP_ENABLE_MIDDLEBOX_COMPAT + { "OP_ENABLE_MIDDLEBOX_COMPAT", SSL_OP_ENABLE_MIDDLEBOX_COMPAT }, +#endif +#ifdef SSL_OP_NO_ANTI_REPLAY + { "OP_NO_ANTI_REPLAY", SSL_OP_NO_ANTI_REPLAY }, +#endif { "OP_CIPHER_SERVER_PREFERENCE", SSL_OP_CIPHER_SERVER_PREFERENCE }, { "OP_TLS_ROLLBACK_BUG", SSL_OP_TLS_ROLLBACK_BUG }, { "OP_NO_SSLv2", SSL_OP_NO_SSLv2 }, -- cgit v1.2.3-59-g8ed1b