openbsd-ports/security/py-openssl/patches/patch-test_test_ssl_py
eric 45e57c29c2 - update to 0.8
- fix a test that hangs

ok wcmaier@
2009-01-30 16:13:54 +00:00

13 lines
468 B
Plaintext

$OpenBSD: patch-test_test_ssl_py,v 1.1 2009/01/30 16:13:55 eric Exp $
--- test/test_ssl.py.orig Mon Sep 22 02:36:55 2008
+++ test/test_ssl.py Mon Jan 26 20:47:05 2009
@@ -80,7 +80,7 @@ class ContextTests(TestCase, _Python23TestCaseHelper):
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()