summaryrefslogtreecommitdiff
path: root/lib/element.c
AgeCommit message (Collapse)AuthorFilesLines
2019-08-28Imported Upstream version 4.14upstream/4.14Pawel Kowalski1-10/+10
2018-06-15Imported Upstream version 4.12upstream/4.12Dariusz Michaluk1-1/+1
2018-06-15Imported Upstream version 4.10upstream/4.10Dariusz Michaluk1-3/+5
2018-06-15Imported Upstream version 4.9upstream/4.9Dariusz Michaluk1-0/+3
2016-06-08Imported Upstream version 4.8upstream/4.8submit/upstream/20160613.071414sangsu1-10/+16
Change-Id: I25e57ece28b9ebb637a2b7356f57e11b7f2eb807 Signed-off-by: sangsu <sangsu.choi@samsung.com>
2014-06-17doc updateNikos Mavrogiannopoulos1-0/+3
2014-06-17doc updateNikos Mavrogiannopoulos1-1/+7
2014-06-04Optimized _asn1_append_sequence_set() by caching the tail of the element to ↵Nikos Mavrogiannopoulos1-4/+14
append on.
2014-06-04asn1_read_value() and friends understand the ?CURRENT keyword.Nikos Mavrogiannopoulos1-3/+7
That keyword allows to specify the current element if the given node is a node in a sequence or set.
2014-06-04optimized _asn1_find_up().Nikos Mavrogiannopoulos1-1/+1
2014-05-22Allow a NULL value in asn1_read_value() for all types.Nikos Mavrogiannopoulos1-18/+28
2014-05-17Reverted ltostr() changes as the cause a significant delay to the library.Nikos Mavrogiannopoulos1-1/+1
The best approach would be to eliminate the need for ltostr() completely. Added LTOSTR_MAX_SIZE, to avoid overflows.
2014-05-17Revert "made _asn1_ltostr() safer."Nikos Mavrogiannopoulos1-1/+1
This reverts commit 07a5adb87880f3fce80aa12121409bbf652f1b6d.
2014-05-17made _asn1_ltostr() safer.Nikos Mavrogiannopoulos1-1/+1
2014-05-17safer usage of memcpy().Nikos Mavrogiannopoulos1-4/+7
2014-05-16return the correct error code in asn1_read_value_type()Nikos Mavrogiannopoulos1-16/+21
2014-04-22Fix syntax-check nits.Simon Josefsson1-7/+7
2014-04-22Update copyright years.Simon Josefsson1-1/+1
2014-04-15Do not try to write over null valuesNikos Mavrogiannopoulos1-5/+9
2014-03-28asn1_write_value: fix segfault when deleting an unauthorized elementJean-Louis Thekekara1-0/+6
Segfaults can occur, since value is dereferenced later, ex: 352 if ((isdigit (value[0])) || (value[0] == '-') Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2014-03-28asn1_write_value: allow SET_OF elements deletionJean-Louis Thekekara1-1/+1
SET_OF elements could just be deleted as SEQUENCE_OF ones. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2013-03-24Update copyright years.Simon Josefsson1-1/+1
2013-03-24Indent code.Simon Josefsson1-46/+46
2012-11-24revert to use strlen when writing time values.Nikos Mavrogiannopoulos1-2/+3
2012-11-24simplifiedNikos Mavrogiannopoulos1-5/+4
2012-11-24some simplifications in time handlingNikos Mavrogiannopoulos1-3/+13
2012-11-24Introduced ASN1_ETYPE_UTC_TIME and ASN1_ETYPE_GENERALIZED_TIMENikos Mavrogiannopoulos1-18/+12
2012-11-23Added asn1_read_value_type().Nikos Mavrogiannopoulos1-3/+77
2012-11-23renamed typesNikos Mavrogiannopoulos1-16/+16
2012-11-23Added asn1_decode_string_der() and asn1_encode_string_der().Nikos Mavrogiannopoulos1-3/+3
2012-11-22better nameNikos Mavrogiannopoulos1-1/+1
2012-11-22small simplificationsNikos Mavrogiannopoulos1-20/+1
2012-11-22Added more ASN.1 string types and several simplifications.Nikos Mavrogiannopoulos1-89/+87
2012-10-11Renamed structures.Nikos Mavrogiannopoulos1-12/+12
Avoid using the reserved by POSIX _t. Suggested by Ivan Shmakov. asn1_static_node_t -> asn1_static_node asn1_node_t -> asn1_node
2012-10-06asn_ -> asn1_Nikos Mavrogiannopoulos1-13/+13
2012-10-01node_data_struct -> asn_data_node_stNikos Mavrogiannopoulos1-2/+2
2012-10-01Renamed types.Nikos Mavrogiannopoulos1-12/+12
node_asn -> asn_node_st ASN1_TYPE -> node_asn_t ASN1_TYPE_EMPTY -> NULL
2012-10-01asn1_retCode -> intNikos Mavrogiannopoulos1-5/+5
2012-09-13Eliminated _asn1_malloc, _asn1_free and _asn_calloc.Nikos Mavrogiannopoulos1-19/+13
2012-09-12Node type field is now included in ASN1_DATA_NODE.Nikos Mavrogiannopoulos1-0/+1
2012-09-12Added asn1_read_node_value()Nikos Mavrogiannopoulos1-0/+19
2012-09-12name is now a statically allocated string and other optimizations.Nikos Mavrogiannopoulos1-5/+5
2012-01-23Bump copyright years.Simon Josefsson1-2/+1
2011-11-20Silence warnings.Simon Josefsson1-26/+26
2011-01-08Update copyright years.Simon Josefsson1-2/+2
2010-12-06Doc fix.Simon Josefsson1-24/+11
Reported by Jeffrey Walton <noloader@gmail.com>.
2010-02-17Improve GTK-DOC comments.Simon Josefsson1-193/+190
2010-01-11Merge Fabio and Nikos copyrights to the FSF, both have signed papers.Simon Josefsson1-3/+2
2010-01-11Update copyright notices.Simon Josefsson1-2/+3
2009-03-04Indent code. Reproduce using 'make indent' with GNU indent 2.2.10.Simon Josefsson1-3/+3