aboutsummaryrefslogtreecommitdiff
path: root/bpkg/auth.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-10-11 17:42:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-10-11 17:42:38 +0200
commitd6858f2d1612027d79acf8ea231f7b4c5859efa1 (patch)
tree77920c35f45749b3fe8d0999482400ebf80f8f5a /bpkg/auth.cxx
parent61349dcf5fbfeab888ea345ebec3d887777a2782 (diff)
Work around compiler issues in qualified_option class template
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.
//