diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/pubkey/pk_algs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/pk_algs.cpp b/src/lib/pubkey/pk_algs.cpp index e696b5e74..743918923 100644 --- a/src/lib/pubkey/pk_algs.cpp +++ b/src/lib/pubkey/pk_algs.cpp @@ -276,7 +276,7 @@ create_private_key(const std::string& alg_name, if(provider.empty() || provider == "openssl") { std::unique_ptr<Botan::Private_Key> pk; - if(pk = make_openssl_rsa_private_key(rng, rsa_bits)) + if((pk = make_openssl_rsa_private_key(rng, rsa_bits))) return pk; if(!provider.empty()) |