mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 09:49:05 +00:00
Changes to svn_auth.c to compile on Windows.
This commit is contained in:
@@ -37,6 +37,20 @@
|
||||
#include <svn_types.h>
|
||||
#endif
|
||||
|
||||
/* From svn_auth.c. */
|
||||
svn_error_t *
|
||||
nmap_update_svn_cmdline_create_auth_baton(svn_auth_baton_t **ab,
|
||||
svn_boolean_t non_interactive,
|
||||
const char *auth_username,
|
||||
const char *auth_password,
|
||||
const char *config_dir,
|
||||
svn_boolean_t no_auth_cache,
|
||||
svn_boolean_t trust_server_cert,
|
||||
svn_config_t *cfg,
|
||||
svn_cancel_func_t cancel_func,
|
||||
void *cancel_baton,
|
||||
apr_pool_t *pool);
|
||||
|
||||
#include "default_channel.h"
|
||||
|
||||
#ifdef WIN32
|
||||
@@ -866,7 +880,7 @@ 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,
|
||||
nmap_update_svn_cmdline_create_auth_baton(&ctx->auth_baton,
|
||||
FALSE, /* non_interactive */
|
||||
options.username, /* username */
|
||||
options.password, /* password */
|
||||
|
||||
Reference in New Issue
Block a user