Skip to content

Commit

Permalink
Add indicators of TLS1.3 ciphersuites and port reuse to -v
Browse files Browse the repository at this point in the history
  • Loading branch information
GreaterFire committed Dec 27, 2019
1 parent 334c5c2 commit 3eae52b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,16 @@ int main(int argc, const char *argv[]) {
#else // ENABLE_NAT
Log::log("[Disabled] NAT Support", Log::FATAL);
#endif // ENABLE_NAT
#ifdef ENABLE_TLS13_CIPHERSUITES
Log::log(" [Enabled] TLS1.3 Ciphersuites", Log::FATAL);
#else // ENABLE_TLS13_CIPHERSUITES
Log::log("[Disabled] TLS1.3 Ciphersuites", Log::FATAL);
#endif // ENABLE_TLS13_CIPHERSUITES
#ifdef ENABLE_REUSE_PORT
Log::log(" [Enabled] Port Reuse", Log::FATAL);
#else // ENABLE_REUSE_PORT
Log::log("[Disabled] Port Reuse", Log::FATAL);
#endif // ENABLE_REUSE_PORT
Log::log("OpenSSL Information", Log::FATAL);
if (OpenSSL_version_num() != OPENSSL_VERSION_NUMBER) {
Log::log(string("\tCompile-time Version: ") + OPENSSL_VERSION_TEXT, Log::FATAL);
Expand Down

0 comments on commit 3eae52b

Please sign in to comment.