mirror of
https://github.com/curl/curl.git
synced 2026-05-15 15:36:22 +03:00
curl --version: show PSL if the run-time lib has it enabled
... not of the #define was set at build-time!
This commit is contained in:
parent
a3e52a7b2d
commit
f8e8028b0f
1 changed files with 2 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
@ -550,9 +551,6 @@ void tool_version_info(void)
|
|||
}
|
||||
#ifdef USE_METALINK
|
||||
printf("Metalink ");
|
||||
#endif
|
||||
#ifdef USE_LIBPSL
|
||||
printf("PSL ");
|
||||
#endif
|
||||
puts(""); /* newline */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue