From a808dc2815bf62c3c55f2c78dfa7eebce14a3a2b Mon Sep 17 00:00:00 2001 From: Alexey <247128645+axkurcom@users.noreply.github.com> Date: Thu, 11 Jun 2026 16:34:58 +0300 Subject: [PATCH] Fix TLS fetch test constants scope Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com> --- src/tls_front/fetcher.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/tls_front/fetcher.rs b/src/tls_front/fetcher.rs index e219113..00e943e 100644 --- a/src/tls_front/fetcher.rs +++ b/src/tls_front/fetcher.rs @@ -1530,9 +1530,11 @@ mod tests { use std::time::{Duration, Instant}; use super::{ - ProfileCacheValue, TlsFetchStrategy, build_client_hello, build_tls_fetch_proxy_header, - derive_behavior_profile, encode_tls13_certificate_message, fetch_via_rustls_stream, - order_profiles, profile_alpn, profile_cache, profile_cache_key, + MLKEM768_CLIENT_ENCAPSULATION_KEY_LEN, ProfileCacheValue, TLS_NAMED_GROUP_X25519, + TLS_NAMED_GROUP_X25519MLKEM768, TlsFetchStrategy, X25519_KEY_SHARE_LEN, + build_client_hello, build_tls_fetch_proxy_header, derive_behavior_profile, + encode_tls13_certificate_message, fetch_via_rustls_stream, order_profiles, profile_alpn, + profile_cache, profile_cache_key, }; use crate::config::TlsFetchProfile; use crate::crypto::SecureRandom;