Skip to content

Commit 0fdaea5

Browse files
committed
fix: Remove reference to non-existent (in 1.x) commitment policy in new proof
1 parent 8eded58 commit 0fdaea5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

verification/cbmc/proofs/aws_cryptosdk_priv_algorithm_allowed_for_decrypt/aws_cryptosdk_priv_algorithm_allowed_for_decrypt_harness.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ void aws_cryptosdk_priv_algorithm_allowed_for_decrypt_harness() {
2727

2828
/* Function under test */
2929
int ret = aws_cryptosdk_priv_algorithm_allowed_for_decrypt(alg_id, policy);
30-
if (policy == COMMITMENT_POLICY_FORBID_ENCRYPT_ALLOW_DECRYPT ||
31-
policy == COMMITMENT_POLICY_REQUIRE_ENCRYPT_ALLOW_DECRYPT) {
30+
if (policy == COMMITMENT_POLICY_FORBID_ENCRYPT_ALLOW_DECRYPT) {
3231
assert(ret == true);
3332
}
3433

0 commit comments

Comments
 (0)