curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH 2/2] openssl: Fix unused variable compiler warning on fedora 17

From: Ben Greear via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 30 Nov 2018 15:10:08 -0800

On 11/30/2018 03:04 PM, Daniel Stenberg wrote:
> On Wed, 28 Nov 2018, Ben Greear via curl-library wrote:
>
>> ctx_options was not used, so the compiler warned. Add a (void)(ctx_options) line to make the compiler happy.
>
> What OpenSSL version do you have installed to get this warning? Maybe it should rather disable set_ssl_version_min_max() completely?
>

rpm -qa | grep openssl
...
openssl-1.0.0k-1.fc17.i686
openssl-devel-1.0.0k-1.fc17.i686

Before I rebased, it compiled OK, so I guess there was some change in that
code to cause the warning. I do not know enough about what it is trying to do
to be certain of the proper fix.

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 2018-12-01