We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File: sphincsplus-master\ref\PQCgenKAT_sign.c line 51
Code: // Create the REQUEST file sprintf(fn_req, "PQCsignKAT_%d.req", CRYPTO_SECRETKEYBYTES); if ( (fp_req = fopen(fn_req, "w")) == NULL ) { printf("Couldn't open <%s> for write\n", fn_req); return KAT_FILE_OPEN_ERROR; } sprintf(fn_rsp, "PQCsignKAT_%d.rsp", CRYPTO_SECRETKEYBYTES); if ( (fp_rsp = fopen(fn_rsp, "w")) == NULL ) { printf("Couldn't open <%s> for write\n", fn_rsp); // <-- missing fclose(fp_req) return KAT_FILE_OPEN_ERROR; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
File:
sphincsplus-master\ref\PQCgenKAT_sign.c line 51
Code:
// Create the REQUEST file
sprintf(fn_req, "PQCsignKAT_%d.req", CRYPTO_SECRETKEYBYTES);
if ( (fp_req = fopen(fn_req, "w")) == NULL ) {
printf("Couldn't open <%s> for write\n", fn_req);
return KAT_FILE_OPEN_ERROR;
}
sprintf(fn_rsp, "PQCsignKAT_%d.rsp", CRYPTO_SECRETKEYBYTES);
if ( (fp_rsp = fopen(fn_rsp, "w")) == NULL ) {
printf("Couldn't open <%s> for write\n", fn_rsp); // <-- missing fclose(fp_req)
return KAT_FILE_OPEN_ERROR;
}
The text was updated successfully, but these errors were encountered: