I am trying to build a curl library using the mbedtls library. In mbedtls has disable run-time version information (comment MBEDTLS_VERSION_C). The Curl_mbedtls_version function refers to the mbedtls_version_get_number function, which is disabled. As a result, it is not possible to build a project.
I expected the following
Perhaps using the MBEDTLS_VERSION_STRING may solve this problem: return msnprintf(buffer, size, "mbedTLS/%s", MBEDTLS_VERSION_STRING);