projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e6e650
)
apps/req.c: Increment the right variable when parsing '+'
author
Richard Levitte
<levitte@openssl.org>
Mon, 20 Jun 2016 18:07:13 +0000
(20:07 +0200)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 20 Jun 2016 18:11:07 +0000
(20:11 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
apps/req.c
patch
|
blob
|
history
diff --git
a/apps/req.c
b/apps/req.c
index d1f5dcb3450309e754c5944bd8cc16b19709cb7d..3e6cb074608b68211f1e1719f83df8bdcf9ceffc 100644
(file)
--- 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;