From: Emilia Kasper Date: Wed, 15 Apr 2015 12:18:55 +0000 (+0200) Subject: Error out immediately on empty ciphers list. X-Git-Tag: OpenSSL_1_1_0-pre1~1310 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=3ae91cfb327c9ed689b9aaf7bca01a3f5a0657cb;hp=3ae91cfb327c9ed689b9aaf7bca01a3f5a0657cb 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: Rich Salz ---