提交 14d3c0dd 编写于 作者: R Richard Levitte

apps/req.c: Increment the right variable when parsing '+'

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 5e6e650d
......@@ -1109,12 +1109,12 @@ static int auto_info(X509_REQ *req, STACK_OF(CONF_VALUE) *dn_sk,
}
}
#ifndef CHARSET_EBCDIC
plus_char = (*p == '+');
plus_char = (*type == '+');
#else
plus_char = (*p == os_toascii['+']);
plus_char = (*type == os_toascii['+']);
#endif
if (plus_char) {
p++;
type++;
mval = -1;
} else
mval = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册