summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-04-03 11:37:10 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-04-03 11:37:13 +0200
commit80accf6e21259e2f97e62dc6d557f47ad6f695fc (patch)
tree3f3bc4bdf0448230c698127d959c716cf436a5c8
parent62cb6fab75ee9a4fc2925104896980d40862a89f (diff)
downloadlibtasn1-80accf6e21259e2f97e62dc6d557f47ad6f695fc.tar.gz
fixed incorrect parameter to _asn1_append_sequence_set()
This was uncovered by the previous revert, and seemed working due to the optimization semantics.
-rw-r--r--lib/decoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/decoding.c b/lib/decoding.c
index 7a86182..69050fd 100644
--- a/lib/decoding.c
+++ b/lib/decoding.c
@@ -1481,7 +1481,7 @@ asn1_der_decoding2 (asn1_node *element, const void *ider, int *max_ider_len,
|| (type_field (p2->type) == ASN1_ETYPE_SIZE))
p2 = p2->right;
if (p2->right == NULL)
- _asn1_append_sequence_set (p, &ptail);
+ _asn1_append_sequence_set (p, NULL);
p = p2;
}
}