Lines 1-4
Link Here
|
1 |
--- gsoap/stdsoap2.c.orig 2019-01-27 15:50:05 UTC |
1 |
--- gsoap/stdsoap2.c.orig 2019-02-11 02:30:27 UTC |
2 |
+++ gsoap/stdsoap2.c |
2 |
+++ gsoap/stdsoap2.c |
3 |
@@ -4302,7 +4302,7 @@ ssl_auth_init(struct soap *soap) |
3 |
@@ -4302,7 +4302,7 @@ ssl_auth_init(struct soap *soap) |
4 |
ERR_clear_error(); |
4 |
ERR_clear_error(); |
Lines 18-24
Link Here
|
18 |
if (SSL_CTX_need_tmp_RSA(soap->ctx)) |
18 |
if (SSL_CTX_need_tmp_RSA(soap->ctx)) |
19 |
#endif |
19 |
#endif |
20 |
{ |
20 |
{ |
21 |
@@ -6682,6 +6682,9 @@ soap_bind(struct soap *soap, const char *host, int por |
21 |
@@ -4446,9 +4446,11 @@ ssl_auth_init(struct soap *soap) |
|
|
22 |
else if ((soap->ssl_flags & SOAP_TLSv1_2)) |
23 |
minv = TLS1_2_VERSION; |
24 |
else if ((soap->ssl_flags & SOAP_TLSv1_3)) |
25 |
+#if !defined(LIBRESSL_VERSION_NUMBER) |
26 |
minv = TLS1_3_VERSION; |
27 |
if ((soap->ssl_flags & SOAP_TLSv1_3) && OpenSSL_version_num() >= 0x10101000L) |
28 |
maxv = TLS1_3_VERSION; |
29 |
+#endif |
30 |
else if ((soap->ssl_flags & SOAP_TLSv1_2)) |
31 |
maxv = TLS1_2_VERSION; |
32 |
else if ((soap->ssl_flags & SOAP_TLSv1_1)) |
33 |
@@ -6682,6 +6684,9 @@ soap_bind(struct soap *soap, const char |
22 |
} |
34 |
} |
23 |
#endif |
35 |
#endif |
24 |
#ifdef TCP_FASTOPEN |
36 |
#ifdef TCP_FASTOPEN |