diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/tasn_prn.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/tasn_prn.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_prn.c b/src/lib/libcrypto/asn1/tasn_prn.c index 542a091a66..453698012d 100644 --- a/src/lib/libcrypto/asn1/tasn_prn.c +++ b/src/lib/libcrypto/asn1/tasn_prn.c | |||
| @@ -446,11 +446,11 @@ static int asn1_print_fsname(BIO *out, int indent, | |||
| 446 | return 1; | 446 | return 1; |
| 447 | } | 447 | } |
| 448 | 448 | ||
| 449 | static int asn1_print_boolean_ctx(BIO *out, int boolval, | 449 | static int asn1_print_boolean_ctx(BIO *out, const int bool, |
| 450 | const ASN1_PCTX *pctx) | 450 | const ASN1_PCTX *pctx) |
| 451 | { | 451 | { |
| 452 | const char *str; | 452 | const char *str; |
| 453 | switch (boolval) | 453 | switch (bool) |
| 454 | { | 454 | { |
| 455 | case -1: | 455 | case -1: |
| 456 | str = "BOOL ABSENT"; | 456 | str = "BOOL ABSENT"; |
| @@ -574,10 +574,10 @@ static int asn1_primitive_print(BIO *out, ASN1_VALUE **fld, | |||
| 574 | { | 574 | { |
| 575 | case V_ASN1_BOOLEAN: | 575 | case V_ASN1_BOOLEAN: |
| 576 | { | 576 | { |
| 577 | int boolval = *(int *)fld; | 577 | int bool = *(int *)fld; |
| 578 | if (boolval == -1) | 578 | if (bool == -1) |
| 579 | boolval = it->size; | 579 | bool = it->size; |
| 580 | ret = asn1_print_boolean_ctx(out, boolval, pctx); | 580 | ret = asn1_print_boolean_ctx(out, bool, pctx); |
| 581 | } | 581 | } |
| 582 | break; | 582 | break; |
| 583 | 583 | ||
