projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d0595f1
)
ans1/tasn_prn.c: avoid bool in variable names.
author
Andy Polyakov
<appro@openssl.org>
Thu, 29 Mar 2012 17:48:19 +0000
(17:48 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Thu, 29 Mar 2012 17:48:19 +0000
(17:48 +0000)
PR: 2776
crypto/asn1/tasn_prn.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/tasn_prn.c
b/crypto/asn1/tasn_prn.c
index 453698012dabd7096e442e3e569c8ffcd11f0ad3..542a091a66767e303425a90d19cb8ce06502a0c8 100644
(file)
--- a/
crypto/asn1/tasn_prn.c
+++ b/
crypto/asn1/tasn_prn.c
@@
-446,11
+446,11
@@
static int asn1_print_fsname(BIO *out, int indent,
return 1;
}
return 1;
}
-static int asn1_print_boolean_ctx(BIO *out,
const int boo
l,
+static int asn1_print_boolean_ctx(BIO *out,
int boolva
l,
const ASN1_PCTX *pctx)
{
const char *str;
const ASN1_PCTX *pctx)
{
const char *str;
- switch (bool)
+ switch (bool
val
)
{
case -1:
str = "BOOL ABSENT";
{
case -1:
str = "BOOL ABSENT";
@@
-574,10
+574,10
@@
static int asn1_primitive_print(BIO *out, ASN1_VALUE **fld,
{
case V_ASN1_BOOLEAN:
{
{
case V_ASN1_BOOLEAN:
{
- int bool = *(int *)fld;
- if (bool == -1)
- bool = it->size;
- ret = asn1_print_boolean_ctx(out, bool, pctx);
+ int bool
val
= *(int *)fld;
+ if (bool
val
== -1)
+ bool
val
= it->size;
+ ret = asn1_print_boolean_ctx(out, bool
val
, pctx);
}
break;
}
break;