aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-04-11 18:26:31 -0400
committerJack Lloyd <[email protected]>2018-04-11 18:26:31 -0400
commit9bbc6340fc4da8761faa9613e828571f1b29c059 (patch)
tree470cfbf2cf5c61b84bce1297f7ec0ae6bda90803 /src/cli
parent87c697920206ac7ab0f757d3ec0c5550defd2517 (diff)
Fix indentation [ci skip]
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/pubkey.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cli/pubkey.cpp b/src/cli/pubkey.cpp
index 3af91b722..60119ca13 100644
--- a/src/cli/pubkey.cpp
+++ b/src/cli/pubkey.cpp
@@ -259,14 +259,14 @@ class PKCS8_Tool final : public Command
std::unique_ptr<Botan::Private_Key> key;
std::string pass_in = get_arg("pass-in");
- if (pass_in.empty())
- {
+ if(pass_in.empty())
+ {
key.reset(Botan::PKCS8::load_key(get_arg("key"), rng()));
- }
+ }
else
- {
+ {
key.reset(Botan::PKCS8::load_key(get_arg("key"), rng(), pass_in));
- }
+ }
const std::chrono::milliseconds pbe_millis(get_arg_sz("pbe-millis"));
const std::string pbe = get_arg("pbe");