aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2023-09-18 09:08:17 -0400
committerDavid Goulet <dgoulet@torproject.org>2023-09-18 09:08:17 -0400
commit77c41700ad3c8356e62e310e778a417ec55661cb (patch)
tree51dafb9d23dd5b77aec0ba80e36eb19a98a9c1eb
parent23a965757dfda89fc1b3bed2e3aaf90fabc9d8c1 (diff)
parentc0a10b259c4f5f58cf8b1a1c94314e49f6cc7eba (diff)
downloadtor-77c41700ad3c8356e62e310e778a417ec55661cb.tar.gz
tor-77c41700ad3c8356e62e310e778a417ec55661cb.zip
Merge branch 'maint-0.4.7' into release-0.4.7
-rw-r--r--changes/ticket408154
-rw-r--r--src/lib/compress/compress_zstd.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/changes/ticket40815 b/changes/ticket40815
new file mode 100644
index 0000000000..88129b7bb1
--- /dev/null
+++ b/changes/ticket40815
@@ -0,0 +1,4 @@
+ o Minor bugfixes (compression, zstd):
+ - Use less frightening language and lower the log-level of our run-time ABI
+ compatibility check message in our Zstd compression subsystem. Fixes bug
+ 40815; bugfix on 0.4.3.1-alpha.
diff --git a/src/lib/compress/compress_zstd.c b/src/lib/compress/compress_zstd.c
index 85c2bb3bfa..9b18930d16 100644
--- a/src/lib/compress/compress_zstd.c
+++ b/src/lib/compress/compress_zstd.c
@@ -522,9 +522,10 @@ tor_zstd_warn_if_version_mismatched(void)
tor_zstd_format_version(runtime_version, sizeof(runtime_version),
ZSTD_versionNumber());
- log_warn(LD_GENERAL,
+ log_info(LD_GENERAL,
"Tor was compiled with zstd %s, but is running with zstd %s. "
- "For safety, we'll avoid using advanced zstd functionality.",
+ "For ABI compatibility reasons, we'll avoid using advanced zstd "
+ "functionality.",
header_version, runtime_version);
}
#endif /* defined(HAVE_ZSTD) && defined(ENABLE_ZSTD_ADVANCED_APIS) */