projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rsa: Do not allow less than 512 bit RSA keys
[openssl.git]
/
crypto
/
rsa
/
rsa_locl.h
diff --git
a/crypto/rsa/rsa_locl.h
b/crypto/rsa/rsa_locl.h
index 52d839d73a7a647596a9479f49c20daaa83d593f..9bd53bec5a579f7bf8f592d22f2b391e44258834 100644
(file)
--- a/
crypto/rsa/rsa_locl.h
+++ b/
crypto/rsa/rsa_locl.h
@@
-12,6
+12,7
@@
#define RSA_MAX_PRIME_NUM 16
#define RSA_MIN_PRIME_SIZE 64
+#define RSA_MIN_MODULUS_BITS 512
typedef struct rsa_prime_info_st {
BIGNUM *r;