Skip to content

Commit

Permalink
fix warnings [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 5, 2024
1 parent d8ffeea commit cfd2cd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/vectors_sig.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ int main(int argc, char **argv) {

if ((prng_output_stream_bytes == NULL) || (kg_pk_bytes == NULL) || (kg_sk_bytes == NULL)) {
fprintf(stderr, "[vectors_sig] ERROR: malloc failed!\n");
rc = EXIT_FAILURE;
goto err;
}

Expand Down Expand Up @@ -543,6 +542,7 @@ int main(int argc, char **argv) {
free(sigGen_sk_bytes);
free(sigGen_msg_bytes);
free(sigGen_sig_bytes);
OQS_SIG_free(sig);

if (rc != EXIT_SUCCESS) {
return EXIT_FAILURE;
Expand Down

0 comments on commit cfd2cd3

Please sign in to comment.