mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-06 16:36:16 +08:00
update
This commit is contained in:
@@ -151,7 +151,7 @@ int main(int argc , char *argv[])
|
||||
error_print();
|
||||
return -1;
|
||||
}
|
||||
if (sm2_private_key_from_pem(&sign_key, keyfp) != 1) {
|
||||
if (sm2_private_key_info_decrypt_from_pem(&sign_key, "password", keyfp) != 1) {
|
||||
error_print();
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user