Skip to content

Commit d288494

Browse files
author
Hanno Becker
committed
Fix outdated comment in ecdsa_verify_wrap()
1 parent 5d5e90a commit d288494

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/pk_wrap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,8 @@ static int ecdsa_verify_wrap( void *ctx, mbedtls_md_type_t md_alg,
563563
if( curve == 0 )
564564
return( MBEDTLS_ERR_PK_BAD_INPUT_DATA );
565565

566-
/* mbedlts_pk_write_pubkey_der() expects a full PK context,
567-
* re-construct one to make it happy */
566+
/* mbedtls_pk_write_pubkey() expects a full PK context;
567+
* re-construct one to make it happy. */
568568
key.pk_info = &pk_info;
569569
key.pk_ctx = ctx;
570570
p = buf + sizeof( buf );

0 commit comments

Comments
 (0)