summaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-07-05 12:46:33 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-22 16:00:49 +0200
commit88203950ef5ce2f23325ceff5ad247033dfa0005 (patch)
treeced186acdf28846488c6640e1dee2430bec7b318 /options.c
parenta9bf901c76aca35cb40845177ef639225b6dabd5 (diff)
downloadopenvpn-88203950ef5ce2f23325ceff5ad247033dfa0005.tar.gz
openvpn-88203950ef5ce2f23325ceff5ad247033dfa0005.tar.xz
openvpn-88203950ef5ce2f23325ceff5ad247033dfa0005.zip
Added SSL library to title string
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>
Diffstat (limited to 'options.c')
-rw-r--r--options.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/options.c b/options.c
index f780681..bed6c4b 100644
--- 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