aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/rsa.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2016-06-26 14:07:28 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-06-26 13:07:28 -0500
commitb28c20c4503a49b1020a9bc7fc9adeb4989da553 (patch)
tree952114dc2f7c35b65d5ed4a60c9c12c8091c83a3 /src/_cffi_src/openssl/rsa.py
parenta8f935b813538d8ca50efd62620a250d02856760 (diff)
downloadcryptography-b28c20c4503a49b1020a9bc7fc9adeb4989da553.tar.gz
cryptography-b28c20c4503a49b1020a9bc7fc9adeb4989da553.tar.bz2
cryptography-b28c20c4503a49b1020a9bc7fc9adeb4989da553.zip
Opaquify RSA and DSA structs in OpenSSL (#3016)
Diffstat (limited to 'src/_cffi_src/openssl/rsa.py')
-rw-r--r--src/_cffi_src/openssl/rsa.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/_cffi_src/openssl/rsa.py b/src/_cffi_src/openssl/rsa.py
index 6b3365de..79c968bc 100644
--- a/src/_cffi_src/openssl/rsa.py
+++ b/src/_cffi_src/openssl/rsa.py
@@ -9,17 +9,7 @@ INCLUDES = """
"""
TYPES = """
-typedef struct rsa_st {
- BIGNUM *n;
- BIGNUM *e;
- BIGNUM *d;
- BIGNUM *p;
- BIGNUM *q;
- BIGNUM *dmp1;
- BIGNUM *dmq1;
- BIGNUM *iqmp;
- ...;
-} RSA;
+typedef ... RSA;
typedef ... BN_GENCB;
static const int RSA_PKCS1_PADDING;
static const int RSA_SSLV23_PADDING;