[tor-commits] [tor/master] Display LZMA and Zstandard versions when starting Tor.

nickm at torproject.org nickm at torproject.org
Tue Apr 25 12:18:24 UTC 2017


commit be4dc546345831773c2e16fa3dc12749d925aa25
Author: Alexander Færøy <ahf at torproject.org>
Date:   Tue Apr 18 22:31:07 2017 +0200

    Display LZMA and Zstandard versions when starting Tor.
    
    See: https://bugs.torproject.org/21662
---
 src/or/main.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/or/main.c b/src/or/main.c
index ddd7b82..f3a0d84 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -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 "





More information about the tor-commits mailing list