diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/tasn_prn.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/tasn_prn.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_prn.c b/src/lib/libcrypto/asn1/tasn_prn.c index c8601a1a89..80e7fbb890 100644 --- a/src/lib/libcrypto/asn1/tasn_prn.c +++ b/src/lib/libcrypto/asn1/tasn_prn.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tasn_prn.c,v 1.14 2015/12/23 01:50:26 mmcc Exp $ */ | 1 | /* $OpenBSD: tasn_prn.c,v 1.15 2016/12/30 16:04:34 jsing Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2000. | 3 | * project 2000. |
| 4 | */ | 4 | */ |
| @@ -339,7 +339,7 @@ asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, | |||
| 339 | 339 | ||
| 340 | flags = tt->flags; | 340 | flags = tt->flags; |
| 341 | if (pctx->flags & ASN1_PCTX_FLAGS_SHOW_FIELD_STRUCT_NAME) | 341 | if (pctx->flags & ASN1_PCTX_FLAGS_SHOW_FIELD_STRUCT_NAME) |
| 342 | sname = ASN1_ITEM_ptr(tt->item)->sname; | 342 | sname = tt->item->sname; |
| 343 | else | 343 | else |
| 344 | sname = NULL; | 344 | sname = NULL; |
| 345 | if (pctx->flags & ASN1_PCTX_FLAGS_NO_FIELD_NAME) | 345 | if (pctx->flags & ASN1_PCTX_FLAGS_NO_FIELD_NAME) |
| @@ -371,7 +371,7 @@ asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, | |||
| 371 | return 0; | 371 | return 0; |
| 372 | skitem = sk_ASN1_VALUE_value(stack, i); | 372 | skitem = sk_ASN1_VALUE_value(stack, i); |
| 373 | if (!asn1_item_print_ctx(out, &skitem, indent + 2, | 373 | if (!asn1_item_print_ctx(out, &skitem, indent + 2, |
| 374 | ASN1_ITEM_ptr(tt->item), NULL, NULL, 1, pctx)) | 374 | tt->item, NULL, NULL, 1, pctx)) |
| 375 | return 0; | 375 | return 0; |
| 376 | } | 376 | } |
| 377 | if (!i && BIO_printf(out, "%*s<EMPTY>\n", indent + 2, "") <= 0) | 377 | if (!i && BIO_printf(out, "%*s<EMPTY>\n", indent + 2, "") <= 0) |
| @@ -382,7 +382,7 @@ asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, | |||
| 382 | } | 382 | } |
| 383 | return 1; | 383 | return 1; |
| 384 | } | 384 | } |
| 385 | return asn1_item_print_ctx(out, fld, indent, ASN1_ITEM_ptr(tt->item), | 385 | return asn1_item_print_ctx(out, fld, indent, tt->item, |
| 386 | fname, sname, 0, pctx); | 386 | fname, sname, 0, pctx); |
| 387 | } | 387 | } |
| 388 | 388 | ||
