CURLOPT_SSLENGINE_DEFAULT (3) Linux Manual Page
CURLOPT_SSLENGINE_DEFAULT – make SSL engine default
Synopsis
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSLENGINE_DEFAULT, long val);
Description
Pass a long set to 1 as parameter. Sets the actual crypto engine as the default for (asymmetric) crypto operations.
If the crypto device cannot be set, CURLE_SSL_ENGINE_SETFAILED is returned.
Default
None
Protocols
All TLS based protocols: HTTPS, FTPS, IMAPS, POP3, SMTPS etc.
Example
TODO
Availability
If built TLS enabled.
Return Value
Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or CURLE_OUT_OF_MEMORY if there was insufficient heap space.
See Also
CURLOPT_SSLENGINE(3), CURLOPT_SSLCERT(3),
