Commit 141f8da7 authored by Richard Levitte's avatar Richard Levitte
Browse files

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



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(cherry picked from commit 14d3c0dd)
parent c3bc7f49
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -1331,12 +1331,11 @@ static int auto_info(X509_REQ *req, STACK_OF(CONF_VALUE) *dn_sk,
                break;
            }
#ifndef CHARSET_EBCDIC
        if (*p == '+')
        if (*type == '+')
#else
        if (*p == os_toascii['+'])
        if (*type == os_toascii['+'])
#endif
        {
            p++;
            type++;
            mval = -1;
        } else
            mval = 0;