You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get a build error on Fedora 41 with builtin_mbedtls=no:
modules/mbedtls/tls_context_mbedtls.cpp: In member function 'Error TLSContextMbedTLS::init_server(int, Ref<TLSOptions>, Ref<CookieContextMbedTLS>)':
modules/mbedtls/tls_context_mbedtls.cpp:151:57: error: 'MBEDTLS_SSL_VERSION_TLS1_2' was not declared in this scope; did you mean 'MBEDTLS_SSL_PROTO_TLS1_2'?
151 | mbedtls_ssl_conf_max_tls_version(&conf, MBEDTLS_SSL_VERSION_TLS1_2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| MBEDTLS_SSL_PROTO_TLS1_2
modules/mbedtls/tls_context_mbedtls.cpp:151:17: error: 'mbedtls_ssl_conf_max_tls_version' was not declared in this scope; did you mean 'mbedtls_ssl_conf_max_version'?
151 | mbedtls_ssl_conf_max_tls_version(&conf, MBEDTLS_SSL_VERSION_TLS1_2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| mbedtls_ssl_conf_max_version
modules/mbedtls/tls_context_mbedtls.cpp: In member function 'Error TLSContextMbedTLS::init_client(int, const String&, Ref<TLSOptions>)':
modules/mbedtls/tls_context_mbedtls.cpp:198:57: error: 'MBEDTLS_SSL_VERSION_TLS1_2' was not declared in this scope; did you mean 'MBEDTLS_SSL_PROTO_TLS1_2'?
198 | mbedtls_ssl_conf_max_tls_version(&conf, MBEDTLS_SSL_VERSION_TLS1_2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| MBEDTLS_SSL_PROTO_TLS1_2
modules/mbedtls/tls_context_mbedtls.cpp:198:17: error: 'mbedtls_ssl_conf_max_tls_version' was not declared in this scope; did you mean 'mbedtls_ssl_conf_max_version'?
198 | mbedtls_ssl_conf_max_tls_version(&conf, MBEDTLS_SSL_VERSION_TLS1_2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| mbedtls_ssl_conf_max_version
In comparison, it works with builtin_mbedtls=yes (the default). This is likely a regression from #102774. cc @Faless
Steps to reproduce
Run scons builtin_mbedtls=no on Fedora 41 with the system mbedTLS package installed.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered:
Tested versions
System information
Godot v4.4.beta (93d2706) - Fedora Linux 41 (KDE Plasma) on X11 - X11 display driver, Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (nvidia; 565.77) - 13th Gen Intel(R) Core(TM) i9-13900K (32 threads)
Issue description
I get a build error on Fedora 41 with
builtin_mbedtls=no
:In comparison, it works with
builtin_mbedtls=yes
(the default). This is likely a regression from #102774. cc @FalessSteps to reproduce
scons builtin_mbedtls=no
on Fedora 41 with the system mbedTLS package installed.Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: