Skip to content

Commit 3eae52b

Browse files
committed
Add indicators of TLS1.3 ciphersuites and port reuse to -v
1 parent 334c5c2 commit 3eae52b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/main.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,16 @@ int main(int argc, const char *argv[]) {
114114
#else // ENABLE_NAT
115115
Log::log("[Disabled] NAT Support", Log::FATAL);
116116
#endif // ENABLE_NAT
117+
#ifdef ENABLE_TLS13_CIPHERSUITES
118+
Log::log(" [Enabled] TLS1.3 Ciphersuites", Log::FATAL);
119+
#else // ENABLE_TLS13_CIPHERSUITES
120+
Log::log("[Disabled] TLS1.3 Ciphersuites", Log::FATAL);
121+
#endif // ENABLE_TLS13_CIPHERSUITES
122+
#ifdef ENABLE_REUSE_PORT
123+
Log::log(" [Enabled] Port Reuse", Log::FATAL);
124+
#else // ENABLE_REUSE_PORT
125+
Log::log("[Disabled] Port Reuse", Log::FATAL);
126+
#endif // ENABLE_REUSE_PORT
117127
Log::log("OpenSSL Information", Log::FATAL);
118128
if (OpenSSL_version_num() != OPENSSL_VERSION_NUMBER) {
119129
Log::log(string("\tCompile-time Version: ") + OPENSSL_VERSION_TEXT, Log::FATAL);

0 commit comments

Comments
 (0)