curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

curl_easy_setopt for CURLOPT_SSLENGINE returning error

From: Praveen Pvs via curl-users <>
Date: Wed, 7 Aug 2019 11:06:29 +0530

Hi All,

we are trying to set the SSL engine using the curl easy set options.

curl_Ret = curl_easy_setopt(curlHandle, CURLOPT_SSLENGINE,
if(curl_Ret != CURLE_OK)
LOGF_TRACE("can't set crypto engine with Error = %d",curl_Ret );

curl_Ret = curl_easy_setopt(curlHandle, CURLOPT_SSLENGINE_DEFAULT, 1L);
if(curl_Ret != CURLE_OK)
LOGF_TRACE("can't set crypto engine as default with Error = %d",curl_Ret );

But sometimes, the call is getting failed with return code
<> -
Engine found but initialization failed

What could be the reason to get this error? It is not always, but once this
error comes for all communications then on it will be coming. It would go
away once we reboot the device.

Can someone help me here!



Received on 2019-08-07