diff options
author | Alexander Færøy <ahf@torproject.org> | 2017-04-18 22:31:07 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-04-25 08:10:09 -0400 |
commit | be4dc546345831773c2e16fa3dc12749d925aa25 (patch) | |
tree | 3e51f8202b3b9c73201cabb3355ae630bc1e06ef | |
parent | 2fa7b722ce3dcb54dca598d6b1d5a5abfb716f7c (diff) | |
download | tor-be4dc546345831773c2e16fa3dc12749d925aa25.tar.gz tor-be4dc546345831773c2e16fa3dc12749d925aa25.zip |
Display LZMA and Zstandard versions when starting Tor.
See: https://bugs.torproject.org/21662
-rw-r--r-- | src/or/main.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c index ddd7b82545..f3a0d84aea 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 " |