Error out immediately on empty ciphers list.
authorEmilia Kasper <emilia@openssl.org>
Wed, 15 Apr 2015 12:18:55 +0000 (14:18 +0200)
committerEmilia Kasper <emilia@openssl.org>
Fri, 17 Apr 2015 16:43:30 +0000 (18:43 +0200)
A 0-length ciphers list is never permitted. The old code only used to
reject an empty ciphers list for connections with a session ID. It
would later error out on a NULL structure, so this change just moves
the alert closer to the problem source.

Reviewed-by: Rich Salz <rsalz@openssl.org>

No differences found