aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/pem.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2017-03-15 16:56:39 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2017-03-15 16:56:39 -0400
commit5b8914a0524d4dc3539265f8ccf9909d053787b7 (patch)
treeaf9bea26da1dfa6ec78aa5bce3e49d3f0952e191 /src/_cffi_src/openssl/pem.py
parent06049448d94cf8a73c43755e6b929b4f871e2cbd (diff)
downloadcryptography-5b8914a0524d4dc3539265f8ccf9909d053787b7.tar.gz
cryptography-5b8914a0524d4dc3539265f8ccf9909d053787b7.tar.bz2
cryptography-5b8914a0524d4dc3539265f8ccf9909d053787b7.zip
Ec is a thing (#3453)
* We always have EC * We always have ECDH * We always have ECDSA * We always have EC codes * This can go as well * And this * unused import
Diffstat (limited to 'src/_cffi_src/openssl/pem.py')
-rw-r--r--src/_cffi_src/openssl/pem.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/_cffi_src/openssl/pem.py b/src/_cffi_src/openssl/pem.py
index 99881dd7..1d292a2e 100644
--- a/src/_cffi_src/openssl/pem.py
+++ b/src/_cffi_src/openssl/pem.py
@@ -85,11 +85,4 @@ int PEM_write_bio_DHparams(BIO *, DH *);
"""
CUSTOMIZATIONS = """
-// Cryptography_HAS_EC is provided by ec.py so we don't need to define it here
-#ifdef OPENSSL_NO_EC
-int (*PEM_write_bio_ECPrivateKey)(BIO *, EC_KEY *, const EVP_CIPHER *,
- unsigned char *, int, pem_password_cb *,
- void *) = NULL;
-#endif
-
"""