diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/tasn_new.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/tasn_new.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_new.c b/src/lib/libcrypto/asn1/tasn_new.c index 986e5811b6..491de0131e 100644 --- a/src/lib/libcrypto/asn1/tasn_new.c +++ b/src/lib/libcrypto/asn1/tasn_new.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tasn_new.c,v 1.15 2015/07/20 15:43:23 miod Exp $ */ | 1 | /* $OpenBSD: tasn_new.c,v 1.16 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 | */ |
| @@ -244,7 +244,7 @@ asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) | |||
| 244 | int | 244 | int |
| 245 | ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) | 245 | ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) |
| 246 | { | 246 | { |
| 247 | const ASN1_ITEM *it = ASN1_ITEM_ptr(tt->item); | 247 | const ASN1_ITEM *it = tt->item; |
| 248 | int ret; | 248 | int ret; |
| 249 | 249 | ||
| 250 | if (tt->flags & ASN1_TFLG_OPTIONAL) { | 250 | if (tt->flags & ASN1_TFLG_OPTIONAL) { |
| @@ -291,7 +291,7 @@ asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) | |||
| 291 | if (tt->flags & (ASN1_TFLG_ADB_MASK|ASN1_TFLG_SK_MASK)) | 291 | if (tt->flags & (ASN1_TFLG_ADB_MASK|ASN1_TFLG_SK_MASK)) |
| 292 | *pval = NULL; | 292 | *pval = NULL; |
| 293 | else | 293 | else |
| 294 | asn1_item_clear(pval, ASN1_ITEM_ptr(tt->item)); | 294 | asn1_item_clear(pval, tt->item); |
| 295 | } | 295 | } |
| 296 | 296 | ||
| 297 | 297 | ||
