Emilia Kasper de57d23729 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 15:47:51 +02:00
..
2015-05-16 09:20:52 +01:00
2015-05-13 15:07:57 +01:00
2015-05-13 15:07:57 +01:00
2015-05-16 09:21:07 +01:00
2015-05-16 09:20:52 +01:00
2015-05-19 14:05:29 +01:00
2015-05-19 14:05:29 +01:00
2015-05-18 18:49:13 +01:00
2015-03-23 15:23:11 +00:00
2015-05-13 15:07:57 +01:00
2015-05-19 14:05:29 +01:00
2015-05-13 15:07:57 +01:00
2015-05-16 09:20:52 +01:00
2015-05-19 14:05:29 +01:00
2015-05-19 14:05:29 +01:00
2015-05-19 14:05:29 +01:00
2015-05-13 15:07:57 +01:00
2015-05-16 09:20:38 +01:00
2015-05-13 15:07:57 +01:00
2015-05-16 09:20:58 +01:00
2015-05-16 09:20:58 +01:00
2015-05-13 15:07:57 +01:00
2015-05-16 09:20:58 +01:00
2015-05-16 09:20:58 +01:00
2015-05-13 15:07:57 +01:00
2015-05-15 08:16:21 -04:00