summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Orton <jorton@redhat.com>2020-02-24 17:10:27 +0000
committerJoe Orton <jorton@redhat.com>2020-02-24 17:10:27 +0000
commitb7093f014d3268ac7ec79bb5ceefdc38ca8cf85a (patch)
treecb030e908e5b2b635d304f31ffaffe97b8e55edc
parent281c84fc3996c757efdf6e9b3f906d7a1fc08b1d (diff)
downloadneon-git-b7093f014d3268ac7ec79bb5ceefdc38ca8cf85a.tar.gz
Advertise OpenSSL thread-safety and libproxy support in ne_version_string.
-rw-r--r--src/ne_utils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ne_utils.c b/src/ne_utils.c
index a672f40..3926b25 100644
--- a/src/ne_utils.c
+++ b/src/ne_utils.c
@@ -117,6 +117,9 @@ static const char version_string[] = "neon " NEON_VERSION ": "
#else
"OpenSSL (unknown version)"
#endif /* OPENSSL_VERSION_TEXT */
+#ifdef NE_HAVE_TS_SSL
+ " (thread-safe)"
+#endif
#endif /* HAVE_OPENSSL */
#ifdef HAVE_GNUTLS
", GNU TLS " LIBGNUTLS_VERSION
@@ -127,6 +130,9 @@ static const char version_string[] = "neon " NEON_VERSION ": "
#ifdef HAVE_PAKCHOIS
", PKCS#11"
#endif
+#ifdef NE_HAVE_LIBPXY
+ ", libproxy"
+#endif
"."
;