Fix outdated comment in ecdsa_verify_wrap()

This commit is contained in:
Hanno Becker 2019-01-29 08:21:24 +00:00
parent 5d5e90a610
commit d288494c3a

View File

@ -563,8 +563,8 @@ static int ecdsa_verify_wrap( void *ctx, mbedtls_md_type_t md_alg,
if( curve == 0 )
return( MBEDTLS_ERR_PK_BAD_INPUT_DATA );
/* mbedlts_pk_write_pubkey_der() expects a full PK context,
* re-construct one to make it happy */
/* mbedtls_pk_write_pubkey() expects a full PK context;
* re-construct one to make it happy. */
key.pk_info = &pk_info;
key.pk_ctx = ctx;
p = buf + sizeof( buf );