mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-19 19:33:38 +08:00
Fix bugs
This commit is contained in:
@@ -214,6 +214,10 @@ bad:
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
if (ferror(infp)) {
|
||||
fprintf(stderr, "%s: read failure\n", prog);
|
||||
goto end;
|
||||
}
|
||||
memset(buf, 0, sizeof(buf));
|
||||
}
|
||||
if (sm3_digest_finish(&sm3_ctx, dgst) != 1) {
|
||||
|
||||
Reference in New Issue
Block a user