mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
fix code style
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
@@ -897,7 +897,7 @@ static int ecdsa_sign_wrap(void *ctx_arg, mbedtls_md_type_t md_alg,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (key_len > sizeof(buf)) {
|
if (key_len > sizeof(buf)) {
|
||||||
return( MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED );
|
return MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||||
}
|
}
|
||||||
ret = mbedtls_mpi_write_binary(&ctx->d, buf, key_len);
|
ret = mbedtls_mpi_write_binary(&ctx->d, buf, key_len);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
|
Reference in New Issue
Block a user