From a1ee5a2c50d9d1661abe4986360ce126c13dfb03 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sun, 29 Sep 2024 11:49:27 +0100 Subject: [PATCH] mbedtls: provide declaration if ge 3.5 https://github.com/warmcat/libwebsockets/issues/3169 --- lib/tls/mbedtls/private-lib-tls-mbedtls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tls/mbedtls/private-lib-tls-mbedtls.h b/lib/tls/mbedtls/private-lib-tls-mbedtls.h index cd368f197..12cbd4ce7 100644 --- a/lib/tls/mbedtls/private-lib-tls-mbedtls.h +++ b/lib/tls/mbedtls/private-lib-tls-mbedtls.h @@ -58,7 +58,7 @@ int lws_x509_get_crt_ext(mbedtls_x509_crt *crt, mbedtls_x509_buf *skid, lws_mbedtls_x509_authority *akid); -#if (MBEDTLS_VERSION_MAJOR == 3) && (MBEDTLS_VERSION_MINOR >= 6) +#if (MBEDTLS_VERSION_MAJOR == 3) && (MBEDTLS_VERSION_MINOR >= 5) int mbedtls_x509_get_name(unsigned char **p, const unsigned char *end, mbedtls_x509_name *cur); #endif