From e276f2aa6b19e0d7250c815ed67070b2b12a4fd0 Mon Sep 17 00:00:00 2001 From: Jakub Warmuz Date: Mon, 6 Jul 2015 11:48:09 +0000 Subject: [PATCH] crypto imports cleanup --- letsencrypt/client.py | 2 +- letsencrypt/plugins/standalone/authenticator.py | 3 +-- letsencrypt/plugins/standalone/tests/authenticator_test.py | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/letsencrypt/client.py b/letsencrypt/client.py index 2db07081c..65659effa 100644 --- a/letsencrypt/client.py +++ b/letsencrypt/client.py @@ -3,7 +3,7 @@ import logging import os import pkg_resources -import OpenSSL.crypto +import OpenSSL import zope.component from acme import jose diff --git a/letsencrypt/plugins/standalone/authenticator.py b/letsencrypt/plugins/standalone/authenticator.py index a90c02281..35b579eea 100644 --- a/letsencrypt/plugins/standalone/authenticator.py +++ b/letsencrypt/plugins/standalone/authenticator.py @@ -6,8 +6,7 @@ import socket import sys import time -import OpenSSL.crypto -import OpenSSL.SSL +import OpenSSL import zope.component import zope.interface diff --git a/letsencrypt/plugins/standalone/tests/authenticator_test.py b/letsencrypt/plugins/standalone/tests/authenticator_test.py index b61482990..e98616f84 100644 --- a/letsencrypt/plugins/standalone/tests/authenticator_test.py +++ b/letsencrypt/plugins/standalone/tests/authenticator_test.py @@ -7,8 +7,7 @@ import socket import unittest import mock -import OpenSSL.crypto -import OpenSSL.SSL +import OpenSSL from acme import challenges