Thank you for the information. Indeed: curl_version() shows the attachment. However, I am not using this method because the string is too long for the UI where I want to show it. thats why I use the curl_version_info_data struct instead to show the different dependencies and version line-by-line.
It maybe a small thing/change but would be consistent to the other libs that are also present in both: curl_version() and the version struct. I'll try to compile a patch accordingly. --------------------------------------------- Date: Fri, 2 Apr 2021 13:40:37 -0400 From: Ray Satiro <raysat...@yahoo.com> To: curl-library@cool.haxx.se Subject: Re: Requesting Version Info for GSASL Message-ID: <1ae789c1-e3dc-15be-e695-46beb2d5c...@yahoo.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" On 4/2/2021 3:44 AM, Mac-Fly via curl-library wrote: > I don't know to reply properly to this list, so this is a reply to: Ray Satiro > >> There is features flag CURL_VERSION_GSASL [1]. The gsasl version >> should be in the version information but the version number is not >> available separately. What does curl_version() show? > For me, on Windows, it doesn't show this flag, that why I was asking. > Although I have to link against GSASL library now. So there definitely seems > a dependency, which I want to transparently show in my applications using the > lib. > > In gsasl.h, there is this line: > #define GSASL_VERSION "1.10.0" > ...which could be exposed to the curl version struct (curl_version_info_data) > and wrapped inside > #ifdef USE_GSASL > ...just as it is the case for the other version information stuff like > NGHTTP2 in the file version.c. > > Could be that I don't understand how to use it properly, but this seem > missing from my (maybe limited) understanding. To reply to the list you should reply to curl-library@cool.haxx.se which it seems you did. If libcurl was built with GSASL then that flag should be present and the GSASL version should show in the dependency version string. Check curl_version(). ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html