void-packages/srcpkgs/virtuoso/patches/ssl1.1_more.patch

21 lines
669 B
Diff

Description: Comment unknown definition in ssl1.1 - please review!
Author: Andreas Tille <tille@debian.org>
Bug-Debian: https://bugs.debian.org/828594
Last-Update: Mo 11. Feb 13:50:17 CET 2019
--- a/libsrc/Dk/Dkernel.c
+++ b/libsrc/Dk/Dkernel.c
@@ -5161,10 +5161,12 @@ ssl_ctx_set_protocol_options(SSL_CTX *ct
else if (!strcasecmp (name, "TLSv1_2") || !strcasecmp (name, "TLSv1.2"))
opt = SSL_PROTOCOL_TLSV1_2;
#endif
+/*
#if defined (SSL_OP_NO_TLSv1_3)
else if (!strcasecmp (name, "TLSv1_3") || !strcasecmp (name, "TLSv1.3"))
opt = SSL_PROTOCOL_TLSV1_3;
#endif
+*/
else if (!strcasecmp (name, "ALL"))
opt = SSL_PROTOCOL_ALL;
else