aboutsummaryrefslogtreecommitdiff
path: root/openssl/vendor/current/crypto/dsa/dsa.h
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2006-10-09 16:29:05 +0000
committerRob Austein <sra@hactrn.net>2006-10-09 16:29:05 +0000
commit1b2aa7959c86a835491c8cfca8c0683b747c1855 (patch)
tree9a0ba58647a2d57115f5c003ca4673e7693c950a /openssl/vendor/current/crypto/dsa/dsa.h
parent084adb601f2d375395c6cdcedf8af91f1065fe4e (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/dsa/dsa.h')
-rw-r--r--openssl/vendor/current/crypto/dsa/dsa.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/openssl/vendor/current/crypto/dsa/dsa.h b/openssl/vendor/current/crypto/dsa/dsa.h
index b12db98b..3a8fe5b5 100644
--- a/openssl/vendor/current/crypto/dsa/dsa.h
+++ b/openssl/vendor/current/crypto/dsa/dsa.h
@@ -84,6 +84,10 @@
#endif
#endif
+#ifndef OPENSSL_DSA_MAX_MODULUS_BITS
+# define OPENSSL_DSA_MAX_MODULUS_BITS 10000
+#endif
+
#define DSA_FLAG_CACHE_MONT_P 0x01
#define DSA_FLAG_NO_EXP_CONSTTIME 0x02 /* new with 0.9.7h; the built-in DSA
* implementation now uses constant time
@@ -270,8 +274,10 @@ void ERR_load_DSA_strings(void);
#define DSA_F_SIG_CB 114
/* Reason codes. */
+#define DSA_R_BAD_Q_VALUE 102
#define DSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE 100
#define DSA_R_MISSING_PARAMETERS 101
+#define DSA_R_MODULUS_TOO_LARGE 103
#ifdef __cplusplus
}