diff --git a/src/tests/data/test_crypto_refresh/v6_skesk_eax b/src/tests/data/test_crypto_refresh/v6_skesk_eax deleted file mode 100644 index 51e43e802e..0000000000 --- a/src/tests/data/test_crypto_refresh/v6_skesk_eax +++ /dev/null @@ -1,8 +0,0 @@ ------BEGIN PGP MESSAGE----- - -wV0GIQYSyD8ecG9jCP4VGkF3Q6HwM3kOk+mXhIjR2zeNqZMIhRmHzxjV8bU/gXzO -WgBM85PMiVi93AZfJfhK9QmxfdNnZBjeo1VDeVZheQHgaVf7yopqR6W1FT6NOrfS -aQIHAgZhZBZTW+CwcW1g4FKlbExAf56zaw76/prQoN+bAzxpohup69LA7JW/Vp0l -yZnuSj3hcFj0DfqLTGgr4/u717J+sPWbtQBfgMfG9AOIwwrUBqsFE9zW+f1zdlYo -bhF30A+IitsxxA== ------END PGP MESSAGE----- diff --git a/src/tests/data/test_crypto_refresh/v6_skesk_eax.asc.pgp b/src/tests/data/test_crypto_refresh/v6_skesk_eax.asc.pgp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/tests/ffi-enc.cpp b/src/tests/ffi-enc.cpp index a35fcac252..623579a654 100644 --- a/src/tests/ffi-enc.cpp +++ b/src/tests/ffi-enc.cpp @@ -750,7 +750,6 @@ TEST_F(rnp_tests, test_ffi_decrypt_v6_skesk_test_vectors) assert_rnp_success( rnp_input_from_path(&input, "data/test_crypto_refresh/v6_skesk_eax.asc")); - assert_rnp_success(rnp_output_to_null(&output)); assert_rnp_success(rnp_output_to_path(&output, "decrypted")); assert_rnp_success(rnp_op_verify_create(&verify, ffi, input, output)); assert_rnp_success(rnp_op_verify_execute(verify)); @@ -758,6 +757,7 @@ TEST_F(rnp_tests, test_ffi_decrypt_v6_skesk_test_vectors) assert_int_equal(unlink("decrypted"), 0); rnp_input_destroy(input); rnp_output_destroy(output); + rnp_op_verify_destroy(verify); assert_rnp_success( rnp_input_from_path(&input, "data/test_crypto_refresh/v6_skesk_ocb.asc")); @@ -768,6 +768,7 @@ TEST_F(rnp_tests, test_ffi_decrypt_v6_skesk_test_vectors) assert_int_equal(unlink("decrypted"), 0); rnp_input_destroy(input); rnp_output_destroy(output); + rnp_op_verify_destroy(verify); rnp_ffi_destroy(ffi); } @@ -800,6 +801,7 @@ TEST_F(rnp_tests, test_ffi_v6_skesk_enc_dec) assert_rnp_success(rnp_op_encrypt_execute(enc)); rnp_input_destroy(input); rnp_output_destroy(output); + rnp_op_encrypt_destroy(enc); assert_rnp_success(rnp_ffi_set_pass_provider( ffi, ffi_string_password_provider, (void *) "password")); @@ -811,6 +813,7 @@ TEST_F(rnp_tests, test_ffi_v6_skesk_enc_dec) assert_string_equal(file_to_str("decrypted").c_str(), plaintext); rnp_input_destroy(input); rnp_output_destroy(output); + rnp_op_verify_destroy(verify); assert_int_equal(unlink("decrypted"), 0); assert_int_equal(unlink("encrypted"), 0);