[PATCH 1 of 7] tests: update ssl requirement for test-https.t
Mads Kiilerich
mads at kiilerich.com
Wed Feb 16 03:41:22 UTC 2011
# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1297823302 -3600
# Node ID d0de7db258399c3f625ffbb40f9728778e97f2b9
# Parent 682edefe7dbbefabbd56090de40d04709af21edb
tests: update ssl requirement for test-https.t
hgweb requires OpenSSL for serving https.
diff --git a/tests/hghave b/tests/hghave
--- a/tests/hghave
+++ b/tests/hghave
@@ -173,6 +173,8 @@
def has_ssl():
try:
import ssl
+ import OpenSSL
+ OpenSSL.SSL.Context
return True
except ImportError:
return False
More information about the Mercurial-devel
mailing list