Skip to content

curl_version() truncates "Schannel" #5222

@gvanem

Description

@gvanem

I did this:

set CURL_SSL_BACKEND=openssl
curl -V
curl 7.70.0-DEV (i386-pc-win32) libcurl/7.70.0-DEV (GnuTLS/3.6.12) OpenSSL/3.0.0 (Schannel zlib/1.2.8
...

Drops the ) after Schannel. And a:

set CURL_SSL_BACKEND=schannel
curl -V
curl 7.70.0-DEV (i386-pc-win32) libcurl/7.70.0-DEV (GnuTLS/3.6.12) (OpenSSL/3.0.0) Schanne zlib/1.2.8

Drops the l in Schannel.

Looks like a problem in the for-loop of Curl_multissl_version().

I built with -DCURL_WITH_MULTI_SSL on Win-10 / MSVC-2019.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions