diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-07-09 23:20:35 -0500 |
---|---|---|
committer | Laurens Van Houtven <_@lvh.io> | 2017-07-09 23:20:35 -0500 |
commit | dc6e7624154809340fb38fc884ad30d840a3ff5e (patch) | |
tree | 6a5228ff2fe869598cef62d9e6f5eabf873643c6 /src/_cffi_src/openssl | |
parent | 9d5fc3e5dbe581e1fea9303e684ec9248936df55 (diff) | |
download | cryptography-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/openssl')
-rw-r--r-- | src/_cffi_src/openssl/dh.py | 2 |
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 = """ |