CESNET / libnetconf2

C NETCONF library
BSD 3-Clause "New" or "Revised" License
203 stars 147 forks source link

mbedtls: `mbedtls_x509_get_subject_alt_name_ext` is now a private API #510

Closed rcmcdonald91 closed 1 month ago

rcmcdonald91 commented 1 month ago

See here: https://github.com/Mbed-TLS/mbedtls/commit/25b282ebfe5cb84e73d6194e83dc8d6c5d9a25e4

This breaks the build with at least mbedtls 3.6.0+

Roytak commented 1 month ago

Hello, you are right the API is now private. There was another API that the same thing happened to and based on my feedback they reverted it, see https://github.com/Mbed-TLS/mbedtls/commit/762f9f9cbb345fe3cfe8d412a876856e2e97785d . However, they did not revert it for this specific API and I missed it back then. So I agree to rewrite it without using the API.