extensions.c (1.1.1.11) | extensions.c (1.1.1.12) |
---|---|
1/* | 1/* |
2 * Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved. | 2 * Copyright 2016-2023 The OpenSSL Project Authors. All Rights Reserved. |
3 * 4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 * this file except in compliance with the License. You can obtain a copy 6 * in the file LICENSE in the source distribution or at 7 * https://www.openssl.org/source/license.html 8 */ 9 10#if defined(__TANDEM) && defined(_SPT_MODEL_) --- 1376 unchanged lines hidden (view full) --- 1387 1388 /* 1389 * Find the first group we allow that is also in client's list 1390 */ 1391 for (i = 0; i < num_groups; i++) { 1392 group_id = pgroups[i]; 1393 1394 if (check_in_list(s, group_id, clntgroups, clnt_num_groups, | 3 * 4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 * this file except in compliance with the License. You can obtain a copy 6 * in the file LICENSE in the source distribution or at 7 * https://www.openssl.org/source/license.html 8 */ 9 10#if defined(__TANDEM) && defined(_SPT_MODEL_) --- 1376 unchanged lines hidden (view full) --- 1387 1388 /* 1389 * Find the first group we allow that is also in client's list 1390 */ 1391 for (i = 0; i < num_groups; i++) { 1392 group_id = pgroups[i]; 1393 1394 if (check_in_list(s, group_id, clntgroups, clnt_num_groups, |
1395 1)) | 1395 1) 1396 && tls_group_allowed(s, group_id, 1397 SSL_SECOP_CURVE_SUPPORTED) 1398 && tls_valid_group(s, group_id, TLS1_3_VERSION, 1399 TLS1_3_VERSION, 0, NULL)) |
1396 break; 1397 } 1398 1399 if (i < num_groups) { 1400 /* A shared group exists so send a HelloRetryRequest */ 1401 s->s3.group_id = group_id; 1402 s->hello_retry_request = SSL_HRR_PENDING; 1403 return 1; --- 323 unchanged lines hidden --- | 1400 break; 1401 } 1402 1403 if (i < num_groups) { 1404 /* A shared group exists so send a HelloRetryRequest */ 1405 s->s3.group_id = group_id; 1406 s->hello_retry_request = SSL_HRR_PENDING; 1407 return 1; --- 323 unchanged lines hidden --- |