Convert utf-8 files to ascii

This commit is contained in:
Zhi Guan
2024-05-25 18:29:11 +08:00
parent d719ee4862
commit 39af190b9b
8 changed files with 13 additions and 53 deletions

View File

@@ -26,9 +26,6 @@
306 } CMS_CERTS_AND_KEY;
输出长度主要由输入长度和
*/
static const char *options = "-key file -pass str -cert file -in file [-out file]";
@@ -165,7 +162,7 @@ bad:
goto end;
}
cms_maxlen = (inlen * 4)/3 + 4096; // 主要由SignerInfos其中的DN长度决定
cms_maxlen = (inlen * 4)/3 + 4096; // SignerInfos decide DN length
if (!(cms = malloc(cms_maxlen))) {
fprintf(stderr, "%s: malloc failure\n", prog);
goto end;