mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-05-01 03:46:30 +00:00
Fix outdated comment in ecdsa_verify_wrap()
This commit is contained in:
parent
af01b4b387
commit
ccf574e030
|
@ -563,7 +563,7 @@ static int ecdsa_verify_wrap( void *ctx, mbedtls_md_type_t md_alg,
|
||||||
if( curve == 0 )
|
if( curve == 0 )
|
||||||
return( MBEDTLS_ERR_PK_BAD_INPUT_DATA );
|
return( MBEDTLS_ERR_PK_BAD_INPUT_DATA );
|
||||||
|
|
||||||
/* mbedlts_pk_write_pubkey_der() expects a full PK context,
|
/* mbedtls_pk_write_pubkey() expects a full PK context;
|
||||||
* re-construct one to make it happy */
|
* re-construct one to make it happy */
|
||||||
key.pk_info = &pk_info;
|
key.pk_info = &pk_info;
|
||||||
key.pk_ctx = ctx;
|
key.pk_ctx = ctx;
|
||||||
|
|
Loading…
Reference in a new issue