From ea54dbe7c2a7b6cc531e79e5a03814e47412ac0a Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Mon, 14 Mar 2022 09:26:48 +0100 Subject: [PATCH] Fix comment typo in rsa_verify_wrap() Signed-off-by: Neil Armstrong --- library/pk_wrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/pk_wrap.c b/library/pk_wrap.c index 4b834ea0a..f874a7df7 100644 --- a/library/pk_wrap.c +++ b/library/pk_wrap.c @@ -190,7 +190,7 @@ static int rsa_verify_wrap( void *ctx, mbedtls_md_type_t md_alg, if( sig_len < rsa_len ) return( MBEDTLS_ERR_RSA_VERIFY_FAILED ); - /* mbedtls_pk_write_pubkey() expects a full PK context; + /* mbedtls_pk_write_pubkey_der() expects a full PK context; * re-construct one to make it happy */ key.pk_info = &pk_info; key.pk_ctx = ctx;