Skip to content
Commit 31d085ca authored by Emilia Kasper's avatar Emilia Kasper
Browse files

Error out immediately on empty ciphers list.



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: default avatarRich Salz <rsalz@openssl.org>
(cherry picked from commit 3ae91cfb)
parent c70908d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment