From f0626a8542d95e7e848c2058186fa58c4b3acb6d Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Sun, 20 Jan 2013 19:12:01 -0500 Subject: [PATCH] commented out two additional lines for Linux support --- pyelliptic/openssl.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyelliptic/openssl.py b/pyelliptic/openssl.py index 3953dbaf..06ea661c 100644 --- a/pyelliptic/openssl.py +++ b/pyelliptic/openssl.py @@ -307,8 +307,8 @@ class _OpenSSL: 'aes-256-cfb': CipherName('aes-256-cfb', self.EVP_aes_256_cfb128, 16), 'aes-128-ofb': CipherName('aes-128-ofb', self._lib.EVP_aes_128_ofb, 16), 'aes-256-ofb': CipherName('aes-256-ofb', self._lib.EVP_aes_256_ofb, 16), - 'aes-128-ctr': CipherName('aes-128-ctr', self._lib.EVP_aes_128_ctr, 16), - 'aes-256-ctr': CipherName('aes-256-ctr', self._lib.EVP_aes_256_ctr, 16), + #'aes-128-ctr': CipherName('aes-128-ctr', self._lib.EVP_aes_128_ctr, 16), + #'aes-256-ctr': CipherName('aes-256-ctr', self._lib.EVP_aes_256_ctr, 16), 'bf-cfb': CipherName('bf-cfb', self.EVP_bf_cfb64, 8), 'bf-cbc': CipherName('bf-cbc', self.EVP_bf_cbc, 8), 'rc4': CipherName('rc4', self.EVP_rc4, 128), # 128 is the initialisation size not block size @@ -423,7 +423,7 @@ except: try: from ctypes.util import find_library OpenSSL = _OpenSSL(find_library('ssl')) - except: - raise Exception("Couldn't load the OpenSSL library. You must install it.") + except Exception, err: + raise Exception("Couldn't load the OpenSSL library. You must install it. Error message:"+error) else: raise Exception("Couldn't load the OpenSSL library. You must install it.")