Manuel Pégourié-Gonnard 5398e58fcd Fix guards around function now used by 1.3 as well
Actually moved the function rather than trying to edit guards around it,
because the relevant guards are not nearby, the function was part of
larger blocks, so it seemed risky.

Also, that seems logically correct: the function is no longer part of
the "TLS 1.2 handshake functions common to server and client" section,
it's part of the "helper functions common to 1.2 and 1.3 server and
client" block. Ideally in the future perhaps the file structure should
reflect that (`ssl_generic.c` vs `ssl_tls12_generic.c`?) but that's out
of scope here.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2024-09-02 12:46:03 +02:00
..
.gitignore Move crypto modules 2024-07-10 08:07:34 +02:00
CMakeLists.txt Move the -Wmissing-prototypes option from library/CMakeLists.txt to the top-level CMakeLists.txt for GCC & Clang 2024-08-09 10:29:58 +01:00
common.h MBEDTLS_STATIC_ASSERT: make it work outside of a function 2024-08-07 12:39:05 +02:00
debug_internal.h debug: move internal functions declarations to an internal header file 2024-01-18 15:30:46 +01:00
debug.c debug: move internal functions declarations to an internal header file 2024-01-18 15:30:46 +01:00
Makefile Adapt make build system 2024-07-19 10:07:27 +02:00
mps_common.h Fix some non-standard headers 2023-11-03 12:24:58 +00:00
mps_error.h Fix some non-standard headers 2023-11-03 12:24:58 +00:00
mps_reader.c Fix some non-standard headers 2023-11-03 12:24:58 +00:00
mps_reader.h Fix some non-standard headers 2023-11-03 12:24:58 +00:00
mps_trace.c Fix some non-standard headers 2023-11-03 12:24:58 +00:00
mps_trace.h Fix some non-standard headers 2023-11-03 12:24:58 +00:00
net_sockets.c Fix NULL argument handling in mbedtls_xxx_free() functions 2024-03-22 14:46:04 -04:00
pkcs7.c x509: move internal functions declarations to a private header 2024-01-19 09:07:35 +01:00
ssl_cache.c Header updates 2023-11-03 12:21:36 +00:00
ssl_ciphersuites_internal.h ssl_ciphersuites: move internal functions declarations to a private header 2024-01-18 15:08:28 +01:00
ssl_ciphersuites.c Replace MBEDTLS_SSL_HAVE_CAMELLIA with PSA_WANT_KEY_TYPE_CAMELLIA 2024-08-13 09:58:00 +01:00
ssl_client.c tls13: Use a flag not a counter for CCS and HRR handling 2024-03-14 15:05:09 +01:00
ssl_client.h Header updates 2023-11-03 12:21:36 +00:00
ssl_cookie.c Replace MBEDTLS_MD_CAN_SHA256 with PSA_WANT_ALG_SHA_256 2024-07-11 11:13:35 +03:00
ssl_debug_helpers.h tls13: cli: Split early data user status and internal state 2024-03-12 17:48:15 +01:00
ssl_misc.h Fix typos in comments 2024-09-02 12:46:03 +02:00
ssl_msg.c ssl_msg.c: Rename _check_new_session_ticket to _is_new_session_ticket 2024-04-02 17:46:52 +02:00
ssl_ticket.c Fix NULL argument handling in mbedtls_xxx_free() functions 2024-03-22 14:46:04 -04:00
ssl_tls12_client.c Merge pull request #8574 from ronald-cron-arm/ssl-tickets 2024-02-21 09:38:46 +00:00
ssl_tls12_server.c Make mbedtls_ssl_check_cert_usage() work for 1.3 2024-09-02 12:46:03 +02:00
ssl_tls13_client.c Enable ssl_tls13_get_ciphersuite_hash_alg only if macro is active 2024-03-27 08:22:53 +01:00
ssl_tls13_generic.c Merge 1.2 and 1.3 certificate verification 2024-09-02 12:46:03 +02:00
ssl_tls13_invasive.h Header updates 2023-11-03 12:21:36 +00:00
ssl_tls13_keys.c Merge pull request #8715 from valeriosetti/issue7964 2024-02-05 15:09:15 +00:00
ssl_tls13_keys.h Fix some non-standard headers 2023-11-03 12:24:58 +00:00
ssl_tls13_server.c Improve comments explaining legacy_methods_compression handling 2024-06-25 18:16:16 +01:00
ssl_tls.c Fix guards around function now used by 1.3 as well 2024-09-02 12:46:03 +02:00
x509_create.c Update fix to be more platform-independent 2024-01-22 15:31:05 +00:00
x509_crl.c x509: move internal functions declarations to a private header 2024-01-19 09:07:35 +01:00
x509_crt.c Fix Mbed-TLS build when WIN32_LEAN_AND_MEAN macro is defined globally 2024-08-14 15:15:14 -07:00
x509_csr.c x509: move internal functions declarations to a private header 2024-01-19 09:07:35 +01:00
x509_internal.h Un-unrestore mbedtls_x509_string_to_names() 2024-02-26 13:59:43 +00:00
x509.c Replace MBEDTLS_MD_CAN_MD5 with PSA_WANT_ALG_MD5 2024-07-18 14:31:59 +03:00
x509write_crt.c Fix NULL argument handling in mbedtls_xxx_free() functions 2024-03-22 14:46:04 -04:00
x509write_csr.c Fix NULL argument handling in mbedtls_xxx_free() functions 2024-03-22 14:46:04 -04:00
x509write.c x509: move internal functions declarations to a private header 2024-01-19 09:07:35 +01:00