mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-06 11:53:39 +08:00
Solve the problem of 972 issue (#974)
This commit is contained in:
@@ -416,13 +416,13 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
RAND_seed(rnd_seed, sizeof(rnd_seed));
|
RAND_seed(rnd_seed, sizeof(rnd_seed));
|
||||||
|
|
||||||
/*
|
#if SM9_TEST
|
||||||
if (!rate_test()) {
|
if (!rate_test()) {
|
||||||
printf("sm9 rate pairing test failed\n");
|
printf("sm9 rate pairing test failed\n");
|
||||||
err++;
|
err++;
|
||||||
} else
|
} else
|
||||||
printf("sm9 rate pairing test passed\n");
|
printf("sm9 rate pairing test passed\n");
|
||||||
*/
|
#endif
|
||||||
|
|
||||||
if (!sm9test_sign(id, in, sizeof(in)-1, use_test_vector)) {
|
if (!sm9test_sign(id, in, sizeof(in)-1, use_test_vector)) {
|
||||||
printf("sm9 sign tests failed\n");
|
printf("sm9 sign tests failed\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user