commit | f6cb5a4826bcb496bfdf6fd3af7d0e52383ab131 | [log] [tgz] |
---|---|---|
author | Raef Coles <raef.coles@arm.com> | Mon Oct 10 14:15:53 2022 +0100 |
committer | Raef Coles <raef.coles@arm.com> | Thu Oct 13 14:29:35 2022 +0100 |
tree | 7256faf1c7612f7c375949fc3295b5c2544acde0 | |
parent | 75b4c7790e50752a8bccf4e4521cff6ad058672d [diff] [blame] |
Fix LMS return statements having incorrect style Signed-off-by: Raef Coles <raef.coles@arm.com>
diff --git a/library/lms.c b/library/lms.c index 321e51a..b460353 100644 --- a/library/lms.c +++ b/library/lms.c
@@ -736,7 +736,7 @@ if ( MBEDTLS_LMS_SIG_LEN(ctx->params.type, ctx->params.otstype) < SIG_OTS_SIG_OFFSET ) { - return MBEDTLS_ERR_LMS_BAD_INPUT_DATA; + return ( MBEDTLS_ERR_LMS_BAD_INPUT_DATA ); } ret = mbedtls_lmots_sign( &ctx->ots_private_keys[q_leaf_identifier],