From bbb8b75f20d3952430e7ee7d5aaadfd9cca96614 Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Tue, 17 May 2022 14:58:27 +0200 Subject: [PATCH] Fixup comment of mbedtls_pk_can_do_ext() Signed-off-by: Neil Armstrong --- library/pk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/pk.c b/library/pk.c index ab443ea00f..5307ff3104 100644 --- a/library/pk.c +++ b/library/pk.c @@ -328,8 +328,8 @@ int mbedtls_pk_can_do_ext( const mbedtls_pk_context *ctx, psa_algorithm_t alg, return( 1 ); /* - * If key alg or alg2 is a hash-and-sign with a wildcard for the hash, - * and alg is the same hash-and-sign family with any hasor, + * If key_alg or key_alg2 is a hash-and-sign with a wildcard for the hash, + * and alg is the same hash-and-sign family with any hash, * then alg is compliant with this key alg */ if( PSA_ALG_IS_SIGN_HASH( alg ) )