]> Nishi Git Mirror - libw3.git/commitdiff
fixed the openssl warning
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Thu, 8 Feb 2024 14:56:19 +0000 (14:56 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Thu, 8 Feb 2024 14:56:19 +0000 (14:56 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@182 d27a3e52-49c5-7645-884c-6793ebffc270

Library/DNS.c
W3Version.h.p

index c5323a49bb0a7fb40cf450c868fd327d2a81bcad..e417c4a76b9223ffdfb8c9079b31c19e3a8dba54 100644 (file)
@@ -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);
index a9bb93e31c9e624906070d115d2709e8061d084c..c98947522b3be514fb3863bde5ced9d99cf95e59 100644 (file)
@@ -6,7 +6,7 @@
 extern "C" {
 #endif
 
-#define LIBW3_VERSION "2.3D" \
+#define LIBW3_VERSION "2.3E" \
 SUFFIX
 
 #ifdef __cplusplus