summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-05-16expanded usage of DECR_LEN().Nikos Mavrogiannopoulos1-38/+131
2014-05-16simplified _asn1_get_octet_string().Nikos Mavrogiannopoulos1-10/+8
2014-05-16simplified _asn1_get_indefinite_length_string()Nikos Mavrogiannopoulos1-12/+10
2014-05-16More precise tracking of data.Nikos Mavrogiannopoulos1-48/+124
2014-05-16asn1_der_decoding_element is just an alias of asn1_der_decoding().Nikos Mavrogiannopoulos1-761/+6
This eliminates the need of massive code duplication.
2014-05-16More precise length check in _asn1_get_indefinite_length_string().Nikos Mavrogiannopoulos1-1/+1
2014-05-16Use the correct max length definition.Nikos Mavrogiannopoulos2-3/+1
2014-05-10cleaned up a bit _asn1_remove_node().Nikos Mavrogiannopoulos1-5/+9
2014-05-10prevent memset() from being optimized out.Nikos Mavrogiannopoulos2-2/+18
2014-05-05doc updateNikos Mavrogiannopoulos1-0/+3
2014-05-04Corrected an off-by-one error.Nikos Mavrogiannopoulos1-1/+1
The issue was discovered using the codenomicon TLS suite.
2014-05-02Added stable markNikos Mavrogiannopoulos1-1/+1
2014-05-01bumped versionNikos Mavrogiannopoulos1-1/+1
2014-05-01bumped versionNikos Mavrogiannopoulos2-3/+3
2014-05-01Use the smallest of the 2 lengths for the comparisonKurt Roeckx1-7/+4
We're sorting 2 strings here based on X.690 section 11.6 and 6.3
2014-04-28Added minmax gnulib module.Nikos Mavrogiannopoulos5-2/+117
2014-04-28more files to ignoreNikos Mavrogiannopoulos1-0/+4
2014-04-27Make asn1_ordering_set_of() return error if it can't find data for one of ↵Kurt Roeckx1-0/+5
the entries.
2014-04-27Check that p is not NULLKurt Roeckx1-0/+2
As far as I can tell this should never happen.
2014-04-27updated bison fileNikos Mavrogiannopoulos1-951/+766
2014-04-26undid optimization in patch 057193dcc2089520ab36d95f42d12f4ffd8127b5Nikos Mavrogiannopoulos1-0/+1
2014-04-26Added test that decodes and re-encodes a DER CRL.Nikos Mavrogiannopoulos3-3/+147
2014-04-26doc updateNikos Mavrogiannopoulos1-0/+1
2014-04-26Fix memory leak.Kurt Roeckx1-0/+3
2014-04-26_asn1_ordering_*(): Fix memory leak in case of errorKurt Roeckx1-14/+52
2014-04-26Make _asn1_ordering_* return error values and check them.Kurt Roeckx2-19/+31
2014-04-26Call ordering functions with the right lengthKurt Roeckx1-2/+2
We're going to insert the length of the set and at this point are going to order it. But we called it with the wrong length. Also updates the check to only do it when the buffer isn't to small.
2014-04-22Fix syntax-check nits.Simon Josefsson3-9/+9
2014-04-22Update copyright years.Simon Josefsson59-59/+59
2014-04-22Update gnulib files.Simon Josefsson130-332/+1011
2014-04-17doc updateNikos Mavrogiannopoulos1-1/+1
2014-04-17simplified asn1_find_structure_from_oid() and asn1_expand_any_defined_by().Nikos Mavrogiannopoulos2-13/+9
2014-04-15doc updateNikos Mavrogiannopoulos1-0/+1
2014-04-15Do not try to write over null valuesNikos Mavrogiannopoulos1-5/+9
2014-04-15fixed several coverity reported bugs.Nikos Mavrogiannopoulos2-8/+12
2014-03-28doc updateNikos Mavrogiannopoulos1-0/+1
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-28cleaned up codeNikos Mavrogiannopoulos1-2/+1
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>
2014-03-28extract_tag_der_recursive: fix compilation errorsJean-Louis Thekekara1-2/+2
Fix the following errors introduced by extract_tag_der_recursive usage: decoding.c: In function 'extract_tag_der_recursive': decoding.c:560:5: error: 'ris' may be used uninitialized in this function [-Werror=maybe-uninitialized] decoding.c: In function 'asn1_der_decoding_startEnd': decoding.c:2192:40: error: unused variable 'p3' [-Werror=unused-variable] Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2014-03-14corrected delete_unneeded_choice_fields().Nikos Mavrogiannopoulos1-2/+5
2014-03-14free all allocated memoryNikos Mavrogiannopoulos1-0/+1
2014-03-14doc updateNikos Mavrogiannopoulos1-0/+3
2014-03-14Added self-check for recursive choices.Nikos Mavrogiannopoulos3-3/+119
2014-03-14Handle recursive CHOICEs.Nikos Mavrogiannopoulos1-3/+8
2014-03-14Use special function for common usage of _asn1_extract_tag_der().Nikos Mavrogiannopoulos1-56/+41
2013-11-27distribute stamp_docs to avoid regenerating docs everywhere.Nikos Mavrogiannopoulos1-1/+1
2013-11-25corrected so-numberNikos Mavrogiannopoulos1-3/+3
2013-11-25doc updateNikos Mavrogiannopoulos2-1/+3
2013-11-25include asn1_delete_structure2() to testsNikos Mavrogiannopoulos1-1/+6