Update tools use v3 API

This commit is contained in:
Zhi Guan
2022-02-27 19:11:01 +08:00
parent 381bfb5b99
commit cadbb542e3
6 changed files with 18 additions and 14 deletions

View File

@@ -129,7 +129,7 @@ help:
}
}
if (sm2_keygen(&key) != 1) {
if (sm2_key_generate(&key) != 1) {
error_print();
return -1;
}