net.mbedtls: disable AES-NI on OpenBSD with tcc (fix #22239) (#24560)

This commit is contained in:
Laurent Cheylus 2025-05-24 10:07:46 +02:00 committed by GitHub
parent a993fb04d8
commit 22c327fee5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3820,3 +3820,9 @@
#undef MBEDTLS_AESNI_C #undef MBEDTLS_AESNI_C
#undef MBEDTLS_PADLOCK_C #undef MBEDTLS_PADLOCK_C
#endif #endif
#if ( defined(__TINYC__) && defined(__OpenBSD__) )
#undef MBEDTLS_HAVE_ASM
#undef MBEDTLS_AESNI_C
#undef MBEDTLS_PADLOCK_C
#endif