From 2318607f3dad6e7a7009385917dafe6d02654189 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 9 Jun 2014 10:11:19 +0200 Subject: When duplicating a node, keep the DER start and end information. --- lib/structure.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/structure.c b/lib/structure.c index acd2f2e..ffb6aa5 100644 --- a/lib/structure.c +++ b/lib/structure.c @@ -423,6 +423,8 @@ _asn1_copy_structure3 (asn1_node source_node) _asn1_set_down (p_d_prev, p_d); continue; } + p_d->start = p_s->start; + p_d->end = p_s->end; } if (p_s == source_node) -- cgit v1.2.3