diff options
author | Nick Zitzmann <nick@chronosnet.com> | 2012-12-26 17:29:50 -0800 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-12-27 19:09:25 +0100 |
commit | e3ed2b82e6fdc645af630a1f6a72f7d59de013d1 (patch) | |
tree | 33be32ace586ea206747e8a6950a391e723ba398 /docs/examples/simplesmtp.c | |
parent | 311151beab0e260818339bcff183dd8bd1c52dfa (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 'docs/examples/simplesmtp.c')
0 files changed, 0 insertions, 0 deletions