Commit b2c1d6f0 authored by Mark Andrews's avatar Mark Andrews
Browse files

check for LIBRESSL_VERSION_NUMBER

parent 60d267ac
......@@ -661,7 +661,8 @@ parse_command_line(int argc, char *argv[]) {
#ifdef OPENSSL
printf("compiled with OpenSSL version: %s\n",
OPENSSL_VERSION_TEXT);
#if OPENSSL_VERSION_NUMBER >= 0x10100000L /* 1.1.0 or higher */
#if !defined(LIBRESSL_VERSION_NUMBER) && \
OPENSSL_VERSION_NUMBER >= 0x10100000L /* 1.1.0 or higher */
printf("linked to OpenSSL version: %s\n",
OpenSSL_version(OPENSSL_VERSION));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment