]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Display LZMA and Zstandard versions when starting Tor.
authorAlexander Færøy <ahf@torproject.org>
Tue, 18 Apr 2017 20:31:07 +0000 (22:31 +0200)
committerNick Mathewson <nickm@torproject.org>
Tue, 25 Apr 2017 12:10:09 +0000 (08:10 -0400)
See: https://bugs.torproject.org/21662

src/or/main.c

index ddd7b825457c8dd04415af960c62dcf132622828..f3a0d84aeaff72f8c31c711c324f36661a87db84 100644 (file)
@@ -58,7 +58,9 @@
 #include "circuitlist.h"
 #include "circuituse.h"
 #include "command.h"
+#include "compress_lzma.h"
 #include "compress_zlib.h"
+#include "compress_zstd.h"
 #include "config.h"
 #include "confparse.h"
 #include "connection.h"
@@ -2999,11 +3001,13 @@ tor_init(int argc, char *argv[])
     const char *version = get_version();
 
     log_notice(LD_GENERAL, "Tor %s running on %s with Libevent %s, "
-               "OpenSSL %s and Zlib %s.", version,
+               "OpenSSL %s, Zlib %s, Liblzma %s, and Libzstd %s.", version,
                get_uname(),
                tor_libevent_get_version_str(),
                crypto_openssl_get_version_str(),
-               tor_zlib_get_version_str());
+               tor_zlib_get_version_str(),
+               tor_lzma_get_version_str(),
+               tor_zstd_get_version_str());
 
     log_notice(LD_GENERAL, "Tor can't help you if you use it wrong! "
                "Learn how to be safe at "