aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-27 16:53:55 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-27 16:53:55 -0600
commit08d72a56f9dd110ac246f2dc4b63a82874a95483 (patch)
tree1734d4c64a34f9ebcb1eca710f473a3d352d2233
parent01e9886f9bade642512829c21dbfeddcda978e71 (diff)
downloadcryptography-08d72a56f9dd110ac246f2dc4b63a82874a95483.tar.gz
cryptography-08d72a56f9dd110ac246f2dc4b63a82874a95483.tar.bz2
cryptography-08d72a56f9dd110ac246f2dc4b63a82874a95483.zip
move macro from functions into macros where it belongs
-rw-r--r--cryptography/hazmat/backends/openssl/evp.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cryptography/hazmat/backends/openssl/evp.py b/cryptography/hazmat/backends/openssl/evp.py
index f1c061dc..c426e52e 100644
--- a/cryptography/hazmat/backends/openssl/evp.py
+++ b/cryptography/hazmat/backends/openssl/evp.py
@@ -43,8 +43,6 @@ static const int Cryptography_HAS_GCM;
"""
FUNCTIONS = """
-void OpenSSL_add_all_algorithms(void);
-
const EVP_CIPHER *EVP_get_cipherbyname(const char *);
int EVP_EncryptInit_ex(EVP_CIPHER_CTX *, const EVP_CIPHER *, ENGINE *,
const unsigned char *, const unsigned char *);
@@ -100,6 +98,7 @@ const EVP_MD *EVP_md5(void);
"""
MACROS = """
+void OpenSSL_add_all_algorithms(void);
int EVP_PKEY_assign_RSA(EVP_PKEY *, RSA *);
int EVP_PKEY_assign_DSA(EVP_PKEY *, DSA *);
int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *);