openbsd-ports/security/py-openssl/patches/patch-test_test_ssl_py
benoit 07ab76d748 - update py-openssl to 0.9
- update patch

ok eric@, ajacoutot@
2009-06-01 20:25:24 +00:00

21 lines
561 B
Plaintext

--- 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()