Skip set_default_verify_paths test on OS X and make a note in the docs that it may not work on that platform
diff --git a/doc/pyOpenSSL.tex b/doc/pyOpenSSL.tex
index ebd08ff..604a5d9 100644
--- a/doc/pyOpenSSL.tex
+++ b/doc/pyOpenSSL.tex
@@ -784,7 +784,7 @@
\begin{methoddesc}[Context]{set_default_verify_paths}{}
Specify that the platform provided CA certificates are to be used for
-verification purposes.
+verification purposes. This method may not work properly on OS X.
\end{methoddesc}
\begin{methoddesc}[Context]{load_tmp_dh}{dhfile}
diff --git a/test/test_ssl.py b/test/test_ssl.py
index 7fbb359..fc36915 100644
--- a/test/test_ssl.py
+++ b/test/test_ssl.py
@@ -246,6 +246,10 @@
clientSSL.do_handshake()
clientSSL.send('GET / HTTP/1.0\r\n\r\n')
self.assertTrue(clientSSL.recv(1024))
+ if sys.platform == "darwin":
+ test_set_default_verify_paths.todo = (
+ "set_default_verify_paths appears not to work on OS X - a "
+ "problem with the supplied OpenSSL, perhaps?")
def test_set_default_verify_paths_signature(self):