mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-19 19:33:38 +08:00
Bug fix
This commit is contained in:
@@ -168,7 +168,7 @@ bad:
|
||||
}
|
||||
}
|
||||
|
||||
buflen = data_unit_size * 16;
|
||||
buflen = (size_t)data_unit_size * 16;
|
||||
if (!(buf = (uint8_t *)malloc(buflen))) {
|
||||
fprintf(stderr, "gmssl %s: malloc failure\n", prog);
|
||||
goto end;
|
||||
|
||||
Reference in New Issue
Block a user