Skip to content

Commit

Permalink
Fixes [full tests]
Browse files Browse the repository at this point in the history
Signed-off-by: Basil Hess <[email protected]>
  • Loading branch information
bhess committed Nov 12, 2024
1 parent 9ae01e1 commit 5bb0bbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/fuzz_test_sig.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ static OQS_STATUS fuzz_sig(const uint8_t *data, size_t data_len) {
return OQS_ERROR;
}
rc = OQS_SIG_sign(sig, signature, &signature_len, ctx.data, ctx.data_len,
secret_key);
NULL, 0, secret_key);
if (rc != OQS_SUCCESS) {
fprintf(stderr, "ERROR: OQS_SIG_sign failed!\n");
cleanup_heap(public_key, secret_key, signature, sig);
return OQS_ERROR;
}
rc = OQS_SIG_verify(sig, ctx.data, ctx.data_len, signature, signature_len,
public_key);
NULL, 0, public_key);
if (rc != OQS_SUCCESS) {
fprintf(stderr, "ERROR: OQS_SIG_verify failed!\n");
cleanup_heap(public_key, secret_key, signature, sig);
Expand Down

0 comments on commit 5bb0bbf

Please sign in to comment.