diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2016-06-26 14:07:28 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-06-26 13:07:28 -0500 |
commit | b28c20c4503a49b1020a9bc7fc9adeb4989da553 (patch) | |
tree | 952114dc2f7c35b65d5ed4a60c9c12c8091c83a3 /src/_cffi_src/openssl/rsa.py | |
parent | a8f935b813538d8ca50efd62620a250d02856760 (diff) | |
download | cryptography-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.py | 12 |
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; |