Use valid global options in REALITY config fixtures

This commit is contained in:
evgeny committed 2026-10-22 22:48:53 +02:00
1 parent f37ac2c637
commit 29f9a97552
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1012,7 +1012,7 @@ test_etcp_session_LDFLAGS = $(test_clock_ldflags)
test_etcp_windows_SOURCES = test_etcp_windows.c $(test_clock_sources)
test_etcp_windows_LDADD = $(LIBUTUN) $(COMMON_LIBS)
test_etcp_windows_LDFLAGS = $(test_clock_ldflags) -Wl,--wrap=etcp_encrypt_send -Wl,--wrap=memory_pool_alloc_impl \\
test_etcp_windows_LDFLAGS = $(test_clock_ldflags) -Wl,--wrap=etcp_encrypt_send -Wl,--wrap=memory_pool_alloc_impl \
-Wl,--wrap=bbr_main -Wl,--wrap=uasync_set_timeout
test_etcp_router_tcp_SOURCES = test_etcp_router_tcp.c
+2 -2
View File
@@ -248,7 +248,7 @@ int main(void) {
// ── Сценарий 10: парсинг секции [reality] из конфига ──
{
const char *cfg_text =
"[global]\nname=test\n"
"[global]\nmy_node_name=test\n"
"[reality]\n"
"enabled=1\n"
"server_name=www.microsoft.com\n"
@@ -278,7 +278,7 @@ int main(void) {
// ── Сценарий 11: парсинг reality-ключей в секции [client] ──
{
const char *cfg_text =
"[global]\nname=test\n"
"[global]\nmy_node_name=test\n"
"[server: bind_srv]\naddr=127.0.0.1:2000\ntransport=tcp\n"
"[client: c1]\n"
"peer_public_key=1111111111111111111111111111111111111111111111111111111111111111\n"