GH784: Better variable name
Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Emilia Käsper <emilia@openssl.org>
This commit is contained in:
@@ -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++) {
|
for (i = 0; i < sk_X509_EXTENSION_num(exts); i++) {
|
||||||
ASN1_OBJECT *obj;
|
ASN1_OBJECT *obj;
|
||||||
X509_EXTENSION *ex;
|
X509_EXTENSION *ex;
|
||||||
int j;
|
int critical;
|
||||||
ex = sk_X509_EXTENSION_value(exts, i);
|
ex = sk_X509_EXTENSION_value(exts, i);
|
||||||
if (BIO_printf(bp, "%12s", "") <= 0)
|
if (BIO_printf(bp, "%12s", "") <= 0)
|
||||||
goto err;
|
goto err;
|
||||||
obj = X509_EXTENSION_get_object(ex);
|
obj = X509_EXTENSION_get_object(ex);
|
||||||
i2a_ASN1_OBJECT(bp, obj);
|
i2a_ASN1_OBJECT(bp, obj);
|
||||||
j = X509_EXTENSION_get_critical(ex);
|
critical = X509_EXTENSION_get_critical(ex);
|
||||||
if (BIO_printf(bp, ": %s\n", j ? "critical" : "") <= 0)
|
if (BIO_printf(bp, ": %s\n", critical ? "critical" : "") <= 0)
|
||||||
goto err;
|
goto err;
|
||||||
if (!X509V3_EXT_print(bp, ex, cflag, 16)) {
|
if (!X509V3_EXT_print(bp, ex, cflag, 16)) {
|
||||||
BIO_printf(bp, "%16s", "");
|
BIO_printf(bp, "%16s", "");
|
||||||
|
|||||||
Reference in New Issue
Block a user