MCPcopy Index your code
hub / github.com/git/git / has_proxy_cert_password

Function has_proxy_cert_password

http.c:750–762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

748}
749
750static int has_proxy_cert_password(void)
751{
752 if (http_proxy_ssl_cert == NULL || proxy_ssl_cert_password_required != 1)
753 return 0;
754 if (!proxy_cert_auth.password) {
755 proxy_cert_auth.protocol = xstrdup("cert");
756 proxy_cert_auth.host = xstrdup("");
757 proxy_cert_auth.username = xstrdup("");
758 proxy_cert_auth.path = xstrdup(http_proxy_ssl_cert);
759 credential_fill(the_repository, &proxy_cert_auth, 0);
760 }
761 return 1;
762}
763
764static const struct socks_proxy_type {
765 const char *name;

Callers 1

set_curl_proxy_typeFunction · 0.85

Calls 2

xstrdupFunction · 0.85
credential_fillFunction · 0.85

Tested by

no test coverage detected