1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-08 13:41:29 +00:00

Further changes to compile on GNU/Linux again.

This commit is contained in:
david
2012-01-02 03:23:26 +00:00
parent 0aee7fc4a2
commit cfd095bccb

View File

@@ -13,8 +13,8 @@
is only to avoid having to also copy in ssl_trust_unknown_server_cert.) is only to avoid having to also copy in ssl_trust_unknown_server_cert.)
* Disabled username guessing in prompt_for_simple_creds. * Disabled username guessing in prompt_for_simple_creds.
* Made svn_auth_get_simple_prompt_provider have static scope. * Made svn_auth_get_simple_prompt_provider have static scope.
* Renamed svn_cmdline_create_auth_baton to * Put an "nmap_update_" prefix on svn_auth_get_simple_prompt_provider and
nmap_update_svn_cmdline_create_auth_baton. */ svn_cmdline_create_auth_baton. */
/* /*
* ==================================================================== * ====================================================================
@@ -237,7 +237,7 @@ static const svn_auth_provider_t simple_prompt_provider = {
/* Public API */ /* Public API */
static void static void
svn_auth_get_simple_prompt_provider nmap_update_svn_auth_get_simple_prompt_provider
(svn_auth_provider_object_t **provider, (svn_auth_provider_object_t **provider,
svn_auth_simple_prompt_func_t prompt_func, svn_auth_simple_prompt_func_t prompt_func,
void *prompt_baton, void *prompt_baton,
@@ -340,7 +340,7 @@ nmap_update_svn_cmdline_create_auth_baton(svn_auth_baton_t **ab,
if (non_interactive == FALSE) if (non_interactive == FALSE)
{ {
/* Two basic prompt providers: username/password, and just username. */ /* Two basic prompt providers: username/password, and just username. */
svn_auth_get_simple_prompt_provider(&provider, nmap_update_svn_auth_get_simple_prompt_provider(&provider,
svn_cmdline_auth_simple_prompt, svn_cmdline_auth_simple_prompt,
pb, pb,
2, /* retry limit */ 2, /* retry limit */