1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-25 08:59:01 +00:00

Call svn_config_ensure.

This is needed to allow caching of authentication credentials, which
Subversion can do in a more secure fashion than keeping them in
nmap-update.conf.
This commit is contained in:
david
2011-12-23 01:27:53 +00:00
parent f4634db423
commit c37d7d6d28

View File

@@ -803,6 +803,11 @@ static svn_error_t *checkout_svn(const char *url, const char *path)
if (err != NULL)
fatal_err_svn(err);
/* The creation of this directory is needed to cache credentials. */
err = svn_config_ensure(NULL, pool);
if (err != NULL)
fatal_err_svn(err);
err = svn_config_get_config(&ctx->config, NULL, pool);
if (err != NULL)
fatal_err_svn(err);