|
|
@@ -9246,7 +9246,8 @@ TEST(SSLClientServerTest, CustomizeServerSSLCtxMbedTLS) {
|
|
|
callback_invoked = true;
|
|
|
|
|
|
// Cast to MbedTlsContext* to access the ssl config
|
|
|
- auto *mbedtls_ctx = static_cast<MbedTlsContext *>(ctx);
|
|
|
+ auto *mbedtls_ctx =
|
|
|
+ static_cast<httplib::detail::tls::MbedTlsContext *>(ctx);
|
|
|
mbedtls_ssl_config *conf = &mbedtls_ctx->conf;
|
|
|
|
|
|
// Use static variables to hold certificate data (simplified for test)
|