Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit af414d2

Browse files
committedOct 21, 2024·
m
2 parents aa6eea9 + 61953f1 commit af414d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎examples/src/required_encryption_context_cmm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def encrypt_and_decrypt_with_keyring(
142142
try:
143143
plaintext_bytes_a, _ = client.decrypt(
144144
source=ciphertext,
145-
materials_manager=required_ec_cmm,
145+
materials_manager=underlying_cmm,
146146
# No reproduced encryption context for required EC CMM-produced message makes decryption fail.
147147
)
148148
raise Exception("If this exception is raised, decryption somehow succeeded!")

0 commit comments

Comments
 (0)
Please sign in to comment.