From a7634e83477d94db22ab47f4f5da18dd1bbc5daf Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Tue, 18 Dec 2018 18:45:00 +0000 Subject: [PATCH] Fix wrong invocation of parameter validation macro in ECDH module --- library/ecdh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ecdh.c b/library/ecdh.c index a8d6dbd83..37927f7e5 100644 --- a/library/ecdh.c +++ b/library/ecdh.c @@ -238,7 +238,7 @@ static void ecdh_free_internal( mbedtls_ecdh_context_mbed *ctx ) */ void mbedtls_ecdh_enable_restart( mbedtls_ecdh_context *ctx ) { - ECDH_VALIDATE_RET( ctx != NULL ); + ECDH_VALIDATE( ctx != NULL ); ctx->restart_enabled = 1; }