cURL / Mailing Lists / curl-library / Single Mail


Re: Inconsistent behaviour: CURLOPT_CAINFO vs CURLFORM_FILE?

From: Daniel Stenberg <>
Date: Mon, 6 Apr 2015 18:18:54 +0200 (CEST)

On Tue, 24 Mar 2015, Mikhail Merkuryev wrote:

> Both request the name of a disk file. CURLOPT_CAINFO wants it in UTF-8,
> CURLFORM_FILE — in a single-byte encoding.
> libcurl for Windows, both x86 and x64.

It probably even depends on the particular TLS backend you built curl to use
as that's the one that uses the CAINFO path... :-/

Do you have a suggestion on how to make the situation better without hurting
existing users?


List admin:
Received on 2015-04-06