mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-19 19:33:38 +08:00
Fix return without clean
This commit is contained in:
@@ -77,6 +77,7 @@ int hsskeygen_main(int argc, char **argv)
|
||||
if (--argc < 1) goto bad;
|
||||
lms_types = *(++argv);
|
||||
strncpy(lms_types_str, lms_types, sizeof(lms_types_str));
|
||||
lms_types_str[sizeof(lms_types_str) - 1] = 0;
|
||||
|
||||
tok = strtok(lms_types_str, ":");
|
||||
while (tok) {
|
||||
|
||||
Reference in New Issue
Block a user