FreeBSD Bugzilla – Attachment 229346 Details for
Bug 259688
databases/memcached: 1.6.12 fails to build with ssl=libressl: error: use of undeclared identifier 'TLS1_3_VERSION'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for memcached.c to check if LIBRESSL_VERSION is above 3.4, else disable TLS1.3
patch-memcached.c (text/plain), 1.35 KB, created by
lysfjord.daniel
on 2021-11-07 14:56:39 UTC
(
hide
)
Description:
patch for memcached.c to check if LIBRESSL_VERSION is above 3.4, else disable TLS1.3
Filename:
MIME Type:
Creator:
lysfjord.daniel
Created:
2021-11-07 14:56:39 UTC
Size:
1.35 KB
patch
obsolete
>--- memcached.c.orig 2021-09-28 16:14:36 UTC >+++ memcached.c >@@ -4013,8 +4013,8 @@ static void usage(void) { > printf(" - ssl_session_cache: enable server-side SSL session cache, to support session\n" > " resumption\n" > " - ssl_min_version: minimum protocol version to accept (default: %s)\n" >-#if OPENSSL_VERSION_NUMBER >= 0x10101000L >- " valid values are 0(%s), 1(%s), 2(%s), or 3(%s).\n", >+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (LIBRESSL_VERSION_NUMBER > 0x3040000fL) >+ " valid values are 0(%s), 1(%s), 2(%s), or 3(%s).\n", > ssl_proto_text(settings.ssl_min_version), > ssl_proto_text(TLS1_VERSION), ssl_proto_text(TLS1_1_VERSION), > ssl_proto_text(TLS1_2_VERSION), ssl_proto_text(TLS1_3_VERSION)); >@@ -5413,7 +5413,7 @@ int main (int argc, char **argv) { > case 2: > settings.ssl_min_version = TLS1_2_VERSION; > break; >-#if OPENSSL_VERSION_NUMBER >= 0x10101000L >+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (LIBRESSL_VERSION_NUMBER >= 0x3040000fL) > case 3: > settings.ssl_min_version = TLS1_3_VERSION; > break;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 259688
:
229337
|
229345
|
229346
|
229384
|
229385