From 9bbc6340fc4da8761faa9613e828571f1b29c059 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Wed, 11 Apr 2018 18:26:31 -0400 Subject: Fix indentation [ci skip] --- src/cli/pubkey.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/cli') 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 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"); -- cgit v1.2.3