From 5f6ebdebdbc2b86272e5a79ad485cfae00a7fc71 Mon Sep 17 00:00:00 2001 From: Nicola Di Lieto Date: Thu, 28 May 2020 19:00:47 +0200 Subject: [PATCH] Fix wrong parameter name in comment Detected by Travis https://travis-ci.org/github/ARMmbed/mbedtls/jobs/692213150 /home/travis/build/ARMmbed/mbedtls/include/mbedtls/x509_crt.h:333: warning: argument 'make_copy' of command @param is not found in the argument list of mbedtls_x509_crt_parse_der_with_ext_cb(mbedtls_x509_crt *chain, const unsigned char *buf, size_t buflen, int no_copy, mbedtls_x509_crt_ext_cb_t cb) Signed-off-by: Nicola Di Lieto --- include/mbedtls/x509_crt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mbedtls/x509_crt.h b/include/mbedtls/x509_crt.h index fb91af2893..cdcc651577 100644 --- a/include/mbedtls/x509_crt.h +++ b/include/mbedtls/x509_crt.h @@ -362,7 +362,7 @@ typedef int (*mbedtls_x509_crt_ext_cb_t)( mbedtls_x509_crt const *crt, int mbedtls_x509_crt_parse_der_with_ext_cb( mbedtls_x509_crt *chain, const unsigned char *buf, size_t buflen, - int no_copy, + int make_copy, mbedtls_x509_crt_ext_cb_t cb ); /**