diff options
| author | Hauke Mehrtens | 2024-04-08 20:06:08 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2024-04-28 19:42:18 +0000 |
| commit | 00a1671248399db056afdfd682f9bf4aeca7ce4f (patch) | |
| tree | c812a578ceaa66ac7eda0dc661f1356bee6c3874 | |
| parent | 6c80f34c07a629926f4a5948f97f823396622749 (diff) | |
| download | openwrt-00a1671248399db056afdfd682f9bf4aeca7ce4f.tar.gz | |
hostapd: Fix compile against mbedtsl 3.6
Fix compile of the mbedtls extension for hostapd.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | package/network/services/hostapd/patches/110-mbedtls-TLS-crypto-option-initial-port.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/patches/110-mbedtls-TLS-crypto-option-initial-port.patch b/package/network/services/hostapd/patches/110-mbedtls-TLS-crypto-option-initial-port.patch index b786d3bccb..b55c0b1f84 100644 --- a/package/network/services/hostapd/patches/110-mbedtls-TLS-crypto-option-initial-port.patch +++ b/package/network/services/hostapd/patches/110-mbedtls-TLS-crypto-option-initial-port.patch @@ -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 */ + |