mirror of
https://github.com/espressif/mbedtls.git
synced 2025-05-11 20:42:22 +08:00
Move #define Directive into ssl_helpers.h
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
d2696f2aa2
commit
e16808cddc
@ -43,6 +43,19 @@
|
|||||||
#include "mbedtls/ssl_cache.h"
|
#include "mbedtls/ssl_cache.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED) || \
|
||||||
|
defined(MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED) || \
|
||||||
|
defined(MBEDTLS_KEY_EXCHANGE_RSA_ENABLED)
|
||||||
|
#define MBEDTLS_CAN_HANDLE_RSA_TEST_KEY
|
||||||
|
#endif
|
||||||
|
|
||||||
|
enum {
|
||||||
|
#define MBEDTLS_SSL_TLS1_3_LABEL(name, string) \
|
||||||
|
tls1_3_label_ ## name,
|
||||||
|
MBEDTLS_SSL_TLS1_3_LABEL_LIST
|
||||||
|
#undef MBEDTLS_SSL_TLS1_3_LABEL
|
||||||
|
};
|
||||||
|
|
||||||
typedef struct mbedtls_test_ssl_log_pattern {
|
typedef struct mbedtls_test_ssl_log_pattern {
|
||||||
const char *pattern;
|
const char *pattern;
|
||||||
size_t counter;
|
size_t counter;
|
||||||
|
@ -5,19 +5,6 @@
|
|||||||
|
|
||||||
#include <test/constant_flow.h>
|
#include <test/constant_flow.h>
|
||||||
|
|
||||||
#if defined(MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED) || \
|
|
||||||
defined(MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED) || \
|
|
||||||
defined(MBEDTLS_KEY_EXCHANGE_RSA_ENABLED)
|
|
||||||
#define MBEDTLS_CAN_HANDLE_RSA_TEST_KEY
|
|
||||||
#endif
|
|
||||||
|
|
||||||
enum {
|
|
||||||
#define MBEDTLS_SSL_TLS1_3_LABEL(name, string) \
|
|
||||||
tls1_3_label_ ## name,
|
|
||||||
MBEDTLS_SSL_TLS1_3_LABEL_LIST
|
|
||||||
#undef MBEDTLS_SSL_TLS1_3_LABEL
|
|
||||||
};
|
|
||||||
|
|
||||||
/* END_HEADER */
|
/* END_HEADER */
|
||||||
|
|
||||||
/* BEGIN_DEPENDENCIES
|
/* BEGIN_DEPENDENCIES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user