Fix wrong invocation of parameter validation macro in ECDH module
diff --git a/library/ecdh.c b/library/ecdh.c
index a8d6dbd..37927f7 100644
--- a/library/ecdh.c
+++ b/library/ecdh.c
@@ -238,7 +238,7 @@
  */
 void mbedtls_ecdh_enable_restart( mbedtls_ecdh_context *ctx )
 {
-    ECDH_VALIDATE_RET( ctx != NULL );
+    ECDH_VALIDATE( ctx != NULL );
 
     ctx->restart_enabled = 1;
 }