@@ -7935,14 +7935,15 @@ static int test_sigalgs_available(int idx)
7935
7935
#endif /* OPENSSL_NO_EC */
7936
7936
7937
7937
#ifndef OPENSSL_NO_TLS1_3
7938
- static int test_pluggable_group (void )
7938
+ static int test_pluggable_group (int idx )
7939
7939
{
7940
7940
SSL_CTX * cctx = NULL , * sctx = NULL ;
7941
7941
SSL * clientssl = NULL , * serverssl = NULL ;
7942
7942
int testresult = 0 ;
7943
7943
OSSL_PROVIDER * tlsprov = OSSL_PROVIDER_load (libctx , "tls-provider" );
7944
7944
/* Check that we are not impacted by a provider without any groups */
7945
7945
OSSL_PROVIDER * legacyprov = OSSL_PROVIDER_load (libctx , "legacy" );
7946
+ const char * group_name = idx == 0 ? "xorgroup" : "xorkemgroup" ;
7946
7947
7947
7948
if (!TEST_ptr (tlsprov ) || !TEST_ptr (legacyprov ))
7948
7949
goto end ;
@@ -7956,8 +7957,8 @@ static int test_pluggable_group(void)
7956
7957
NULL , NULL )))
7957
7958
goto end ;
7958
7959
7959
- if (!TEST_true (SSL_set1_groups_list (serverssl , "xorgroup" ))
7960
- || !TEST_true (SSL_set1_groups_list (clientssl , "xorgroup" )))
7960
+ if (!TEST_true (SSL_set1_groups_list (serverssl , group_name ))
7961
+ || !TEST_true (SSL_set1_groups_list (clientssl , group_name )))
7961
7962
goto end ;
7962
7963
7963
7964
if (!TEST_true (create_ssl_connection (serverssl , clientssl , SSL_ERROR_NONE )))
@@ -8136,10 +8137,10 @@ int setup_tests(void)
8136
8137
goto err ;
8137
8138
8138
8139
#if !defined(OPENSSL_NO_KTLS ) && !defined(OPENSSL_NO_SOCK )
8139
- #if !defined(OPENSSL_NO_TLS1_2 ) || !defined(OPENSSL_NO_TLS1_3 )
8140
+ # if !defined(OPENSSL_NO_TLS1_2 ) || !defined(OPENSSL_NO_TLS1_3 )
8140
8141
ADD_ALL_TESTS (test_ktls , 32 );
8141
8142
ADD_ALL_TESTS (test_ktls_sendfile_anytls , 6 );
8142
- #endif
8143
+ # endif
8143
8144
#endif
8144
8145
ADD_TEST (test_large_message_tls );
8145
8146
ADD_TEST (test_large_message_tls_read_ahead );
@@ -8247,7 +8248,7 @@ int setup_tests(void)
8247
8248
ADD_ALL_TESTS (test_sigalgs_available , 6 );
8248
8249
#endif
8249
8250
#ifndef OPENSSL_NO_TLS1_3
8250
- ADD_TEST (test_pluggable_group );
8251
+ ADD_ALL_TESTS (test_pluggable_group , 2 );
8251
8252
#endif
8252
8253
#ifndef OPENSSL_NO_TLS1_2
8253
8254
ADD_TEST (test_ssl_dup );
0 commit comments