Skip to content

Commit

Permalink
Merge pull request #2377 from bar/patch-1
Browse files Browse the repository at this point in the history
Always remove verify_host from SSL context.
  • Loading branch information
markstory committed Nov 21, 2013
2 parents 7fdf17e + 1b9bf7b commit f3ca966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Network/Http/HttpSocket.php
Expand Up @@ -689,8 +689,8 @@ protected function _configContext($host) {
}
if (!empty($this->config['context']['ssl']['verify_host'])) {
$this->config['context']['ssl']['CN_match'] = $host;
unset($this->config['context']['ssl']['verify_host']);
}
unset($this->config['context']['ssl']['verify_host']);
}

/**
Expand Down

0 comments on commit f3ca966

Please sign in to comment.