From d6858f2d1612027d79acf8ea231f7b4c5859efa1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 11 Oct 2018 17:42:38 +0200 Subject: Work around compiler issues in qualified_option class template --- bpkg/auth.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bpkg/auth.cxx') 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. // -- cgit v1.1