mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-02 10:00:47 -04:00
Fix compile warning in tests
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
ef56795fd2
commit
6823247376
@ -165,6 +165,7 @@ static void gcm_reset_ctx(mbedtls_gcm_context *ctx, const uint8_t *key,
|
|||||||
TEST_EQUAL(starts_ret, mbedtls_gcm_starts(ctx, mode, iv, iv_len));
|
TEST_EQUAL(starts_ret, mbedtls_gcm_starts(ctx, mode, iv, iv_len));
|
||||||
exit:
|
exit:
|
||||||
/* empty */
|
/* empty */
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* END_HEADER */
|
/* END_HEADER */
|
||||||
@ -514,6 +515,7 @@ void gcm_invalid_iv_len(void)
|
|||||||
goto exit; /* To suppress error that exit is defined but not used */
|
goto exit; /* To suppress error that exit is defined but not used */
|
||||||
exit:
|
exit:
|
||||||
/* empty */
|
/* empty */
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user