From 8b8e7312ead49639b59f3fc7e8cbf4d8f2ef1d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20Ku=C5=9Bnierz?= Date: Wed, 6 Mar 2019 09:41:37 +0100 Subject: [PATCH] Fix code style --- src/framework/util/crypt.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/framework/util/crypt.cpp b/src/framework/util/crypt.cpp index f3aa3629..230165ff 100644 --- a/src/framework/util/crypt.cpp +++ b/src/framework/util/crypt.cpp @@ -349,13 +349,11 @@ void Crypt::rsaSetPrivateKey(const std::string& p, const std::string& q, const s BN_dec2bn(&m_rsa->q, q.c_str()); BN_dec2bn(&m_rsa->d, d.c_str()); // clear rsa cache - if (m_rsa->_method_mod_p) - { + if(m_rsa->_method_mod_p) { BN_MONT_CTX_free(m_rsa->_method_mod_p); m_rsa->_method_mod_p = nullptr; } - if (m_rsa->_method_mod_q) - { + if(m_rsa->_method_mod_q) { BN_MONT_CTX_free(m_rsa->_method_mod_q); m_rsa->_method_mod_q = nullptr; }