From d288494c3a7472e27b0df73e36992b0d4d28cd1a Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Tue, 29 Jan 2019 08:21:24 +0000 Subject: [PATCH] Fix outdated comment in ecdsa_verify_wrap() --- library/pk_wrap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/pk_wrap.c b/library/pk_wrap.c index 332696dfd..57a392536 100644 --- a/library/pk_wrap.c +++ b/library/pk_wrap.c @@ -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 );