From 21a5d4fdb339af13a13e167dd1def458547adfc4 Mon Sep 17 00:00:00 2001 From: Federico Francescon Date: Wed, 7 Feb 2024 10:35:55 +0100 Subject: [PATCH] using mbedtls API instead of using internals --- hal/tls/mbedtls/tls_mbedtls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hal/tls/mbedtls/tls_mbedtls.c b/hal/tls/mbedtls/tls_mbedtls.c index 671ee117..e7641aa4 100644 --- a/hal/tls/mbedtls/tls_mbedtls.c +++ b/hal/tls/mbedtls/tls_mbedtls.c @@ -297,7 +297,7 @@ TLSConfiguration_create() void TLSConfiguration_setClientMode(TLSConfiguration self) { - self->conf.endpoint = MBEDTLS_SSL_IS_CLIENT; + mbedtls_ssl_conf_endpoint(&(self->conf), MBEDTLS_SSL_IS_CLIENT); } void