diff options
author | pvalchev <> | 2006-10-04 07:10:32 +0000 |
---|---|---|
committer | pvalchev <> | 2006-10-04 07:10:32 +0000 |
commit | 2ae4a931445dd6121f260bcc0af2dde32a871cd0 (patch) | |
tree | 79c58b0010b91a2778efdc406095e24c85a41ae1 /src/lib/libcrypto/dsa/dsa.h | |
parent | c2d940ce6f2c3ef66262b7c1953e6286cf68b267 (diff) | |
download | openbsd-2ae4a931445dd6121f260bcc0af2dde32a871cd0.tar.gz openbsd-2ae4a931445dd6121f260bcc0af2dde32a871cd0.tar.bz2 openbsd-2ae4a931445dd6121f260bcc0af2dde32a871cd0.zip |
openssl security fixes, diff from markus@, ok & "commit it" djm@
http://www.openssl.org/news/secadv_20060928.txt for more
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa.h')
-rw-r--r-- | src/lib/libcrypto/dsa/dsa.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/libcrypto/dsa/dsa.h b/src/lib/libcrypto/dsa/dsa.h index 851e3f0445..aa0669eb7a 100644 --- a/src/lib/libcrypto/dsa/dsa.h +++ b/src/lib/libcrypto/dsa/dsa.h | |||
@@ -79,6 +79,8 @@ | |||
79 | # include <openssl/dh.h> | 79 | # include <openssl/dh.h> |
80 | #endif | 80 | #endif |
81 | 81 | ||
82 | #define OPENSSL_DSA_MAX_MODULUS_BITS 3072 | ||
83 | |||
82 | #define DSA_FLAG_CACHE_MONT_P 0x01 | 84 | #define DSA_FLAG_CACHE_MONT_P 0x01 |
83 | #define DSA_FLAG_NO_EXP_CONSTTIME 0x02 /* new with 0.9.7h; the built-in DSA | 85 | #define DSA_FLAG_NO_EXP_CONSTTIME 0x02 /* new with 0.9.7h; the built-in DSA |
84 | * implementation now uses constant time | 86 | * implementation now uses constant time |
@@ -259,8 +261,10 @@ void ERR_load_DSA_strings(void); | |||
259 | #define DSA_F_SIG_CB 114 | 261 | #define DSA_F_SIG_CB 114 |
260 | 262 | ||
261 | /* Reason codes. */ | 263 | /* Reason codes. */ |
264 | #define DSA_R_BAD_Q_VALUE 102 | ||
262 | #define DSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE 100 | 265 | #define DSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE 100 |
263 | #define DSA_R_MISSING_PARAMETERS 101 | 266 | #define DSA_R_MISSING_PARAMETERS 101 |
267 | #define DSA_R_MODULUS_TOO_LARGE 103 | ||
264 | 268 | ||
265 | #ifdef __cplusplus | 269 | #ifdef __cplusplus |
266 | } | 270 | } |