curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Please help me with CURLE_NOT_BUILT_IN error

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 15 Dec 2016 16:18:02 +0100 (CET)

On Thu, 15 Dec 2016, Pham Hoang Hiep wrote:

> I'm using CURL library for my iOS app. I built a static CURL library with
> support SSL enabled (using --with-ssl=/point/to/ssl/directory/)

I presume that identifies an OpenSSL installation prefix? Does the output
summary at the end of the configure run also say that it detected OpenSSL ?

> rv = curl_easy_setopt(ch, CURLOPT_SSL_CTX_FUNCTION, *sslctx_function);
>
> returned value is CURLE_NOT_BUILT_IN. It did not works & sslctx_function
> never be called.

That implies the build wasn't made for an OpenSSL backend. What does
curl_version_info() say about TLS backend?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-12-15