From 0973ff9545f21541978e790bcddfa79293477862 Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Wed, 9 Sep 2020 12:56:28 +0100 Subject: [PATCH] Remove macro definitions between Doxygen block and prototype Signed-off-by: Hanno Becker --- library/ssl_tls13_keys.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/ssl_tls13_keys.h b/library/ssl_tls13_keys.h index 03235e5e1f..161f0a114e 100644 --- a/library/ssl_tls13_keys.h +++ b/library/ssl_tls13_keys.h @@ -144,6 +144,10 @@ int mbedtls_ssl_tls1_3_make_traffic_keys( size_t slen, size_t key_len, size_t iv_len, mbedtls_ssl_key_set *keys ); + +#define MBEDTLS_SSL_TLS1_3_CONTEXT_UNHASHED 0 +#define MBEDTLS_SSL_TLS1_3_CONTEXT_HASHED 1 + /** * \brief The \c Derive-Secret function from the TLS 1.3 standard RFC 8446. * @@ -177,10 +181,6 @@ int mbedtls_ssl_tls1_3_make_traffic_keys( * \returns \c 0 on success. * \returns A negative error code on failure. */ - -#define MBEDTLS_SSL_TLS1_3_CONTEXT_UNHASHED 0 -#define MBEDTLS_SSL_TLS1_3_CONTEXT_HASHED 1 - int mbedtls_ssl_tls1_3_derive_secret( mbedtls_md_type_t hash_alg, const unsigned char *secret, size_t slen,