curl / Mailing Lists / curl-library / Single Mail

curl-library

Compile warning on Fedora-26

From: Ben Greear <greearb_at_candelatech.com>
Date: Wed, 6 Sep 2017 14:44:03 -0700

Hello,

Is there a good fix for this warning, or do I just need to turn off
strict warnings?

vtls/openssl.c: In function ‘ossl_connect_step1’:
vtls/openssl.c:2091:5: warning: ‘SSLv3_client_method’ is deprecated [-Wdeprecated-declarations]
      req_method = SSLv3_client_method();
      ^~~~~~~~~~
In file included from /usr/include/openssl/opensslconf.h:42:0,
                  from /usr/include/openssl/ct.h:13,
                  from /usr/include/openssl/ssl.h:61,
                  from vtls/openssl.c:54:
/usr/include/openssl/ssl.h:1604:1: note: declared here
  DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *SSLv3_client_method(void)) /* SSLv3 */
  ^

Thanks,
Ben

-- 
Ben Greear <greearb_at_candelatech.com>
Candela Technologies Inc  http://www.candelatech.com
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-09-06