diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-04-30 20:35:57 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2016-04-30 21:35:57 -0400 |
commit | 4b48ad0b11e32b17253e56c42b0e974b2975829b (patch) | |
tree | cb2a251891e6c8d6f127d35579eb192a498edc86 /src/_cffi_src/openssl | |
parent | 872ef30805b60e4b71e4fa529329889f4110b223 (diff) | |
download | cryptography-4b48ad0b11e32b17253e56c42b0e974b2975829b.tar.gz cryptography-4b48ad0b11e32b17253e56c42b0e974b2975829b.tar.bz2 cryptography-4b48ad0b11e32b17253e56c42b0e974b2975829b.zip |
opaque the DH struct (#2884)
Diffstat (limited to 'src/_cffi_src/openssl')
-rw-r--r-- | src/_cffi_src/openssl/dh.py | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/_cffi_src/openssl/dh.py b/src/_cffi_src/openssl/dh.py index 8055d0c8..6eb627f1 100644 --- a/src/_cffi_src/openssl/dh.py +++ b/src/_cffi_src/openssl/dh.py @@ -9,20 +9,7 @@ INCLUDES = """ """ TYPES = """ -typedef struct dh_st { - /* Prime number (shared) */ - BIGNUM *p; - /* Generator of Z_p (shared) */ - BIGNUM *g; - /* Private DH value x */ - BIGNUM *priv_key; - /* Public DH value g^x */ - BIGNUM *pub_key; - /* X9.42/RFC 2631 */ - BIGNUM *q; - BIGNUM *j; - ...; -} DH; +typedef ... DH; """ FUNCTIONS = """ |