Correctly check for export size limit
authorKurt Roeckx <kurt@roeckx.be>
Sat, 18 Apr 2015 10:50:25 +0000 (12:50 +0200)
committerKurt Roeckx <kurt@roeckx.be>
Wed, 20 May 2015 20:19:34 +0000 (22:19 +0200)
commit2d8e705b2a68a6dfe620f781c55e8230a0cb2dfb
treea49fa90026109a5f734d4200c51acda596c11970
parentf4d1fb776955187a35c3ee36d4413871917c3138
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)
crypto/evp/evp.h
crypto/x509/x509type.c
ssl/s3_clnt.c