Commit 891f4fb0 authored by Fabio Utzig's avatar Fabio Utzig Committed by David Brown
Browse files

Fix EC API usage due to change in mbed-TLS

Signed-off-by: default avatarFabio Utzig <utzig@apache.org>
parent 476fd99d
Loading
Loading
Loading
Loading
+1 −1
Changes for boot/bootutil/src/image_ec.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ bootutil_parse_eckey(mbedtls_ecdsa_context *ctx, uint8_t **p, uint8_t *end)
        return -4;
    }

    if (mbedtls_ecp_group_load_secp224r1(&ctx->grp)) {
    if (mbedtls_ecp_group_load(&ctx->grp, MBEDTLS_ECP_DP_SECP224R1)) {
        return -5;
    }