I've compiled a patch that should implement what I am requesting an attached this to this email. If As I don't know if textual patches are allowed in the list I'll also open an issue on GitHub.
Thanks for consideration, the reason I wrote in the other mail which was unfortunately a reply to the digets and not this message. :-) ----- Original Message ----- 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(). -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://cool.haxx.se/pipermail/curl-library/attachments/20210402/b9e07513/attachment-0001.html>
gsasl_version_patch.patch
Description: Binary data
------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html