summaryrefslogtreecommitdiffstats
path: root/crypto/evp
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2015-04-18 12:50:25 +0200
committerKurt Roeckx <kurt@roeckx.be>2015-05-20 22:19:34 +0200
commit2d8e705b2a68a6dfe620f781c55e8230a0cb2dfb (patch)
treea49fa90026109a5f734d4200c51acda596c11970 /crypto/evp
parentf4d1fb776955187a35c3ee36d4413871917c3138 (diff)
Correctly check for export size limit
40 bit ciphers are limited to 512 bit RSA, 56 bit ciphers to 1024 bit. Reviewed-by: Rich Salz <rsalz@openssl.org> (cherry picked from commit ac38115c1a4fb61c66c2a8cd2a9800751828d328)
Diffstat (limited to 'crypto/evp')
-rw-r--r--crypto/evp/evp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h
index 4891133dae..1d705cd5de 100644
--- a/crypto/evp/evp.h
+++ b/crypto/evp/evp.h
@@ -103,7 +103,6 @@
# define EVP_PKS_RSA 0x0100
# define EVP_PKS_DSA 0x0200
# define EVP_PKS_EC 0x0400
-# define EVP_PKT_EXP 0x1000 /* <= 512 bit key */
# define EVP_PKEY_NONE NID_undef
# define EVP_PKEY_RSA NID_rsaEncryption