[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Mon Jun 20 18:12:10 UTC 2016


The branch master has been updated
       via  14d3c0dd2c31b9fd1f92d608524dd650f5ec5a7e (commit)
      from  5e6e650d62af09f47d63bfdd6c92e3b16e9da644 (commit)


- Log -----------------------------------------------------------------
commit 14d3c0dd2c31b9fd1f92d608524dd650f5ec5a7e
Author: Richard Levitte <levitte at openssl.org>
Date:   Mon Jun 20 20:07:13 2016 +0200

    apps/req.c: Increment the right variable when parsing '+'
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>

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

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

diff --git a/apps/req.c b/apps/req.c
index d1f5dcb..3e6cb07 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -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;


More information about the openssl-commits mailing list