From: nishi Date: Thu, 8 Feb 2024 14:56:19 +0000 (+0000) Subject: fixed the openssl warning X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=bc75c788eaccb784785d257d9959459aef8c30ef;p=libw3.git fixed the openssl warning git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@182 d27a3e52-49c5-7645-884c-6793ebffc270 --- diff --git a/Library/DNS.c b/Library/DNS.c index c5323a4..e417c4a 100644 --- a/Library/DNS.c +++ b/Library/DNS.c @@ -80,7 +80,7 @@ int __W3_DNS_Connect(const char* hostname, bool ssl, uint16_t port #ifdef SSL_SUPPORT if(ssl) { __W3_Debug("SSL", "Initializing"); - const SSL_METHOD* method = TLSv1_2_client_method(); + const SSL_METHOD* method = TLS_client_method(); *o_ctx = SSL_CTX_new(method); *o_ssl = SSL_new(*o_ctx); SSL_set_fd(*o_ssl, sock); diff --git a/W3Version.h.p b/W3Version.h.p index a9bb93e..c989475 100644 --- a/W3Version.h.p +++ b/W3Version.h.p @@ -6,7 +6,7 @@ extern "C" { #endif -#define LIBW3_VERSION "2.3D" \ +#define LIBW3_VERSION "2.3E" \ SUFFIX #ifdef __cplusplus