mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 22:14:15 +01:00
Fixup: Use TC ECC type instead of uint32_t during pubkey parsing
Using explicit enumerated types avoids type confusion.
This commit is contained in:
parent
28332a5642
commit
dfb949bb4e
@ -182,7 +182,7 @@ int mbedtls_pk_parse_public_keyfile( mbedtls_pk_context *ctx, const char *path )
|
||||
#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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user