1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 08:11:32 +00:00

Use svn_cmdline_setup_auth_baton.

This is instead of svn_cmdline_create_auth_baton, for compatibility with
the MacOSX10.5 SDK.
This commit is contained in:
david
2011-12-20 02:40:47 +00:00
parent 9a615acd22
commit 8b8de75ce6

View File

@@ -808,13 +808,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);
svn_cmdline_create_auth_baton(&ctx->auth_baton,
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, /* trust_server_cert */
cfg, /* cfg */
NULL, /* cancel_func */
NULL, /* cancel_baton */