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:23:28 +0000 (22:23 +0200)
commit3b509e8cdc5ca6f42fd66a1325c9d0d23a4103c6
tree69a1741715487a321166c8bde1f0fa7abe04dfc2
parent63830384e90d9b36d2793d4891501ec024827433
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