FreeBSD Bugzilla – Attachment 201924 Details for
Bug 235506
devel/gsoap: build fail with libressl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
gsoap.patch (text/plain), 2.88 KB, created by
Ivan Rozhuk
on 2019-02-11 09:29:32 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2019-02-11 09:29:32 UTC
Size:
2.88 KB
patch
obsolete
>Index: devel/gsoap/files/patch-gsoap_stdsoap2.c >=================================================================== >--- devel/gsoap/files/patch-gsoap_stdsoap2.c (revision 492673) >+++ devel/gsoap/files/patch-gsoap_stdsoap2.c (working copy) >@@ -1,6 +1,6 @@ > --- gsoap/stdsoap2.c.orig 2019-01-27 15:50:05 UTC > +++ gsoap/stdsoap2.c >-@@ -4302,7 +4302,7 @@ ssl_auth_init(struct soap *soap) >+@@ -4302,7 +4302,7 @@ > ERR_clear_error(); > if (!soap->ctx) > { >@@ -9,7 +9,7 @@ > /* TLS_method: a TLS/SSL connection established may understand the SSLv3, TLSv1, TLSv1.1 and TLSv1.2 protocols. */ > soap->ctx = SSL_CTX_new(TLS_method()); > #else >-@@ -4390,7 +4390,7 @@ ssl_auth_init(struct soap *soap) >+@@ -4390,7 +4390,7 @@ > #endif > if ((soap->ssl_flags & SOAP_SSL_RSA)) > { >@@ -18,7 +18,20 @@ > if (SSL_CTX_need_tmp_RSA(soap->ctx)) > #endif > { >-@@ -6682,6 +6682,9 @@ soap_bind(struct soap *soap, const char *host, int por >+@@ -4445,10 +4445,12 @@ >+ minv = TLS1_1_VERSION; >+ else if ((soap->ssl_flags & SOAP_TLSv1_2)) >+ minv = TLS1_2_VERSION; >++#ifdef TLS1_3_VERSION >+ else if ((soap->ssl_flags & SOAP_TLSv1_3)) >+ minv = TLS1_3_VERSION; >+ if ((soap->ssl_flags & SOAP_TLSv1_3) && OpenSSL_version_num() >= 0x10101000L) >+ maxv = TLS1_3_VERSION; >++#endif >+ else if ((soap->ssl_flags & SOAP_TLSv1_2)) >+ maxv = TLS1_2_VERSION; >+ else if ((soap->ssl_flags & SOAP_TLSv1_1)) >+@@ -6682,6 +6684,9 @@ > } > #endif > #ifdef TCP_FASTOPEN >Index: devel/gsoap/files/patch-gsoap_stdsoap2.cpp >=================================================================== >--- devel/gsoap/files/patch-gsoap_stdsoap2.cpp (revision 492673) >+++ devel/gsoap/files/patch-gsoap_stdsoap2.cpp (working copy) >@@ -1,6 +1,6 @@ > --- gsoap/stdsoap2.cpp.orig 2019-01-27 15:50:05 UTC > +++ gsoap/stdsoap2.cpp >-@@ -4302,7 +4302,7 @@ ssl_auth_init(struct soap *soap) >+@@ -4302,7 +4302,7 @@ > ERR_clear_error(); > if (!soap->ctx) > { >@@ -9,7 +9,7 @@ > /* TLS_method: a TLS/SSL connection established may understand the SSLv3, TLSv1, TLSv1.1 and TLSv1.2 protocols. */ > soap->ctx = SSL_CTX_new(TLS_method()); > #else >-@@ -4390,7 +4390,7 @@ ssl_auth_init(struct soap *soap) >+@@ -4390,7 +4390,7 @@ > #endif > if ((soap->ssl_flags & SOAP_SSL_RSA)) > { >@@ -18,7 +18,20 @@ > if (SSL_CTX_need_tmp_RSA(soap->ctx)) > #endif > { >-@@ -6682,6 +6682,9 @@ soap_bind(struct soap *soap, const char *host, int por >+@@ -4445,10 +4445,12 @@ >+ minv = TLS1_1_VERSION; >+ else if ((soap->ssl_flags & SOAP_TLSv1_2)) >+ minv = TLS1_2_VERSION; >++#ifdef TLS1_3_VERSION >+ else if ((soap->ssl_flags & SOAP_TLSv1_3)) >+ minv = TLS1_3_VERSION; >+ if ((soap->ssl_flags & SOAP_TLSv1_3) && OpenSSL_version_num() >= 0x10101000L) >+ maxv = TLS1_3_VERSION; >++#endif >+ else if ((soap->ssl_flags & SOAP_TLSv1_2)) >+ maxv = TLS1_2_VERSION; >+ else if ((soap->ssl_flags & SOAP_TLSv1_1)) >+@@ -6682,6 +6684,9 @@ > } > #endif > #ifdef TCP_FASTOPEN
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:
rozhuk.im
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 235506
:
201913
| 201924