summaryrefslogtreecommitdiff
path: root/lib/element.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-12 23:15:02 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-12 23:15:02 +0200
commite80a9f2df71640e988f02cac76e2a2e7ae79d9c9 (patch)
tree79bf42dc689e8749090217977b596c67ce7cc255 /lib/element.c
parent92abf0cd89b512514a18754f913fb8d828ed5c8b (diff)
downloadlibtasn1-e80a9f2df71640e988f02cac76e2a2e7ae79d9c9.tar.gz
libtasn1-e80a9f2df71640e988f02cac76e2a2e7ae79d9c9.tar.bz2
libtasn1-e80a9f2df71640e988f02cac76e2a2e7ae79d9c9.zip
Node type field is now included in ASN1_DATA_NODE.
Diffstat (limited to 'lib/element.c')
-rw-r--r--lib/element.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/element.c b/lib/element.c
index a0f841f..ea8eb48 100644
--- a/lib/element.c
+++ b/lib/element.c
@@ -992,6 +992,7 @@ asn1_retCode asn1_read_node_value (ASN1_TYPE node, ASN1_DATA_NODE* data)
data->name = node->name;
data->value = node->value;
data->value_len = node->value_len;
+ data->type = type_field(node->type);
return ASN1_SUCCESS;
}