apps/req.c: Increment the right variable when parsing '+'
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
5e6e650d62
commit
14d3c0dd2c
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue