Remove guard for TLS 1.3 specific declarations

We only guard the implementations of modules, not their declarations.

Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
Hanno Becker 2020-09-09 10:57:24 +01:00
parent 59b50a1997
commit 2fe043a6d1
2 changed files with 0 additions and 8 deletions

View file

@ -399,9 +399,6 @@ typedef int mbedtls_ssl_tls_prf_cb( const unsigned char *secret, size_t slen,
#define MBEDTLS_SSL_MAX_IV_LENGTH 16
#define MBEDTLS_SSL_MAX_KEY_LENGTH 32
#if defined(MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL)
/**
* \brief The data structure holding the cryptographic material (key and IV)
* used for record protection in TLS 1.3.
@ -423,7 +420,6 @@ struct mbedtls_ssl_key_set
* server_write_iv, in Bytes. */
};
typedef struct mbedtls_ssl_key_set mbedtls_ssl_key_set;
#endif /* MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL */
/*
* This structure contains the parameters only needed during handshake.