Home
last modified time | relevance | path

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

/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_client_exec.cpp544 auto certsPath = static_cast<CertsPath *>(parm); in SslCtxFunction() local
545 if (certsPath == nullptr) { in SslCtxFunction()
546 NETSTACK_LOGE("certsPath is null"); in SslCtxFunction()
554 for (const auto &path : certsPath->certPathList) { in SslCtxFunction()
564 if (access(certsPath->certFile.c_str(), F_OK) != 0) { in SslCtxFunction()
566 } else if (!SSL_CTX_load_verify_locations(static_cast<SSL_CTX *>(ssl_ctx), certsPath->certFile.c_str(), nullptr)) { in SslCtxFunction()
/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/
H A Dhttp_exec.cpp938 auto &certsPath = requestContext->GetCertsPath(); in AddCurlHandle() local
944 for (const auto &path : certsPath.certPathList) { in AddCurlHandle()
954 if (access(certsPath.certFile.c_str(), F_OK) != 0) { in AddCurlHandle()
956 } else if (!SSL_CTX_load_verify_locations(static_cast<SSL_CTX *>(ssl_ctx), certsPath.certFile.c_str(), nullptr)) { in AddCurlHandle()

Completed in 4 milliseconds