--- test/test_ssl.py.orig	Sat Apr 25 14:47:06 2009
+++ test/test_ssl.py	Fri May 22 17:04:34 2009
@@ -101,7 +101,7 @@
         when certain information about an SSL connection is available.
         """
         port = socket()
-        port.bind(('', 0))
+        port.bind(('127.0.0.1', 0))
         port.listen(1)
 
         client = socket()
@@ -140,7 +140,7 @@
 
     def _load_verify_locations_test(self, *args):
         port = socket()
-        port.bind(('', 0))
+        port.bind(('127.0.0.1', 0))
         port.listen(1)
 
         client = socket()
