]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Added SSL library to title string
authorAdriaan de Jong <dejong@fox-it.com>
Tue, 5 Jul 2011 10:46:33 +0000 (12:46 +0200)
committerDavid Sommerseth <davids@redhat.com>
Sat, 22 Oct 2011 14:00:49 +0000 (16:00 +0200)
Signed-off-by: Adriaan de Jong <dejong@fox-it.com>
Acked-by: James Yonan <james@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Signed-off-by: David Sommerseth <davids@redhat.com>
options.c

index f780681d1a971ad79556a113500b18dcf20d23fb..bed6c4b484aa6d07fbfaf776bfcf66fc5fae9ccd 100644 (file)
--- a/options.c
+++ b/options.c
@@ -60,11 +60,23 @@ const char title_string[] =
   " " TARGET_ALIAS
 #ifdef USE_CRYPTO
 #ifdef USE_SSL
+#if defined(USE_POLARSSL)
+  " [SSL (PolarSSL)]"
+#elif defined(USE_OPENSSL)
+  " [SSL (OpenSSL)]"
+#else
   " [SSL]"
+#endif /* defined(USE_POLARSSL) */
+#else /* ! USE_SSL */
+#if defined(USE_POLARSSL)
+  " [CRYPTO (PolarSSL)]"
+#elif defined(USE_OPENSSL)
+  " [CRYPTO (OpenSSL)]"
 #else
   " [CRYPTO]"
-#endif
-#endif
+#endif /* defined(USE_POLARSSL) */
+#endif /* USE_SSL */
+#endif /* USE_CRYPTO */
 #ifdef USE_LZO
   " [LZO" LZO_VERSION_NUM "]"
 #endif