diff options
Diffstat (limited to 'src/lib/pubkey/pubkey.cpp')
-rw-r--r-- | src/lib/pubkey/pubkey.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/pubkey.cpp b/src/lib/pubkey/pubkey.cpp index 3d09e44d5..37408272a 100644 --- a/src/lib/pubkey/pubkey.cpp +++ b/src/lib/pubkey/pubkey.cpp @@ -22,7 +22,7 @@ T* get_pk_op(const std::string& what, const Key& key, const std::string& pad, return p; const std::string err = what + " with " + key.algo_name() + "/" + pad + " not supported"; - if(provider != "") + if(!provider.empty()) throw Lookup_Error(err + " with provider " + provider); else throw Lookup_Error(err); |