mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +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:
parent
f4634db423
commit
c37d7d6d28
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue