Home
last modified time | relevance | path

Searched refs:sslCtx (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/netstack/frameworks/native/http/http_client/
H A Dhttp_client_task.cpp148 CURLcode HttpClientTask::SslCtxFunction(CURL *curl, void *sslCtx) in SslCtxFunction() argument
151 if (sslCtx == nullptr) { in SslCtxFunction()
152 NETSTACK_LOGE("sslCtx is null"); in SslCtxFunction()
166 if (!SSL_CTX_load_verify_locations(static_cast<SSL_CTX *>(sslCtx), nullptr, path.c_str())) { in SslCtxFunction()
174 } else if (!SSL_CTX_load_verify_locations(static_cast<SSL_CTX *>(sslCtx), request_.GetCaPath().c_str(), nullptr)) { in SslCtxFunction()
185 curl_ssl_ctx_callback sslCtxFunc = [](CURL *curl, void *sslCtx, void *parm) -> CURLcode { in SetSSLCertOption()
191 return task->SslCtxFunction(curl, sslCtx); in SetSSLCertOption()
/foundation/communication/netstack/interfaces/innerkits/http_client/include/
H A Dhttp_client_task.h240 CURLcode SslCtxFunction(CURL *curl, void *sslCtx);

Completed in 3 milliseconds