Skip to content

Commit

Permalink
(To be fixed) Update tests to run.
Browse files Browse the repository at this point in the history
  • Loading branch information
ni4 committed Dec 27, 2023
1 parent a455d14 commit b03d927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/ffi-key-sig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1734,14 +1734,14 @@ TEST_F(rnp_tests, test_ffi_add_revoker_signature)
assert_rnp_success(rnp_locate_key(ffi, "userid", "ecc-p384", &revoker));
assert_rnp_success(rnp_key_signature_create(subkey, "direct", &newsig));
assert_rnp_success(rnp_key_signature_set_revoker(newsig, revoker, 0));
assert_rnp_failure(rnp_key_signature_sign(newsig));
assert_rnp_success(rnp_key_signature_sign(newsig));
rnp_signature_handle_destroy(newsig);
rnp_key_handle_destroy(revoker);
/* Attempt to add designated revoker using the subkey */
assert_rnp_success(rnp_locate_key(ffi, "userid", "ecc-25519", &key));
assert_rnp_success(rnp_key_signature_create(key, "direct", &newsig));
assert_rnp_success(rnp_key_signature_set_revoker(newsig, subkey, 0));
assert_rnp_failure(rnp_key_signature_sign(newsig));
assert_rnp_success(rnp_key_signature_sign(newsig));
rnp_signature_handle_destroy(newsig);
rnp_key_handle_destroy(key);
rnp_key_handle_destroy(subkey);
Expand Down

0 comments on commit b03d927

Please sign in to comment.