diff options
author | clang-format-7.0.1 <adam.martin@10gen.com> | 2019-07-26 18:20:35 -0400 |
---|---|---|
committer | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-07-27 11:02:23 -0400 |
commit | 134a4083953270e8a11430395357fb70a29047ad (patch) | |
tree | dd428e1230e31d92b20b393dfdc17ffe7fa79cb6 /src/mongo/crypto/symmetric_crypto_openssl.cpp | |
parent | 1e46b5049003f427047e723ea5fab15b5a9253ca (diff) | |
download | mongo-134a4083953270e8a11430395357fb70a29047ad.tar.gz |
SERVER-41772 Apply clang-format 7.0.1 to the codebase
Diffstat (limited to 'src/mongo/crypto/symmetric_crypto_openssl.cpp')
-rw-r--r-- | src/mongo/crypto/symmetric_crypto_openssl.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mongo/crypto/symmetric_crypto_openssl.cpp b/src/mongo/crypto/symmetric_crypto_openssl.cpp index 6329331a511..4e661b98bbd 100644 --- a/src/mongo/crypto/symmetric_crypto_openssl.cpp +++ b/src/mongo/crypto/symmetric_crypto_openssl.cpp @@ -63,8 +63,8 @@ void initCipherContext( } } uassert(ErrorCodes::BadValue, - str::stream() << "Unrecognized AES key size/cipher mode. Size: " << keySize << " Mode: " - << getStringFromCipherMode(mode), + str::stream() << "Unrecognized AES key size/cipher mode. Size: " << keySize + << " Mode: " << getStringFromCipherMode(mode), cipher); const bool initOk = (1 == init(ctx, cipher, nullptr, key.getKey(), iv)); @@ -188,8 +188,9 @@ public: // validateEncryptionOption asserts that platforms without GCM will never start in GCM mode if (_mode == aesMode::gcm) { #ifdef EVP_CTRL_GCM_GET_TAG - if (1 != EVP_CIPHER_CTX_ctrl( - _ctx.get(), EVP_CTRL_GCM_SET_TAG, tagLen, const_cast<uint8_t*>(tag))) { + if (1 != + EVP_CIPHER_CTX_ctrl( + _ctx.get(), EVP_CTRL_GCM_SET_TAG, tagLen, const_cast<uint8_t*>(tag))) { return Status(ErrorCodes::UnknownError, str::stream() << "Unable to set GCM tag: " |