mirror of
https://github.com/Heleguo/lede.git
synced 2025-12-16 10:51:12 +00:00
hostapd: fix compile against mbedtsl 3.6 (#13804)
Fix compile of the mbedtls extension for hostapd. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
43d8e623be
commit
b6184adf70
@ -6460,7 +6460,7 @@ Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
|
||||
+{
|
||||
+ #if !defined(MBEDTLS_USE_PSA_CRYPTO) /* XXX: (not extracted for PSA crypto) */
|
||||
+ #if defined(MBEDTLS_SSL_PROTO_TLS1_3)
|
||||
+ if (tls_version == MBEDTLS_SSL_VERSION_TLS1_3)
|
||||
+ if (mbedtls_ssl_get_version_number(ssl) == MBEDTLS_SSL_VERSION_TLS1_3)
|
||||
+ return 0; /* (calculation not extracted) */
|
||||
+ #endif /* MBEDTLS_SSL_PROTO_TLS1_3 */
|
||||
+
|
||||
|
||||
Loading…
Reference in New Issue
Block a user