This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] xend: Only import OpenSSL package when it

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xend: Only import OpenSSL package when it is required.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 06 May 2008 08:30:12 -0700
Delivery-date: Tue, 06 May 2008 08:30:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1210084275 -3600
# Node ID ab2d9e75098d5a17b38d3d84bd8c65d9d4f39b9f
# Parent  a3bddc22d2f5dc65276765d732a2377867f792e4
xend: Only import OpenSSL package when it is required.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
 tools/python/xen/web/tcp.py |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -r a3bddc22d2f5 -r ab2d9e75098d tools/python/xen/web/tcp.py
--- a/tools/python/xen/web/tcp.py       Tue May 06 13:34:52 2008 +0100
+++ b/tools/python/xen/web/tcp.py       Tue May 06 15:31:15 2008 +0100
@@ -21,8 +21,6 @@ import re
 import re
 import socket
 import time
-from OpenSSL import SSL
 import connection
@@ -82,6 +80,7 @@ class SSLTCPListener(TCPListener):
     def createSocket(self):
+        from OpenSSL import SSL
         # make a SSL socket
         ctx = SSL.Context(SSL.SSLv23_METHOD)

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xend: Only import OpenSSL package when it is required., Xen patchbot-unstable <=