mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-15 12:56:28 +08:00
bug fix
This commit is contained in:
BIN
test/a.out
Executable file
BIN
test/a.out
Executable file
Binary file not shown.
@@ -340,9 +340,10 @@ static int test_sm2_sign(const EC_GROUP *group,
|
||||
}
|
||||
|
||||
if (verbose > 1) {
|
||||
int j;
|
||||
printf("id=%s\n", id);
|
||||
printf("zid(xx):");
|
||||
for (int j = 0; j < dgstlen; j++) { printf("%02x", dgst[j]); } printf("\n");
|
||||
for (j = 0; j < dgstlen; j++) { printf("%02x", dgst[j]); } printf("\n");
|
||||
}
|
||||
|
||||
if (!hexequbin(Z, dgst, dgstlen)) {
|
||||
|
||||
Reference in New Issue
Block a user