From: Alexander Færøy Date: Tue, 18 Apr 2017 20:31:07 +0000 (+0200) Subject: Display LZMA and Zstandard versions when starting Tor. X-Git-Tag: tor-0.3.1.1-alpha~146^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be4dc546345831773c2e16fa3dc12749d925aa25;p=thirdparty%2Ftor.git Display LZMA and Zstandard versions when starting Tor. See: https://bugs.torproject.org/21662 --- 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 "