1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 17:39:03 +00:00

Replace svn_auth.c with function from subversion-1.5.x.

This is for compatibility with the OS X 10.5 SDK.
This commit is contained in:
david
2012-01-02 05:13:19 +00:00
parent a09fe59558
commit 9729059ccb
2 changed files with 91 additions and 137 deletions

View File

@@ -880,13 +880,12 @@ static svn_error_t *checkout_svn(const char *url, const char *path)
APR_HASH_KEY_STRING);
svn_config_set_bool(cfg, SVN_CONFIG_SECTION_GLOBAL,
SVN_CONFIG_OPTION_SSL_TRUST_DEFAULT_CA, TRUE);
nmap_update_svn_cmdline_create_auth_baton(&ctx->auth_baton,
nmap_update_svn_cmdline_setup_auth_baton(&ctx->auth_baton,
FALSE, /* non_interactive */
options.username, /* username */
options.password, /* password */
NULL, /* config_dir */
FALSE, /* no_auth_cache */
FALSE,
cfg, /* cfg */
NULL, /* cancel_func */
NULL, /* cancel_baton */