Mailing Lists
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1419 Support for CURLOPT_SSLVERSION for polarssl backend
From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Mon, 01 Sep 2014 20:44:27 +0000
- **labels**: --> SSL/TLS, PolarSSL
Awesome. Merged and pushed as commit e608324f9f9c. I modified the if-else series to a switch() statement instead. Thanks!
--- ** [bugs:#1419] Support for CURLOPT_SSLVERSION for polarssl backend** **Status:** closed-accepted **Labels:** SSL/TLS PolarSSL **Created:** Mon Sep 01, 2014 02:09 PM UTC by A. Heinecke **Last Updated:** Mon Sep 01, 2014 02:09 PM UTC **Owner:** Daniel Stenberg Hi, we want to force in our software that connecting to a host that does not offer TLSv1.2 fails. I thought this could be done by using CURLOPT_SSLVERSION but alas this seems not to be supported with polarssl. As polarssl offers API to set the minimal SSL Versions I've written the small attached patch to set the minimum SSL version after the SSL Init. In case the server does not offer the requested setting you will get: ssl_handshake returned - PolarSSL: (-0x6E80) SSL - Handshake protocol not within min/max boundaries Best Regards, Andre --- Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.Received on 2014-09-01 These mail archives are generated by hypermail. |