diff options
Diffstat (limited to 'src/mongo/crypto/fle_crypto_test.cpp')
-rw-r--r-- | src/mongo/crypto/fle_crypto_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/crypto/fle_crypto_test.cpp b/src/mongo/crypto/fle_crypto_test.cpp index 77ea2028945..486ff8f3346 100644 --- a/src/mongo/crypto/fle_crypto_test.cpp +++ b/src/mongo/crypto/fle_crypto_test.cpp @@ -1816,9 +1816,9 @@ TEST(FLE_EDC, ServerSide_Payloads_V2_InvalidArgs) { TEST(FLE_EDC, ServerSide_Payloads_V2_ParseInvalidInput) { ConstDataRange empty(0, 0); - PrfBlock token; - ServerDataEncryptionLevel1Token serverToken(token); - ServerDerivedFromDataToken serverDataDerivedToken(token); + auto serverToken = + FLELevel1TokenGenerator::generateServerDataEncryptionLevel1Token(getIndexKey()); + ServerDerivedFromDataToken serverDataDerivedToken(serverToken.data); constexpr size_t cipherTextSize = 32; constexpr size_t typeOffset = UUID::kNumBytes; |