aboutsummaryrefslogtreecommitdiff
path: root/bpkg/auth.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-09-04 12:38:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-09-04 20:35:03 +0300
commitad8d50be4016e68a4ab8d765bd9b45a9fdae1a6d (patch)
tree2fd90cf0434b2c81f69067352aa2c6fcf5af04ec /bpkg/auth.hxx
parent7bb44980ced46506c10bad333f526b7bc62ea1db (diff)
Simplify authenticate_*() and rep_fetch() functions semantics
Diffstat (limited to 'bpkg/auth.hxx')
-rw-r--r--bpkg/auth.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/bpkg/auth.hxx b/bpkg/auth.hxx
index c95d1c8..4cd2e56 100644
--- a/bpkg/auth.hxx
+++ b/bpkg/auth.hxx
@@ -15,11 +15,8 @@
namespace bpkg
{
// Authenticate a repository certificate. If the configuration directory is
- // NULL, then perform without a certificate database. If it is empty, then
- // check if the current working directory is a configuration. If it is, then
- // use its certificate database. Otherwise, continue as if it was NULL. All
- // other values (including '.') are assumed to be valid configuration paths
- // and will be diagnosed if that's not the case.
+ // NULL, then perform without a certificate database. Otherwise, use its
+ // certificate database.
//
// If the dependent trust fingerprint is present then try to authenticate
// the certificate for use by the dependent prior to prompting the user.