| 667 | } |
| 668 | |
| 669 | void http_reauth_prepare(int all_capabilities) |
| 670 | { |
| 671 | /* |
| 672 | * If we deferred stripping Negotiate to give empty auth a |
| 673 | * chance (auto mode), skip credential_fill on this retry so |
| 674 | * that init_curl_http_auth() sends empty credentials and |
| 675 | * libcurl can attempt Negotiate with the system ticket cache. |
| 676 | */ |
| 677 | if (empty_auth_try_negotiate && |
| 678 | !http_auth.password && !http_auth.credential && |
| 679 | (http_auth_methods & CURLAUTH_GSSNEGOTIATE)) |
| 680 | return; |
| 681 | |
| 682 | credential_fill(the_repository, &http_auth, all_capabilities); |
| 683 | } |
| 684 | |
| 685 | /* *var must be free-able */ |
| 686 | static void var_override(char **var, char *value) |
no test coverage detected