diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-01-11 22:56:46 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-01-11 22:56:46 +0100 |
commit | 4dc7cd40f6df536c483a44080b3fd7e116b5e089 (patch) | |
tree | 0b6c07dc7bffead86361ed1bff12396d5ce94083 /lib/vtls/openssl.c | |
parent | 39fab9066e070f2ba5d087be4c99d39ed666aa22 (diff) | |
download | curl-4dc7cd40f6df536c483a44080b3fd7e116b5e089.tar.gz |
fixup the #elif logic
Diffstat (limited to 'lib/vtls/openssl.c')
-rw-r--r-- | lib/vtls/openssl.c | 2 |
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 |