about summary refs log tree commit diff stats
path: root/src/LYMain.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2010-06-21 08:36:29 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2010-06-21 08:36:29 -0400
commita75e82813ea9ad7d716f81ce790b4b1b3a4ba4b7 (patch)
treef8c2621f04a078a0cbe20982fa0b331a9750d3e6 /src/LYMain.c
parentcf8dea28bede9af20f1b6b3435a793e91924f4d6 (diff)
downloadlynx-snapshots-a75e82813ea9ad7d716f81ce790b4b1b3a4ba4b7.tar.gz
snapshot of project "lynx", label v2-8-8dev_3i
Diffstat (limited to 'src/LYMain.c')
-rw-r--r--src/LYMain.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/LYMain.c b/src/LYMain.c
index acd63897..7e87bc3a 100644
--- a/src/LYMain.c
+++ b/src/LYMain.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYMain.c,v 1.214 2010/06/18 00:12:27 tom Exp $
+ * $LynxId: LYMain.c,v 1.215 2010/06/20 20:03:00 tom Exp $
  */
 #include <HTUtils.h>
 #include <HTTP.h>
@@ -907,14 +907,10 @@ static void append_ssl_version(char **target,
 
 #if defined(SSLEAY_VERSION)
 #define LYNX_SSL_VERSION SSLeay_version(SSLEAY_VERSION)
-#else
-#if defined(OPENSSL_VERSION_TEXT)
+#elif defined(OPENSSL_VERSION_TEXT)
 #define LYNX_SSL_VERSION OPENSSL_VERSION_TEXT
-#else
-#if defined(GNUTLS_VERSION)
-#define LYNX_SSL_VERSION GNUTLS_VERSION
-#endif /* GNUTLS_VERSION */
-#endif /* OPENSSL_VERSION_TEXT */
+#elif defined(GNUTLS_VERSION)
+#define LYNX_SSL_VERSION "GNUTLS " GNUTLS_VERSION " "
 #endif
 
 #ifdef LYNX_SSL_VERSION