Browse Source

Add NO_TLSv1_1 and higher options

Change-Id: I69b675a8b41f84b9e786bc2ce1b9661fbd76cbd4
master
Simon Lundström 3 years ago
committed by Stefan Bühler
parent
commit
a4804cbd93
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      src/modules/mod_openssl.c

+ 9
- 0
src/modules/mod_openssl.c View File

@@ -445,6 +445,15 @@ static gboolean openssl_options_set_string(long *options, GString *s) {
#ifdef SSL_OP_NO_TLSv1
{S("TLSv1"), SSL_OP_NO_TLSv1, 0},
#endif
#ifdef SSL_OP_NO_TLSv1_1
{S("TLSv1_1"), SSL_OP_NO_TLSv1_1, 0},
#endif
#ifdef SSL_OP_NO_TLSv1_2
{S("TLSv1_2"), SSL_OP_NO_TLSv1_2, 0},
#endif
#ifdef SSL_OP_NO_TLSv1_3
{S("TLSv1_3"), SSL_OP_NO_TLSv1_3, 0},
#endif
#ifdef SSL_OP_PKCS1_CHECK_1
{S("PKCS1_CHECK_1"), SSL_OP_PKCS1_CHECK_1, 1},
#endif


Loading…
Cancel
Save