1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Fix LMS return statements having incorrect style

Signed-off-by: Raef Coles <raef.coles@arm.com>
This commit is contained in:
Raef Coles
2022-10-10 14:15:53 +01:00
parent 75b4c7790e
commit f6cb5a4826
2 changed files with 3 additions and 3 deletions

View File

@@ -736,7 +736,7 @@ int mbedtls_lms_sign( mbedtls_lms_private_t *ctx,
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],