diff options
author | Rob Austein <sra@hactrn.net> | 2006-10-09 16:29:05 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2006-10-09 16:29:05 +0000 |
commit | 1b2aa7959c86a835491c8cfca8c0683b747c1855 (patch) | |
tree | 9a0ba58647a2d57115f5c003ca4673e7693c950a /openssl/vendor/current/crypto/dh/dh.h | |
parent | 084adb601f2d375395c6cdcedf8af91f1065fe4e (diff) |
Merge in vendor branch OpenSSL changes 0.9.8b -> 0.9.8d
svn path=/openssl/vendor/current/CHANGES; revision=375
Diffstat (limited to 'openssl/vendor/current/crypto/dh/dh.h')
-rw-r--r-- | openssl/vendor/current/crypto/dh/dh.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openssl/vendor/current/crypto/dh/dh.h b/openssl/vendor/current/crypto/dh/dh.h index 4d0c5653..ccdf35ae 100644 --- a/openssl/vendor/current/crypto/dh/dh.h +++ b/openssl/vendor/current/crypto/dh/dh.h @@ -73,6 +73,10 @@ #include <openssl/bn.h> #endif +#ifndef OPENSSL_DH_MAX_MODULUS_BITS +# define OPENSSL_DH_MAX_MODULUS_BITS 10000 +#endif + #define DH_FLAG_CACHE_MONT_P 0x01 #define DH_FLAG_NO_EXP_CONSTTIME 0x02 /* new with 0.9.7h; the built-in DH * implementation now uses constant time @@ -221,6 +225,7 @@ void ERR_load_DH_strings(void); /* Reason codes. */ #define DH_R_BAD_GENERATOR 101 #define DH_R_INVALID_PUBKEY 102 +#define DH_R_MODULUS_TOO_LARGE 103 #define DH_R_NO_PRIVATE_VALUE 100 #ifdef __cplusplus |