From dab56ba2bd4925c7676c03011c2384c4220b1330 Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Tue, 17 May 2022 11:56:55 +0200 Subject: [PATCH] Fix typo in mbedtls_pk_can_do_ext() code documentation Signed-off-by: Neil Armstrong --- library/pk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/pk.c b/library/pk.c index bcb6263b7f..b95f957b79 100644 --- a/library/pk.c +++ b/library/pk.c @@ -288,7 +288,7 @@ int mbedtls_pk_can_do_ext( const mbedtls_pk_context *ctx, psa_algorithm_t alg ) psa_reset_key_attributes( &attributes ); /* - * Common case: the key alg & alg2 only allows alg. + * Common case: the key alg or alg2 only allows alg. * This will match PSA_ALG_RSA_PKCS1V15_CRYPT & PSA_ALG_IS_ECDH * directly. * This would also match ECDSA/RSA_PKCS1V15_SIGN/RSA_PSS with