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

Function has_cert_password

http.c:736–748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

734}
735
736static int has_cert_password(void)
737{
738 if (ssl_cert == NULL || ssl_cert_password_required != 1)
739 return 0;
740 if (!cert_auth.password) {
741 cert_auth.protocol = xstrdup("cert");
742 cert_auth.host = xstrdup("");
743 cert_auth.username = xstrdup("");
744 cert_auth.path = xstrdup(ssl_cert);
745 credential_fill(the_repository, &cert_auth, 0);
746 }
747 return 1;
748}
749
750static int has_proxy_cert_password(void)
751{

Callers 1

get_curl_handleFunction · 0.85

Calls 2

xstrdupFunction · 0.85
credential_fillFunction · 0.85

Tested by

no test coverage detected