projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79a474e
)
Fix GCC warning...
author
Ralf S. Engelschall
<rse@openssl.org>
Sat, 6 Mar 1999 11:58:03 +0000
(11:58 +0000)
committer
Ralf S. Engelschall
<rse@openssl.org>
Sat, 6 Mar 1999 11:58:03 +0000
(11:58 +0000)
t_req.c: In function `X509_REQ_print':
t_req.c:181: warning: suggest explicit braces to avoid ambiguous `else'
crypto/asn1/t_req.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/t_req.c
b/crypto/asn1/t_req.c
index 5caee74c5e503e40ccc7e41bc8bd25105a1cca9e..a44b8266d39c7fe4310622abbb2868104ae8c5a9 100644
(file)
--- 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;