openssl >= 1.0.1 has SSL_OP_NO_SSLv2 == 0; fix unused-function warnin…#1
Conversation
…g for pointed-to-only functions
|
Hm, this works for me with OpenSSL 1.0.2j. The #pragma part of the change seems like a hash, can you paste the actual error you get? There might be a better way to do this, depending on the error you get. |
|
I'm using As for the #pragma's, it only shows up under Perhaps the change to the SSL flag checking is still good to assure correctness regardless of version? |
|
libcurl4-openssl-dev sounds like you're using Debian? Which release exactly? Yes, it's normal that it only shows up with -Wall and only is a problem with -Werror - but that is intentional. Since this is not 1.0 yet, I'd rather have people open bugs because it doesn't compile than warnings going unnoticed :). The bug sounds pretty similar to what I've seen on OpenSSL 1.1, though. I was thinking about maybe just adding some (void)foo to make the unused warning go away in that case. |
|
Yep! I'm using Debian 8.7. |
|
What does |
|
OpenSSL 1.0.1t 3 May 2016
- Kyle
…On Mar 25, 2017, 10:17 AM -0400, Jonathan Schleifer ***@***.***>, wrote:
What does openssl version print for you?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
…g for pointed-to-only functions