From 80accf6e21259e2f97e62dc6d557f47ad6f695fc Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sun, 3 Apr 2016 11:37:10 +0200 Subject: fixed incorrect parameter to _asn1_append_sequence_set() This was uncovered by the previous revert, and seemed working due to the optimization semantics. --- lib/decoding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit v1.2.1