aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-07-09 23:20:35 -0500
committerLaurens Van Houtven <_@lvh.io>2017-07-09 23:20:35 -0500
commitdc6e7624154809340fb38fc884ad30d840a3ff5e (patch)
tree6a5228ff2fe869598cef62d9e6f5eabf873643c6 /src/_cffi_src
parent9d5fc3e5dbe581e1fea9303e684ec9248936df55 (diff)
downloadcryptography-dc6e7624154809340fb38fc884ad30d840a3ff5e.tar.gz
cryptography-dc6e7624154809340fb38fc884ad30d840a3ff5e.tar.bz2
cryptography-dc6e7624154809340fb38fc884ad30d840a3ff5e.zip
allow p % 24 == 23 when generator == 2 in DH_check (#3768)
* allow p % 24 == 23 when generator == 2 in DH_check * short url * update and expand comments * even better language!
Diffstat (limited to 'src/_cffi_src')
-rw-r--r--src/_cffi_src/openssl/dh.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/dh.py b/src/_cffi_src/openssl/dh.py
index be761b97..7ab06ae9 100644
--- a/src/_cffi_src/openssl/dh.py
+++ b/src/_cffi_src/openssl/dh.py
@@ -10,6 +10,8 @@ INCLUDES = """
TYPES = """
typedef ... DH;
+
+const long DH_NOT_SUITABLE_GENERATOR;
"""
FUNCTIONS = """