Fix for disabling certificate validation on OS X 10.8 (Mountain Lion) #802
This is pull request for the problem I asked about on the mailing list.
I stumbled on this old patch from 2012 which is similar to my issue, but not quite the same. Some further digging and testing has reviled that the issue also exists on OS X 10.8. I've tested these changes on 10.7.5, 10.8, 10.9, 10.10.2 and 10.11 and am able to enable/disable CURLOPT_SSL_VERIFYPEER on all of these version with this change.
…ntain Lion (OS X 10.8) so we need to use the old way in that version too. I've tested this solution on versions 10.7.5, 10.8, 10.9, 10.10.2 and 10.11.