aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-04-30 20:35:57 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2016-04-30 21:35:57 -0400
commit4b48ad0b11e32b17253e56c42b0e974b2975829b (patch)
treecb2a251891e6c8d6f127d35579eb192a498edc86 /src/_cffi_src
parent872ef30805b60e4b71e4fa529329889f4110b223 (diff)
downloadcryptography-4b48ad0b11e32b17253e56c42b0e974b2975829b.tar.gz
cryptography-4b48ad0b11e32b17253e56c42b0e974b2975829b.tar.bz2
cryptography-4b48ad0b11e32b17253e56c42b0e974b2975829b.zip
opaque the DH struct (#2884)
Diffstat (limited to 'src/_cffi_src')
-rw-r--r--src/_cffi_src/openssl/dh.py15
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 = """