curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: 5a3efb1db breaks winssl crosscompile for me [WAS: schannel: unified error code handling; Closes #2901]

From: Thomas Glanzmann via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 6 Sep 2018 21:44:05 +0200

Hello Han,

> That sounds like a reasonable workaround to me. But before patching it,
> have you tried updating mingw32?

However the version included in Debian stable is quiet recent 5.0.1. I
just downloaded the most recent source version, extracted and greped the
source after SEC_E_APPLICATION_PROTOCOL_MISMATCH, but found nothing. So
here is my patch based on what I found here[1] and Daniels comment. On
the other hand we could just throw it out because it ends up in the
default case anyway.

[1] https://github.com/jeroen/mongolite/blob/master/src/mongoc/mongoc-secure-channel.c

I tested the patch with my application and it works for me.

Cheers,
        Thomas

Received on 2018-09-06