diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-01-12 00:11:11 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-01-12 00:11:11 +0100 |
commit | b418e6b0f0c2335f782fe6bc53c1df5f2233e09f (patch) | |
tree | 00737a2abe815ad6ef44968fabee3e9ac120d0ad | |
parent | 4dc7cd40f6df536c483a44080b3fd7e116b5e089 (diff) | |
download | curl-bagder/openssl-3_0_0.tar.gz |
fixup check the define toobagder/openssl-3_0_0
-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 161e520e9..6b050a9ec 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 defined(HAVE_OPENSSL_VERSION) +#elif defined(HAVE_OPENSSL_VERSION) && defined(OPENSSL_VERSION_STRING) return msnprintf(buffer, size, "%s/%s", OSSL_PACKAGE, OpenSSL_version(OPENSSL_VERSION_STRING)); #else |