Updated HttpConfig to use TLSv1 as Cipher List

- Updated PPHttpConfig.php with Cipher List
- Updated Lipp Samples to use proper namespaces. Fixes #156
- Few UI Fixes
This commit is contained in:
japatel
2014-11-11 16:13:18 -06:00
parent d5f9b1d43c
commit 9d14e2c974
4 changed files with 12 additions and 5 deletions

View File

@@ -26,7 +26,10 @@ class PPHttpConfig
CURLOPT_USERAGENT => 'PayPal-PHP-SDK',
CURLOPT_HTTPHEADER => array(),
CURLOPT_SSL_VERIFYHOST => 2,
CURLOPT_SSL_VERIFYPEER => 1
CURLOPT_SSL_VERIFYPEER => 1,
CURLOPT_SSL_CIPHER_LIST => 'TLSv1'
//Allowing TLSv1 cipher list.
//Adding it like this for backward compatibility with older versions of curl
);