mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-27 15:43:42 +08:00
Update tests
This commit is contained in:
@@ -128,11 +128,12 @@ bad:
|
||||
fprintf(stderr, "%s: read failure\n", prog);
|
||||
goto end;
|
||||
}
|
||||
if ((ret = sm9_verify_finish(&ctx, sig, siglen, &mpk, id, strlen(id))) != 1) {
|
||||
if (sm9_verify_finish(&ctx, sig, siglen, &mpk, id, strlen(id)) != 1) {
|
||||
error_print();
|
||||
goto end;
|
||||
}
|
||||
printf("%s %s\n", prog, ret ? "success" : "failure");
|
||||
printf("%s success\n", prog);
|
||||
ret = 0;
|
||||
|
||||
end:
|
||||
if (infile && infp) fclose(infp);
|
||||
@@ -147,4 +148,3 @@ end:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user