mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-06 11:53:39 +08:00
Merge pull request #1431 from clearlove931/master
Update demo_sm2_private_key_parse.c
This commit is contained in:
@@ -34,8 +34,8 @@ int main(void)
|
|||||||
fprintf(stderr, "error\n");
|
fprintf(stderr, "error\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
fwrite(buf, 1, len, stdout);
|
sm2_key_print(stdout, 0, 0, "SM2PrivateKey", &sm2_key);
|
||||||
|
|
||||||
gmssl_secure_clear(&sm2_key, sizeof(sm2_key));
|
gmssl_secure_clear(&sm2_key, sizeof(sm2_key));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user