summaryrefslogtreecommitdiff
path: root/lib/vtls/openssl.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-01-11 22:56:46 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-01-11 22:56:46 +0100
commit4dc7cd40f6df536c483a44080b3fd7e116b5e089 (patch)
tree0b6c07dc7bffead86361ed1bff12396d5ce94083 /lib/vtls/openssl.c
parent39fab9066e070f2ba5d087be4c99d39ed666aa22 (diff)
downloadcurl-4dc7cd40f6df536c483a44080b3fd7e116b5e089.tar.gz
fixup the #elif logic
Diffstat (limited to 'lib/vtls/openssl.c')
-rw-r--r--lib/vtls/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 71c5898b2..161e520e9 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -3774,7 +3774,7 @@ static size_t Curl_ossl_version(char *buffer, size_t size)
{
#ifdef OPENSSL_IS_BORINGSSL
return msnprintf(buffer, size, OSSL_PACKAGE);
-#elif HAVE_OPENSSL_VERSION
+#elif defined(HAVE_OPENSSL_VERSION)
return msnprintf(buffer, size, "%s/%s",
OSSL_PACKAGE, OpenSSL_version(OPENSSL_VERSION_STRING));
#else