revert SUITEB128ONLY patch, anything wanting to use P-384 can use SUITEB128 instead

This commit is contained in:
Dr. Stephen Henson 2012-12-10 02:02:16 +00:00
parent 1e8b9e7e69
commit b34aa49c25

View File

@ -332,11 +332,15 @@ static void tls1_get_curvelist(SSL *s, int sess,
switch (tls1_suiteb(s))
{
case SSL_CERT_FLAG_SUITEB_128_LOS:
case SSL_CERT_FLAG_SUITEB_128_LOS_ONLY:
*pcurves = suiteb_curves;
*pcurveslen = sizeof(suiteb_curves);
break;
case SSL_CERT_FLAG_SUITEB_128_LOS_ONLY:
*pcurves = suiteb_curves;
*pcurveslen = 2;
break;
case SSL_CERT_FLAG_SUITEB_192_LOS:
*pcurves = suiteb_curves + 2;
*pcurveslen = 2;