Emilia Kasper f4d1fb7769 Only support >= 256-bit elliptic curves with ecdh_auto (server) or by default (client).
Also reorder preferences to prefer prime curves to binary curves, and P-256 to everything else.

The result:

$ openssl s_server -named_curves "auto"

This command will negotiate an ECDHE ciphersuite with P-256:

$ openssl s_client

This command will negotiate P-384:

$ openssl s_client -curves "P-384"

This command will not negotiate ECDHE because P-224 is disabled with "auto":

$ openssl s_client -curves "P-224"

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-05-20 16:04:37 +02:00
..
2015-04-16 13:50:01 -04:00
2015-03-19 11:11:22 +00:00
2015-02-27 20:31:28 +00:00
2015-01-22 09:31:38 +00:00
2015-04-21 17:50:36 +02:00
2015-03-11 10:45:23 +00:00
2015-04-16 13:50:01 -04:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-05-05 19:50:12 +01:00
2015-01-07 02:15:35 +01:00
2015-04-30 23:21:50 +01:00
2015-01-22 09:31:38 +00:00
2015-04-16 13:50:01 -04:00