curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Requesting Version Info for GSASL

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 2 Apr 2021 13:40:37 -0400

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_at_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
Received on 2021-04-02