From da04f66ce0ba039fd97c301d71a0c1517359aa90 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 31 Aug 2013 09:54:07 -0700 Subject: Removed some dead code --- cryptography/bindings/openssl/api.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cryptography/bindings/openssl/api.py b/cryptography/bindings/openssl/api.py index 3fdde06f..65f33488 100644 --- a/cryptography/bindings/openssl/api.py +++ b/cryptography/bindings/openssl/api.py @@ -26,11 +26,9 @@ class API(object): self._populate_ffi(ffi) self._ffi = ffi self._lib = ffi.verify(""" - #include #include """) self._lib.OpenSSL_add_all_algorithms() - self._lib.ERR_load_crypto_strings() def _populate_ffi(self, ffi): ffi.cdef(""" @@ -41,7 +39,6 @@ class API(object): typedef ... ENGINE; void OpenSSL_add_all_algorithms(); - void ERR_load_crypto_strings(); const EVP_CIPHER *EVP_get_cipherbyname(const char *); int EVP_EncryptInit_ex(EVP_CIPHER_CTX *, const EVP_CIPHER *, @@ -53,8 +50,6 @@ class API(object): int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *); EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *); int EVP_CIPHER_block_size(const EVP_CIPHER *); - - unsigned long ERR_get_error(); """) def create_block_cipher_context(self, cipher, mode): -- cgit v1.2.3