From 3c24a5545b444e22427eebe1324122faedcb60c9 Mon Sep 17 00:00:00 2001 From: Bert De Baecke Date: Thu, 13 Dec 2018 21:59:11 +0100 Subject: [PATCH] remove TLS1_3 In the last switch-statement to get the tls version of the system, the line "case GETDNS_TLS1_3: return TLS1_3_VERSION;" throws an error when using the 'make' command. Apparently, TLS1_3 was not defined. Or the line is removed, or a declaration is made. I removed the line and the compilation went fine. --- src/util-internal.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/util-internal.h b/src/util-internal.h index 529ebce0..6b54bdaf 100644 --- a/src/util-internal.h +++ b/src/util-internal.h @@ -226,7 +226,6 @@ INLINE int _getdns_tls_version2openssl_version(getdns_tls_version_t v) case GETDNS_TLS1 : return TLS1_VERSION; case GETDNS_TLS1_1: return TLS1_1_VERSION; case GETDNS_TLS1_2: return TLS1_2_VERSION; - case GETDNS_TLS1_3: return TLS1_3_VERSION; default : return TLS_MAX_VERSION; } }