diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-02-18 23:09:24 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-02-18 23:09:24 +0100 |
commit | f8e8028b0fc22e29a6feebef591e97b2d8c0b26a (patch) | |
tree | 9540fe5bf316fec84512862c9ecb32a48ef8d9bc /src | |
parent | a3e52a7b2d81f1533adb23e69daf8db299ab2568 (diff) |
curl --version: show PSL if the run-time lib has it enabled
... not of the #define was set at build-time!
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_help.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tool_help.c b/src/tool_help.c index 70b2e8a1b..751b43aca 100644 --- a/src/tool_help.c +++ b/src/tool_help.c @@ -507,7 +507,8 @@ static const struct feat feats[] = { {"HTTP2", CURL_VERSION_HTTP2}, {"UnixSockets", CURL_VERSION_UNIX_SOCKETS}, {"HTTPS-proxy", CURL_VERSION_HTTPS_PROXY}, - {"MultiSSL", CURL_VERSION_MULTI_SSL} + {"MultiSSL", CURL_VERSION_MULTI_SSL}, + {"PSL", CURL_VERSION_PSL}, }; void tool_help(void) @@ -551,9 +552,6 @@ void tool_version_info(void) #ifdef USE_METALINK printf("Metalink "); #endif -#ifdef USE_LIBPSL - printf("PSL "); -#endif puts(""); /* newline */ } } |