Give a better error if an attempt is made to set a zero length groups list
[oweals/openssl.git] / doc / man3 / SSL_CTX_set1_curves.pod
index a250f20c2206676606d5fe9d3fedbe1d1da1ee9b..2757ccb91d133a840f90ccce847b37e5e100aca9 100644 (file)
@@ -32,6 +32,9 @@ SSL_set1_curves_list, SSL_get1_curves, SSL_get_shared_curve
 
 =head1 DESCRIPTION
 
+For all of the functions below that set the supported groups there must be at
+least one group in the list.
+
 SSL_CTX_set1_groups() sets the supported groups for B<ctx> to B<glistlen>
 groups in the array B<glist>. The array consist of all NIDs of groups in
 preference order. For a TLS client the groups are used directly in the