The branch OpenSSL_1_0_2-stable has been updated
       via  141f8da7b6d2f582004786a9b4d8aa50a0d9130f (commit)
      from  c3bc7f498815b355533d96b54b9a09e030d4130c (commit)


- Log -----------------------------------------------------------------
commit 141f8da7b6d2f582004786a9b4d8aa50a0d9130f
Author: Richard Levitte <levi...@openssl.org>
Date:   Mon Jun 20 20:07:13 2016 +0200

    apps/req.c: Increment the right variable when parsing '+'
    
    Reviewed-by: Rich Salz <rs...@openssl.org>
    (cherry picked from commit 14d3c0dd2c31b9fd1f92d608524dd650f5ec5a7e)

-----------------------------------------------------------------------

Summary of changes:
 apps/req.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/apps/req.c b/apps/req.c
index e818bd2..9f1066f 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -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;
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to