Skip to content

Commit

Permalink
make clang-format 3.9 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
franziskuskiefer committed Apr 26, 2017
1 parent d2634ca commit 7f704fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nss-tool/enc/enctool.cc
Expand Up @@ -273,11 +273,11 @@ bool EncTool::DoCipher(std::string file_name, std::string out_file,
std::vector<uint8_t> out(data.size() + 16);
SECStatus rv;
if (encrypt) {
rv = PK11_Encrypt(symKey.get(), cipher_mech_, params.get(), out.data(), &outLen,
data.size() + 16, data.data(), data.size());
rv = PK11_Encrypt(symKey.get(), cipher_mech_, params.get(), out.data(),
&outLen, data.size() + 16, data.data(), data.size());
} else {
rv = PK11_Decrypt(symKey.get(), cipher_mech_, params.get(), out.data(), &outLen,
data.size() + 16, data.data(), data.size());
rv = PK11_Decrypt(symKey.get(), cipher_mech_, params.get(), out.data(),
&outLen, data.size() + 16, data.data(), data.size());
}
if (rv != SECSuccess) {
PrintError(encrypt ? "Error encrypting" : "Error decrypting",
Expand Down

0 comments on commit 7f704fe

Please sign in to comment.