From 05d879e891da2bbb484e7abe329fdeae2aa8364d Mon Sep 17 00:00:00 2001 From: Joel Guittet Date: Tue, 26 Sep 2023 22:18:00 +0200 Subject: [PATCH] platform: remove mbedtls options --- platform/tls/mbedtls/src/mender-tls.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) mode change 100755 => 100644 platform/tls/mbedtls/src/mender-tls.c diff --git a/platform/tls/mbedtls/src/mender-tls.c b/platform/tls/mbedtls/src/mender-tls.c old mode 100755 new mode 100644 index 1c054aa..bfd9485 --- a/platform/tls/mbedtls/src/mender-tls.c +++ b/platform/tls/mbedtls/src/mender-tls.c @@ -39,21 +39,15 @@ #include "mender-tls.h" /** - * @brief Default keys length + * @brief Keys buffer length */ -#ifndef MENDER_TLS_PRIVATE_KEY_LENGTH #define MENDER_TLS_PRIVATE_KEY_LENGTH (2048) -#endif /* MENDER_TLS_PRIVATE_KEY_LENGTH */ -#ifndef MENDER_TLS_PUBLIC_KEY_LENGTH -#define MENDER_TLS_PUBLIC_KEY_LENGTH (768) -#endif /* MENDER_TLS_PUBLIC_KEY_LENGTH */ +#define MENDER_TLS_PUBLIC_KEY_LENGTH (768) /** - * @brief Default signature length (base64 encoded) + * @brief Signature buffer length (base64 encoded) */ -#ifndef MENDER_TLS_SIGNATURE_LENGTH #define MENDER_TLS_SIGNATURE_LENGTH (512) -#endif /* MENDER_TLS_SIGNATURE_LENGTH */ mender_err_t mender_tls_init(void) {