mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-03 16:59:58 +00:00
library: ssl: make the list of "TLS ID" <-> "group name" public when possible
This is only done when MBEDTLS_DEBUG_C is declared in order not to inflate the library size. Signed-off-by: Valerio Setti <[email protected]>
This commit is contained in:
@@ -3695,6 +3695,14 @@ typedef struct {
|
||||
{ MBEDTLS_SSL_IANA_TLS_GROUP_NONE, NULL } \
|
||||
}
|
||||
|
||||
#if defined(MBEDTLS_DEBUG_C)
|
||||
/*
|
||||
* List of known "TLS ID" <-> "group name".
|
||||
* #MBEDTLS_SSL_IANA_TLS_GROUPS_INFO is used to initialized the list.
|
||||
*/
|
||||
extern mbedtls_ssl_iana_tls_group_info_t mbedtls_ssl_iana_tls_group_info[];
|
||||
#endif /* MBEDTLS_DEBUG_C */
|
||||
|
||||
/**
|
||||
* \brief Return the list of supported groups (curves and finite fields).
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user