mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-07-30 16:26:33 +08:00
include: ssl: add a typedef for unused data in mbedtls_ssl_config and mbedtls_ssl_context
Add mbedtls_ssl_unused_data_t type instead of embedding the union inside both structures. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
f4a1aceb8c
commit
090c8842a7
@ -1728,6 +1728,17 @@ struct mbedtls_ssl_config {
|
||||
#endif
|
||||
};
|
||||
|
||||
/*
|
||||
* Warning: whenever a change is applied to "mbedtls_ssl_context" please re-run
|
||||
* the script "tests/scripts/generate_ssl_session_reset_check.py".
|
||||
* Please note that this script has some limitation that should be considered
|
||||
* when modifing "mbedtls_ssl_context":
|
||||
* - Parsed structure must start with struct "mbedtls_ssl_context {"
|
||||
* (not "typedef struct {").
|
||||
* - It must end with "}}" in column 0.
|
||||
* - Must not contain "#else" or "#elif" conditionals.
|
||||
* - Must not contain nested struct/union/enum definitions.
|
||||
*/
|
||||
struct mbedtls_ssl_context {
|
||||
const mbedtls_ssl_config *MBEDTLS_PRIVATE(conf); /*!< configuration information */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user