cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl 7.18.0 - no CURLOPT_SSLVERIFY_PEER/HOST ?

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Fri, 28 Mar 2008 11:01:06 -0500

On Fri, Mar 28, 2008 at 10:51 AM, Stephen Collyer
<scollyer_at_netspinner.co.uk> wrote:
> Daniel Stenberg wrote:
> > On Fri, 28 Mar 2008, Stephen Collyer wrote:
> >
> >>> HTTP.cpp:199: error: ’’CURLOPT_SSLVERIFY_PEER’’ was not declared in
> >>> this scope
> >>> HTTP.cpp:200: error: ’’CURLOPT_SSLVERIFY_HOST’’ was not declared in
> >>> this scope
> >>
> >> 3. I've taken a look at curl/curl.h, and it has CINIT lines for both
> >> of these defines.
> >
> > Nope, they're spelled CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER...
>
> Very drole, but the bizarre chars in the error message are some kind
> of UTF-8 conversion artifact when I cut-n-pasted the compiler o/p
> into Thunderbird.
>
> CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER are indeed the options
> that are causing the problem.
>

Your error messages show an underscore *after* the word VERIFY instead
of *before*.

Ralph Mitchell
Received on 2008-03-28