Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/guanzhi/GmSSL
Browse files Browse the repository at this point in the history
  • Loading branch information
guanzhi committed Feb 26, 2024
2 parents 4fa09e1 + d852e63 commit cfdcd0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/sm3test.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ static int test_sm3(void)
int n;
fprintf(stderr, "sm3 test %zu failed\n", i+1);
fprintf(stderr, "error calculating SM3 on %s\n", testhex[i]);
fprintf(stderr, " digest(corret) = ");
fprintf(stderr, " digest(error) = ");
for (n = 0; n < sizeof(dgst); n++) {
fprintf(stderr, "%02X", dgst[n]);
}
fprintf(stderr, "\n");
fprintf(stderr, " digest(error) = %s\n", dgsthex[i]);
fprintf(stderr, " digest(correct) = %s\n", dgsthex[i]);
return -1;
}
}
Expand Down

0 comments on commit cfdcd0c

Please sign in to comment.