FreeBSD Bugzilla – Attachment 195694 Details for
Bug 226956
net/haproxy: Fix build with OpenSSL 1.1 & LibreSSL 2.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Adjusted for changes to openssl-compat.h in haproxy 1.7.11 libressl 2.7.4
patch-include_proto_openssl-compat.h-PR226957 (text/plain), 1.87 KB, created by
dewayne
on 2018-07-31 19:27:05 UTC
(
hide
)
Description:
Adjusted for changes to openssl-compat.h in haproxy 1.7.11 libressl 2.7.4
Filename:
MIME Type:
Creator:
dewayne
Created:
2018-07-31 19:27:05 UTC
Size:
1.87 KB
patch
obsolete
>--- src/ssl_sock.c.orig 2018-08-01 04:59:30.000000000 +1000 >+++ src/ssl_sock.c 2018-08-01 05:08:24.000000000 +1000 >@@ -1147,7 +1147,7 @@ > #endif > } > >-#ifdef OPENSSL_NPN_NEGOTIATED >+#if defined(OPENSSL_NPN_NEGOTIATED) && !defined(OPENSSL_NO_NEXTPROTONEG) > /* This callback is used so that the server advertises the list of > * negociable protocols for NPN. > */ >@@ -2875,7 +2875,7 @@ > SSL_CTX_set_msg_callback(ctx, ssl_sock_msgcbk); > #endif > >-#ifdef OPENSSL_NPN_NEGOTIATED >+#if defined(OPENSSL_NPN_NEGOTIATED) && !defined(OPENSSL_NO_NEXTPROTONEG) > if (bind_conf->npn_str) > SSL_CTX_set_next_protos_advertised_cb(ctx, ssl_sock_advertise_npn_protos, bind_conf); > #endif >@@ -4891,7 +4891,7 @@ > return 1; > } > >-#ifdef OPENSSL_NPN_NEGOTIATED >+#if defined(OPENSSL_NPN_NEGOTIATED) && !defined(OPENSSL_NO_NEXTPROTONEG) > static int > smp_fetch_ssl_fc_npn(const struct arg *args, struct sample *smp, const char *kw, void *private) > { >@@ -5418,7 +5418,7 @@ > /* parse the "npn" bind keyword */ > static int bind_parse_npn(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) > { >-#ifdef OPENSSL_NPN_NEGOTIATED >+#if defined(OPENSSL_NPN_NEGOTIATED) && !defined(OPENSSL_NO_NEXTPROTONEG) > char *p1, *p2; > > if (!*args[cur_arg + 1]) { >@@ -6318,7 +6318,7 @@ > { "ssl_fc_has_crt", smp_fetch_ssl_fc_has_crt, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, > { "ssl_fc_has_sni", smp_fetch_ssl_fc_has_sni, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, > { "ssl_fc_is_resumed", smp_fetch_ssl_fc_is_resumed, 0, NULL, SMP_T_BOOL, SMP_USE_L5CLI }, >-#ifdef OPENSSL_NPN_NEGOTIATED >+#if defined(OPENSSL_NPN_NEGOTIATED) && !defined(OPENSSL_NO_NEXTPROTONEG) > { "ssl_fc_npn", smp_fetch_ssl_fc_npn, 0, NULL, SMP_T_STR, SMP_USE_L5CLI }, > #endif > #ifdef TLSEXT_TYPE_application_layer_protocol_negotiation
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 226956
:
191847
|
192967
| 195694 |
195695