mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-06 16:36:16 +08:00
Convert utf-8 files to ascii
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user