Skip to content

Commit

Permalink
Fix GCC warning...
Browse files Browse the repository at this point in the history
t_req.c: In function `X509_REQ_print':
t_req.c:181: warning: suggest explicit braces to avoid ambiguous `else'
  • Loading branch information
Ralf S. Engelschall committed Mar 6, 1999
1 parent 79a474e commit f9b2e53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crypto/asn1/t_req.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -183,6 +183,7 @@ X509_REQ *x;
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;
Expand Down

0 comments on commit f9b2e53

Please sign in to comment.