summaryrefslogtreecommitdiffstats
path: root/crypto/x509/t_req.c
diff options
context:
space:
mode:
authorDmitry-Me <wipedout@yandex.ru>2016-03-04 10:34:47 +0300
committerRich Salz <rsalz@openssl.org>2016-03-04 11:49:22 -0500
commitfbff671659bd51a7b124065ea6caf5b554111211 (patch)
tree62427c485d31e89b81d40ea655b4a6be14f639f0 /crypto/x509/t_req.c
parent69d86ef1908b9f153fb32ed39eaee52011a96797 (diff)
GH784: Better variable name
Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'crypto/x509/t_req.c')
-rw-r--r--crypto/x509/t_req.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/x509/t_req.c b/crypto/x509/t_req.c
index a0ddd0e40d..2c519f9785 100644
--- a/crypto/x509/t_req.c
+++ b/crypto/x509/t_req.c
@@ -205,14 +205,14 @@ int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags,
for (i = 0; i < sk_X509_EXTENSION_num(exts); i++) {
ASN1_OBJECT *obj;
X509_EXTENSION *ex;
- int j;
+ int critical;
ex = sk_X509_EXTENSION_value(exts, i);
if (BIO_printf(bp, "%12s", "") <= 0)
goto err;
obj = X509_EXTENSION_get_object(ex);
i2a_ASN1_OBJECT(bp, obj);
- j = X509_EXTENSION_get_critical(ex);
- if (BIO_printf(bp, ": %s\n", j ? "critical" : "") <= 0)
+ critical = X509_EXTENSION_get_critical(ex);
+ if (BIO_printf(bp, ": %s\n", critical ? "critical" : "") <= 0)
goto err;
if (!X509V3_EXT_print(bp, ex, cflag, 16)) {
BIO_printf(bp, "%16s", "");