diff options
author | Seo Suchan <tjtncks@gmail.com> | 2024-05-07 13:19:13 +0100 |
---|---|---|
committer | Andy Green <andy@warmcat.com> | 2024-05-07 13:48:09 +0100 |
commit | c90a77f1241e48d8e3ef40b6a46827424adf9489 (patch) | |
tree | 5a2d30bd337367b06b720984a4b3e698164ecc86 | |
parent | bd8f69e43835f3d57656f25efa84816991e21c10 (diff) | |
download | libwebsockets-upstream-v4.3-stable.tar.gz |
mbedtls: fix compile on mbedtls ge 3.6upstream-v4.3-stable
-rw-r--r-- | lib/tls/mbedtls/private-lib-tls-mbedtls.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tls/mbedtls/private-lib-tls-mbedtls.h b/lib/tls/mbedtls/private-lib-tls-mbedtls.h index 162d9726..cd368f19 100644 --- a/lib/tls/mbedtls/private-lib-tls-mbedtls.h +++ b/lib/tls/mbedtls/private-lib-tls-mbedtls.h @@ -57,3 +57,9 @@ lws_tls_mbedtls_cert_info(mbedtls_x509_crt *x509, enum lws_tls_cert_info type, 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) + int mbedtls_x509_get_name(unsigned char **p, const unsigned char *end, + mbedtls_x509_name *cur); +#endif + |