diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-06-13 11:32:12 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-06-13 11:32:12 +0000 |
commit | 3c846c630ad96b65cb627e21cd83b153342bb176 (patch) | |
tree | 1af2cfeae914b020a5cb797a28672f780fbd2eb4 /src/libstrongswan/crypto | |
parent | b7e3329f179a499c74ca98cb0d1d2d2e5ad4ed2a (diff) | |
download | strongswan-3c846c630ad96b65cb627e21cd83b153342bb176.tar.bz2 strongswan-3c846c630ad96b65cb627e21cd83b153342bb176.tar.xz |
moved RSA key size constraints to definitions.h
Diffstat (limited to 'src/libstrongswan/crypto')
-rwxr-xr-x | src/libstrongswan/crypto/x509.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libstrongswan/crypto/x509.c b/src/libstrongswan/crypto/x509.c index 6899abebb..54a63955d 100755 --- a/src/libstrongswan/crypto/x509.c +++ b/src/libstrongswan/crypto/x509.c @@ -36,12 +36,6 @@ #include <utils/linked_list.h> #include <utils/identification.h> -#define BITS_PER_BYTE 8 -#define RSA_MIN_OCTETS (1024 / BITS_PER_BYTE) -#define RSA_MIN_OCTETS_UGH "RSA modulus too small for security: less than 1024 bits" -#define RSA_MAX_OCTETS (8192 / BITS_PER_BYTE) -#define RSA_MAX_OCTETS_UGH "RSA modulus too large: more than 8192 bits" - #define CERT_WARNING_INTERVAL 30 /* days */ static logger_t *logger; |