Give a better error if an attempt is made to set a zero length groups list
authorMatt Caswell <matt@openssl.org>
Fri, 26 Oct 2018 14:29:15 +0000 (15:29 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 8 Nov 2018 11:27:03 +0000 (11:27 +0000)
commit680bd131b69d57e891888ab70d300176a5a16617
tree35e65d00805d90a25544ae12d2afbd4e9cddefa7
parent589b6227a85ea0133fe91d744b16dd72edee929a
Give a better error if an attempt is made to set a zero length groups list

Previously we indicated this as a malloc failure which isn't very
helpful.

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/7479)
doc/man3/SSL_CTX_set1_curves.pod
ssl/t1_lib.c