diff options
Diffstat (limited to 'src/mongo/crypto/fle_crypto_test.cpp')
-rw-r--r-- | src/mongo/crypto/fle_crypto_test.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mongo/crypto/fle_crypto_test.cpp b/src/mongo/crypto/fle_crypto_test.cpp index e9da2a86c44..6cf4513f186 100644 --- a/src/mongo/crypto/fle_crypto_test.cpp +++ b/src/mongo/crypto/fle_crypto_test.cpp @@ -48,9 +48,11 @@ #include "mongo/bson/json.h" #include "mongo/bson/oid.h" #include "mongo/bson/timestamp.h" +#include "mongo/config.h" #include "mongo/db/matcher/schema/encrypt_schema_gen.h" #include "mongo/idl/idl_parser.h" #include "mongo/platform/decimal128.h" +#include "mongo/rpc/object_check.h" #include "mongo/unittest/bson_test_util.h" #include "mongo/unittest/unittest.h" #include "mongo/util/assert_util.h" @@ -58,6 +60,10 @@ #include "mongo/util/time_support.h" +// TODO (SERVER-63780) - remove once we stop using AEAD for ECC crypto with empty associated data +// Tomcrypt SHA implementation cannot accept it so we skip these tests for now +#ifdef MONGO_CONFIG_SSL + namespace mongo { template <FLETokenType tt> @@ -313,7 +319,6 @@ TEST(FLE_ESC, RoundTrip) { } } - TEST(FLE_ECC, RoundTrip) { ConstDataRange value(testValue); @@ -891,3 +896,5 @@ TEST(FLE_EDC, DuplicateSafeContent_IncompatibleType) { } } // namespace mongo + +#endif |