aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-01-01 13:56:18 -0500
committerJack Lloyd <[email protected]>2018-01-01 13:56:18 -0500
commit74e7e28a0ed59dd1602656a4049e898fab24eaaf (patch)
treef57d9d827a8e47dbd054a52f4ac5f9b9b81748f6 /src/lib
parent934f282ca5b19cbe1da963de2709aaa46f195656 (diff)
Fix build on old Clang
Clang 3.5 on mac didn't like this.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/x509/x509_ca.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/x509/x509_ca.cpp b/src/lib/x509/x509_ca.cpp
index cba3b9816..1560140c7 100644
--- a/src/lib/x509/x509_ca.cpp
+++ b/src/lib/x509/x509_ca.cpp
@@ -277,7 +277,8 @@ PK_Signer* choose_sig_format(const Private_Key& key,
const std::string& hash_fn,
AlgorithmIdentifier& sig_algo)
{
- return choose_sig_format(key, {}, rng, hash_fn, sig_algo);
+ return choose_sig_format(key, std::map<std::string,std::string>(),
+ rng, hash_fn, sig_algo);
}
/*