function testHttps()
{
- global $HTTPSSERVER, $HTTPSURI, $HTTPSIGNOREPEER, $HTTPSVERIFYHOST;
+ global $HTTPSSERVER, $HTTPSURI, $HTTPSIGNOREPEER, $HTTPSVERIFYHOST, $SSLVERSION;
if(!function_exists('curl_init'))
{
$this->fail('CURL missing: cannot test https functionality');
$this->client->path = $HTTPSURI;
$this->client->setSSLVerifyPeer(!$HTTPSIGNOREPEER);
$this->client->setSSLVerifyHost($HTTPSVERIFYHOST);
+ $this->client->setSSLVersion($SSLVERSION);
$this->_runtests();
}
function testHttpsProxy()
{
- global $HTTPSSERVER, $HTTPSURI, $HTTPSIGNOREPEER, $HTTPSVERIFYHOST, $PROXYSERVER, $PROXYPORT, $NOPROXY;
+ global $HTTPSSERVER, $HTTPSURI, $HTTPSIGNOREPEER, $HTTPSVERIFYHOST, $SSLVERSION, $PROXYSERVER, $PROXYPORT, $NOPROXY;
if(!function_exists('curl_init'))
{
$this->fail('CURL missing: cannot test https functionality');
$this->client->path = $HTTPSURI;
$this->client->setSSLVerifyPeer(!$HTTPSIGNOREPEER);
$this->client->setSSLVerifyHost($HTTPSVERIFYHOST);
+ $this->client->setSSLVersion($SSLVERSION);
$this->_runtests();
}