From b653aa3d16d53ea3f00b36a8433d92af8b543385 Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Fri, 28 Jun 2019 10:53:55 +0100 Subject: [PATCH] Don't mention pk_sign() in the context of public-key contexts --- include/mbedtls/x509_crt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mbedtls/x509_crt.h b/include/mbedtls/x509_crt.h index 293a710ed..6db9bc9fa 100644 --- a/include/mbedtls/x509_crt.h +++ b/include/mbedtls/x509_crt.h @@ -904,8 +904,8 @@ static inline int mbedtls_x509_crt_frame_release( mbedtls_x509_crt const *crt ) * in a thread-safe way. In particular, the caller must only * use the context with functions which are `const` on the input * context, or those which are known to be thread-safe. The latter - * for example includes mbedtls_pk_sign() and mbedtls_pk_verify() - * for ECC or RSA public key contexts. + * for example includes mbedtls_pk_verify() for ECC or RSA public + * key contexts. * * \return \c 0 on success. In this case, `*pk_ptr` is updated * to hold the address of a public key context for the given