Fix comment typo in rsa_verify_wrap()

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
Neil Armstrong 2022-03-14 09:26:48 +01:00
parent 19e6bc4c9f
commit ea54dbe7c2

View file

@ -190,7 +190,7 @@ static int rsa_verify_wrap( void *ctx, mbedtls_md_type_t md_alg,
if( sig_len < rsa_len ) if( sig_len < rsa_len )
return( MBEDTLS_ERR_RSA_VERIFY_FAILED ); 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 */ * 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;