mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-02 23:31:09 +00:00
Fix outdated comment in ecdsa_verify_wrap()
This commit is contained in:
parent
5d5e90a610
commit
d288494c3a
|
@ -563,8 +563,8 @@ 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;
|
||||||
p = buf + sizeof( buf );
|
p = buf + sizeof( buf );
|
||||||
|
|
Loading…
Reference in a new issue