commit | dfb949bb4e38c5c461171f8a52da0935fd81cc97 | [log] [tgz] |
---|---|---|
author | Hanno Becker <hanno.becker@arm.com> | Fri Aug 23 15:22:25 2019 +0100 |
committer | Hanno Becker <hanno.becker@arm.com> | Wed Sep 04 16:17:25 2019 +0100 |
tree | e6c585ad2e7fedceeaea44d117a3243aad80c3f5 | |
parent | 28332a5642a2f5ea9e370ecc06eae4b025d9513d [diff] [blame] |
Fixup: Use TC ECC type instead of uint32_t during pubkey parsing Using explicit enumerated types avoids type confusion.
diff --git a/library/pkparse.c b/library/pkparse.c index a3184bf..d03695b 100644 --- a/library/pkparse.c +++ b/library/pkparse.c
@@ -182,7 +182,7 @@ #if defined(MBEDTLS_USE_TINYCRYPT) static int pk_use_ecparams( const mbedtls_asn1_buf *params ) { - uint32_t grp_id; + mbedtls_uecc_group_id grp_id; if( params->tag == MBEDTLS_ASN1_OID ) {