FreeBSD Bugzilla – Attachment 213913 Details for
Bug 246027
net-mgmt/netdata: version 1.21.1 fail to build on 12.1 with DEFAULT_VERSIONS+= ssl=libressl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libressl-patch from upstream
patch-libnetdata_socket_security.c (text/plain), 790 bytes, created by
lysfjord.daniel
on 2020-04-29 13:43:01 UTC
(
hide
)
Description:
libressl-patch from upstream
Filename:
MIME Type:
Creator:
lysfjord.daniel
Created:
2020-04-29 13:43:01 UTC
Size:
790 bytes
patch
obsolete
>--- libnetdata/socket/security.c.orig 2020-04-13 15:16:47.000000000 +0200 >+++ libnetdata/socket/security.c 2020-04-29 15:36:01.299813513 +0200 >@@ -66,12 +66,19 @@ > return TLS1_1_VERSION; > else if (!strcmp(lversion, "1.2")) > return TLS1_2_VERSION; >-#if OPENSSL_VERSION_NUMBER >= OPENSSL_VERSION_111 >+#if (OPENSSL_VERSION_NUMBER >= OPENSSL_VERSION_111 && !defined(LIBRESSL_VERSION_NUMBER)) || ((defined(LIBRESSL_HAS_TLS1_3) || defined(LIBRESSL_INTERNAL))) > else if (!strcmp(lversion, "1.3")) > return TLS1_3_VERSION; > #endif >- >+#if !defined(LIBRESSL_VERSION_NUMBER) > return TLS_MAX_VERSION; >+#else >+# if defined(LIBRESSL_HAS_TLS1_3) || defined(LIBRESSL_INTERNAL) >+ return TLS1_3_VERSION; >+# else >+ return TLS1_2_VERSION; >+# endif >+#endif > } > #endif >
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
Flags:
mandree
:
maintainer-approval-
Actions:
View
|
Diff
Attachments on
bug 246027
:
213912
|
213913