Partial revert and reimplement "Enable brainpool curves for TLS1.3"
[openssl.git] / ssl / statem / extensions.c
index 6dc21ad42f23cb3b6cbb9f76aecd10197c4f6706..47ad5110aba11067a4ff64c1c291f9d5cc4e6f9d 100644 (file)
@@ -1409,7 +1409,7 @@ static int final_key_share(SSL_CONNECTION *s, unsigned int context, int sent)
                     group_id = pgroups[i];
 
                     if (check_in_list(s, group_id, clntgroups, clnt_num_groups,
-                                      2))
+                                      1))
                         break;
                 }