haxx.se
Cc: Tomalak Geret'kal
Subject: Re: Non-constness of field "data" in "struct curl_blob" with setopt
Why? The data isn't going to be modified. Just cast to `void*`. The `const` is
erased just like the `char` is in this particular use case.
I think we overall ag
; Subject: Re: Non-constness of field "data" in "struct curl_blob" with setopt
>
>> Why? The data isn't going to be modified. Just cast to `void*`. The `const`
>> is erased just like the `char` is in this particular use case.
> I think we overall agree about
-Original Message-
From: curl-library On Behalf Of Tomalak
Geret'kal via curl-library
Sent: Monday, February 22, 2021 5:16 PM
To: curl-library@cool.haxx.se
Cc: Tomalak Geret'kal
Subject: Re: Non-constness of field "data" in "struct curl_blob" with setopt
On 22/02/2021 15:21, Laurent Dufresne via curl-library wrote:
>
> Hi everyone,
>
>
>
> Version 7.71.0 of libcurl added few more options to enable
> user to easily use Mutual TLS.
>
> Two of them, namely CURLOPT_SSLCERT_BLOB and
> CURLOPT_SSLKEY_BLOB, take a “struct curl_blob” as
> parameter and t