Skip to content

Commit

Permalink
mbedtls: fix compile on mbedtls 3.6+
Browse files Browse the repository at this point in the history
they moved mbedtls_x509_get_name into interal zone.

Signed-off-by: Seo Suchan <[email protected]>
  • Loading branch information
orangepizza authored and lws-team committed May 7, 2024
1 parent e820283 commit 9ba1504
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/tls/mbedtls/private-lib-tls-mbedtls.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9ba1504

Please sign in to comment.