Reputation: 198
My payment gataway will change the connection protocol using TLS 1.0 or higher.
I have php 5.5 with library CUrl 7.19.7 (NSS/3.16.2.3 Basic ECC), that supports only CURL_SSLVERSION_TLSv1 (according with this link http://curl.haxx.se/libcurl/c/symbols-in-versions.html).
Should be fine too?. What is the difference between set CURL_SSLVERSION_TLSv1 or CURL_SSLVERSION_TLSv1_0.
Thank you very much, for your time
Upvotes: 0
Views: 3720
Reputation: 123280
If your implementation supports at most TLS 1.0 then both options should have the same effect.
BTW, the very first hit with google when searching for "CURL_SSLVERSION_TLSv1_0 CURL_SSLVERSION_TLSv1" is http://curl.haxx.se/libcurl/c/CURLOPT_SSLVERSION.html which documents these options as:
Upvotes: 1