diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-12-10 02:02:16 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-12-10 02:02:16 +0000 |
commit | b34aa49c259dc5096fe339ed3b0660cadc6df30a (patch) | |
tree | 2f329ea154b01213dc0e196b29e22409e4948521 | |
parent | 1e8b9e7e69c694806695121ff6fb511028442309 (diff) |
revert SUITEB128ONLY patch, anything wanting to use P-384 can use SUITEB128 instead
-rw-r--r-- | ssl/t1_lib.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 7cc061a8aa..e0f3425c5a 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -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; |