diff options
author | jsing <> | 2022-09-03 19:15:23 +0000 |
---|---|---|
committer | jsing <> | 2022-09-03 19:15:23 +0000 |
commit | 7776afea0252a08cf698b85c1874be612bb6e8ff (patch) | |
tree | 01ab2e5d43b1acfbd2f0daff222bef1079c9ff0c /src/lib | |
parent | 3b7d92f43d7f2b8765256815f6c8303ab94766c9 (diff) | |
download | openbsd-7776afea0252a08cf698b85c1874be612bb6e8ff.tar.gz openbsd-7776afea0252a08cf698b85c1874be612bb6e8ff.tar.bz2 openbsd-7776afea0252a08cf698b85c1874be612bb6e8ff.zip |
Rewrap some lines, no functional change.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/asn1/tasn_dec.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_dec.c b/src/lib/libcrypto/asn1/tasn_dec.c index 272fead49d..5e0692e009 100644 --- a/src/lib/libcrypto/asn1/tasn_dec.c +++ b/src/lib/libcrypto/asn1/tasn_dec.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tasn_dec.c,v 1.82 2022/09/03 19:14:25 jsing Exp $ */ | 1 | /* $OpenBSD: tasn_dec.c,v 1.83 2022/09/03 19:15:23 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 | */ |
@@ -999,7 +999,9 @@ asn1_item_d2i(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it, | |||
999 | } | 999 | } |
1000 | 1000 | ||
1001 | static void | 1001 | static void |
1002 | asn1_template_stack_of_free(STACK_OF(ASN1_VALUE) *avals, const ASN1_TEMPLATE *at) { | 1002 | asn1_template_stack_of_free(STACK_OF(ASN1_VALUE) *avals, |
1003 | const ASN1_TEMPLATE *at) | ||
1004 | { | ||
1003 | ASN1_VALUE *aval; | 1005 | ASN1_VALUE *aval; |
1004 | 1006 | ||
1005 | if (avals == NULL) | 1007 | if (avals == NULL) |
@@ -1079,8 +1081,8 @@ asn1_template_stack_of_d2i(ASN1_VALUE **pval, CBS *cbs, const ASN1_TEMPLATE *at, | |||
1079 | eoc_needed = 0; | 1081 | eoc_needed = 0; |
1080 | break; | 1082 | break; |
1081 | } | 1083 | } |
1082 | if (!asn1_item_d2i(&aval, &cbs_object_content, at->item, | 1084 | if (!asn1_item_d2i(&aval, &cbs_object_content, at->item, -1, 0, |
1083 | -1, 0, 0, depth)) { | 1085 | 0, depth)) { |
1084 | ASN1error(ERR_R_NESTED_ASN1_ERROR); | 1086 | ASN1error(ERR_R_NESTED_ASN1_ERROR); |
1085 | goto err; | 1087 | goto err; |
1086 | } | 1088 | } |