Hi All,


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



curl_Ret = curl_easy_setopt(curlHandle, CURLOPT_SSLENGINE,
"engine_keyservice");
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
CURLE_SSL_ENGINE_INITFAILED
<https://curl.haxx.se/libcurl/c/libcurl-errors.html#CURLESSLENGINEINITFAILED> -
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!



Regards

Praveen
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to