]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
openvpn version line: remove [IPv6], add [AEAD] if available
authorGert Doering <gert@greenie.muc.de>
Mon, 7 Nov 2016 10:50:52 +0000 (11:50 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 7 Nov 2016 11:47:08 +0000 (12:47 +0100)
Printing [IPv6] is no longer relevant information, as IPv6 support
is always build in.  So, "2.4 = has IPv6, always".

[AEAD] is relevant information, as the underlying SSL library might
be too old to have support for it (OpenSSL 0.9.x) and this eases
figuring out why NCP is not upgrading a connection to AES-256-GCM.

Trac #762

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <1478515852-17381-1-git-send-email-gert@greenie.muc.de>
URL: http://www.mail-archive.com/search?l=mid&q=1478515852-17381-1-git-send-email-gert@greenie.muc.de
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/options.c

index 552bf5ab85eadd314d3dce4f28c9979a12d3d911..5a5e7ef57175e1f4d0744d57d1ee012006f382cc 100644 (file)
@@ -103,7 +103,9 @@ const char title_string[] =
   " [MH/RECVDA]"
 # endif
 #endif
-  " [IPv6]"
+#ifdef HAVE_AEAD_CIPHER_MODES
+  " [AEAD]"
+#endif
   " built on " __DATE__
 ;