This commit is contained in:
Zhi Guan
2026-06-17 17:03:49 +08:00
parent cad645da20
commit a3dc07db74
26 changed files with 107 additions and 4 deletions

View File

@@ -124,6 +124,10 @@ bad:
goto end;
}
}
if (ferror(infp)) {
fprintf(stderr, "%s: read failure\n", prog);
goto end;
}
if ((ret = sm9_verify_finish(&ctx, sig, siglen, &mpk, id, strlen(id))) != 1) {
error_print();
goto end;