summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-03-29 17:51:37 +0000
committerAndy Polyakov <appro@openssl.org>2012-03-29 17:51:37 +0000
commitcdc575c46b35e4c1bd30448cbc6e9c04c203ef93 (patch)
treebf9d5d1e6fc5a31be43504318a5624a794f37d43 /crypto/asn1
parent2f0aaf76f3e3d43e8e2846f7ca20eeb8e150f527 (diff)
ans1/tasn_prn.c: avoid bool in variable names [from HEAD].
PR: 2776
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/tasn_prn.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/asn1/tasn_prn.c b/crypto/asn1/tasn_prn.c
index 453698012d..542a091a66 100644
--- 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;
}
-static int asn1_print_boolean_ctx(BIO *out, const int bool,
+static int asn1_print_boolean_ctx(BIO *out, int boolval,
const ASN1_PCTX *pctx)
{
const char *str;
- switch (bool)
+ switch (boolval)
{
case -1:
str = "BOOL ABSENT";
@@ -574,10 +574,10 @@ static int asn1_primitive_print(BIO *out, ASN1_VALUE **fld,
{
case V_ASN1_BOOLEAN:
{
- int bool = *(int *)fld;
- if (bool == -1)
- bool = it->size;
- ret = asn1_print_boolean_ctx(out, bool, pctx);
+ int boolval = *(int *)fld;
+ if (boolval == -1)
+ boolval = it->size;
+ ret = asn1_print_boolean_ctx(out, boolval, pctx);
}
break;