Commit f9b2e530 authored by Ralf S. Engelschall's avatar Ralf S. Engelschall
Browse files

Fix GCC warning...

t_req.c: In function `X509_REQ_print':
t_req.c:181: warning: suggest explicit braces to avoid ambiguous `else'
parent 79a474e8
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -167,7 +167,7 @@ X509_REQ *x;
			sprintf(str,"%12s","");
			sprintf(str,"%12s","");
			if (BIO_puts(bp,str) <= 0) goto err;
			if (BIO_puts(bp,str) <= 0) goto err;
			if ((j=i2a_ASN1_OBJECT(bp,a->object)) > 0)
			if ((j=i2a_ASN1_OBJECT(bp,a->object)) > 0)

			{
			if (a->set)
			if (a->set)
				{
				{
				ii=0;
				ii=0;
@@ -183,6 +183,7 @@ get_next:
				type=t->type;
				type=t->type;
				bs=t->value.bit_string;
				bs=t->value.bit_string;
				}
				}
			}
			for (j=25-j; j>0; j--)
			for (j=25-j; j>0; j--)
				if (BIO_write(bp," ",1) != 1) goto err;
				if (BIO_write(bp," ",1) != 1) goto err;
			if (BIO_puts(bp,":") <= 0) goto err;
			if (BIO_puts(bp,":") <= 0) goto err;