mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-18 06:16:30 +08:00
Fix MSVC warnings
This commit is contained in:
@@ -83,7 +83,7 @@ int main(void)
|
||||
sha384_finish(&ctx, dgst);
|
||||
|
||||
if (memcmp(dgstbuf, dgst, sizeof(dgst)) != 0) {
|
||||
printf("sha384 test %lu failed\n", i+1);
|
||||
printf("sha384 test %zu failed\n", i+1);
|
||||
printf("%s\n", tests[i].dgsthex);
|
||||
for (j = 0; j < sizeof(dgst); j++) {
|
||||
printf("%02x", dgst[j]);
|
||||
@@ -91,7 +91,7 @@ int main(void)
|
||||
printf("\n");
|
||||
err++;
|
||||
} else {
|
||||
printf("sha384 test %lu ok\n", i+1);
|
||||
printf("sha384 test %zu ok\n", i+1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user