| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/devel/gsoap/files/ |
Upload File : |
--- gsoap/stdsoap2.cpp.orig 2019-02-10 15:19:37 UTC
+++ gsoap/stdsoap2.cpp
@@ -4473,10 +4473,12 @@ ssl_auth_init(struct soap *soap)
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))
@@ -6714,6 +6716,9 @@ soap_bind(struct soap *soap, const char *host, int por
}
#endif
#ifdef TCP_FASTOPEN
+ #ifndef SOL_TCP
+ #define SOL_TCP IPPROTO_TCP
+ #endif
if (!(soap->omode & SOAP_IO_UDP) && setsockopt(soap->master, IPPROTO_TCP, TCP_FASTOPEN, (char*)&set, sizeof(int)))
{
/* silently ignore */