commit | a7634e83477d94db22ab47f4f5da18dd1bbc5daf | [log] [tgz] |
---|---|---|
author | Hanno Becker <hanno.becker@arm.com> | Tue Dec 18 18:45:00 2018 +0000 |
committer | Hanno Becker <hanno.becker@arm.com> | Tue Dec 18 18:45:00 2018 +0000 |
tree | e23ae28438b6f7326e2c686a7eacd6c400452882 | |
parent | 60b65044ac5c0fd0b6320ada61d9cd5bf5d899cc [diff] [blame] |
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; }