aboutsummaryrefslogtreecommitdiff
path: root/bpkg/auth.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/auth.cxx')
-rw-r--r--bpkg/auth.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx
index 48ba56f..787a705 100644
--- a/bpkg/auth.cxx
+++ b/bpkg/auth.cxx
@@ -29,9 +29,9 @@ namespace bpkg
static const string openssl_rsautl ("rsautl");
static const string openssl_x509 ("x509");
- const char* openssl_commands[] = {openssl_rsautl.c_str (),
- openssl_x509.c_str (),
- nullptr};
+ const char* openssl_commands[3] = {openssl_rsautl.c_str (),
+ openssl_x509.c_str (),
+ nullptr};
// Print process command line.
//