refactor(Core/Common): restyle tools with astyle (#3706)

This commit is contained in:
Kargatum 2020-11-17 16:59:58 +07:00 committed by GitHub
parent 0bee5af962
commit 7f26c9ddad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 269 additions and 272 deletions

View file

@ -27,7 +27,7 @@ static void threadIdCallback(CRYPTO_THREADID* id)
void OpenSSLCrypto::threadsSetup()
{
cryptoLocks.resize(CRYPTO_num_locks());
for(int i = 0 ; i < CRYPTO_num_locks(); ++i)
for (int i = 0 ; i < CRYPTO_num_locks(); ++i)
{
cryptoLocks[i] = new std::mutex();
}
@ -40,7 +40,7 @@ void OpenSSLCrypto::threadsCleanup()
{
CRYPTO_set_locking_callback(nullptr);
CRYPTO_THREADID_set_callback(nullptr);
for(int i = 0 ; i < CRYPTO_num_locks(); ++i)
for (int i = 0 ; i < CRYPTO_num_locks(); ++i)
{
delete cryptoLocks[i];
}