summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/t_req.c
diff options
context:
space:
mode:
authorRalf S. Engelschall <rse@openssl.org>1999-03-06 11:58:03 +0000
committerRalf S. Engelschall <rse@openssl.org>1999-03-06 11:58:03 +0000
commitf9b2e53052b74ba1feb64d7abcb386d46024bcc7 (patch)
treee49c90e7bc1ab0b043f81de0115bbf4383d7e16a /crypto/asn1/t_req.c
parent79a474e8f275fec0548f565efc98b659072e9f99 (diff)
Fix GCC warning...
t_req.c: In function `X509_REQ_print': t_req.c:181: warning: suggest explicit braces to avoid ambiguous `else'
Diffstat (limited to 'crypto/asn1/t_req.c')
-rw-r--r--crypto/asn1/t_req.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/asn1/t_req.c b/crypto/asn1/t_req.c
index 5caee74c5e..a44b8266d3 100644
--- a/crypto/asn1/t_req.c
+++ b/crypto/asn1/t_req.c
@@ -167,7 +167,7 @@ X509_REQ *x;
sprintf(str,"%12s","");
if (BIO_puts(bp,str) <= 0) goto err;
if ((j=i2a_ASN1_OBJECT(bp,a->object)) > 0)
-
+ {
if (a->set)
{
ii=0;
@@ -183,6 +183,7 @@ get_next:
type=t->type;
bs=t->value.bit_string;
}
+ }
for (j=25-j; j>0; j--)
if (BIO_write(bp," ",1) != 1) goto err;
if (BIO_puts(bp,":") <= 0) goto err;