Skip to content

Commit

Permalink
Update EncryptionContainer.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
kr-santosh committed Jul 27, 2021
1 parent 4513227 commit 86efa13
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Microsoft.Azure.Cosmos.Encryption/src/EncryptionContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,6 @@ public override ChangeFeedProcessorBuilder GetChangeFeedProcessorBuilder(
obsoleteEncryptionSettings: null,
cancellationToken: cancellationToken);
// Fixme: Decryption can fail if the encryption policy has changed, this can happen if the container has been recreated with same id and different policy.
Stream decryptedChanges = await this.DeserializeAndDecryptResponseAsync(
changes,
encryptionSettings,
Expand All @@ -842,7 +841,6 @@ public override ChangeFeedProcessorBuilder GetChangeFeedProcessorBuilderWithManu
obsoleteEncryptionSettings: null,
cancellationToken: cancellationToken);
// Fixme: Decryption can fail if the encryption policy has changed, this can happen if the container has been recreated with same id and different policy.
Stream decryptedChanges = await this.DeserializeAndDecryptResponseAsync(
changes,
encryptionSettings,
Expand Down

0 comments on commit 86efa13

Please sign in to comment.