aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2018-10-29 15:31:32 +1100
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2018-10-29 15:43:39 +1100
commit9228c0dea5feab7f71510e46e207e61c1188ec44 (patch)
tree548260f48794ee015a756a0ef303e3fe92a501d3 /src
parente8aadd0794de73a2a44988c6d2c763e201471930 (diff)
downloadluaossl-9228c0dea5feab7f71510e46e207e61c1188ec44.tar.gz
luaossl-9228c0dea5feab7f71510e46e207e61c1188ec44.tar.bz2
luaossl-9228c0dea5feab7f71510e46e207e61c1188ec44.zip
src/openssl.c: Add new SSL options introduce in OpenSSL 1.1.1
Diffstat (limited to 'src')
-rw-r--r--src/openssl.c12
1 files changed, 12 insertions, 0 deletions
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 },