Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Jun 20, 2024
1 parent 42a85d5 commit 4e8e0ef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/aes256_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1630,9 +1630,7 @@ static int s_aes_test_empty_input_gcm_tag(struct aws_allocator *allocator, void
aws_symmetric_cipher_reset(cipher);
aws_byte_buf_reset(&decrypted_buf, true);
ciphertext_cur = aws_byte_cursor_from_buf(&encrypt_buf);
ASSERT_SUCCESS(aws_symmetric_cipher_decrypt(cipher, ciphertext_cur, &decrypted_buf));
ASSERT_ERROR(AWS_ERROR_INVALID_ARGUMENT,
aws_symmetric_cipher_finalize_decryption(cipher, &decrypted_buf));
ASSERT_ERROR(AWS_ERROR_INVALID_ARGUMENT, aws_symmetric_cipher_decrypt(cipher, ciphertext_cur, &decrypted_buf));

aws_byte_buf_clean_up(&encrypt_buf);
aws_byte_buf_clean_up(&decrypted_buf);
Expand Down

0 comments on commit 4e8e0ef

Please sign in to comment.