aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/auth.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx
index 0eef623..6ef9751 100644
--- a/bpkg/auth.cxx
+++ b/bpkg/auth.cxx
@@ -97,7 +97,7 @@ namespace bpkg
(!co.trust_yes () &&
!yn_prompt (
string ("continue without authenticating repositories at " +
- cert->name + "? [y/N]").c_str (), 'n')))
+ cert->name + "? [y/n]").c_str ())))
throw failed ();
return cert;
@@ -507,7 +507,7 @@ namespace bpkg
text << cert_fp;
}
- if (co.trust_no () || !yn_prompt ("trust this certificate? [y/N]", 'n'))
+ if (co.trust_no () || !yn_prompt ("trust this certificate? [y/n]"))
throw failed ();
return cert;