aboutsummaryrefslogtreecommitdiff
path: root/lib/timeval.c
diff options
context:
space:
mode:
authorNick Zitzmann <nick@chronosnet.com>2012-12-26 17:29:50 -0800
committerDaniel Stenberg <daniel@haxx.se>2012-12-27 19:09:25 +0100
commite3ed2b82e6fdc645af630a1f6a72f7d59de013d1 (patch)
tree33be32ace586ea206747e8a6950a391e723ba398 /lib/timeval.c
parent311151beab0e260818339bcff183dd8bd1c52dfa (diff)
darwinssl: Fixed inability to disable peer verification
... on Snow Leopard and Lion Snow Leopard introduced the SSLSetSessionOption() function, but it doesn't disable peer verification as expected on Snow Leopard or Lion (it works as expected in Mountain Lion). So we now use sysctl() to detect whether or not the user is using Snow Leopard or Lion, and if that's the case, then we now use the deprecated SSLSetEnableCertVerify() function instead to disable peer verification.
Diffstat (limited to 'lib/timeval.c')
0 files changed, 0 insertions, 0 deletions