From f3d5acf29c78cc1ff5de54bb34f6fe76fbe59239 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Mon, 18 May 2020 22:23:49 -0300 Subject: [PATCH] Fixing SLE-12 package. --- src/ssl/negotiate.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ssl/negotiate.c b/src/ssl/negotiate.c index d50ef8d..200a5a1 100644 --- a/src/ssl/negotiate.c +++ b/src/ssl/negotiate.c @@ -158,14 +158,18 @@ static const struct ssl_protocol { .id = TLS1_2_VERSION, .description = SSL_TXT_TLSV1_2 }, +#ifdef DTLS1_VERSION { .id = DTLS1_VERSION, .description = "DTLSv1" }, +#endif // DTLS1_VERSION +#ifdef DTLS1_2_VERSION { .id = DTLS1_2_VERSION, .description = "DTLSv2" - } + }, +#endif // DTLS1_2_VERSION }; -- libgit2 0.21.2