提交 eebeb52b 编写于 作者: D Dr. Stephen Henson

Update length if copying MSB set in asn1_string_canon().

上级 6ec6cfc7
......@@ -428,7 +428,10 @@ static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in)
{
/* If MSB set just copy across */
if (*from & 0x80)
{
*to++ = *from++;
i++;
}
/* Collapse multiple spaces */
else if (isspace(*from))
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册