summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* released 4.9libtasn1_4_9Nikos Mavrogiannopoulos2016-07-253-3/+3
|
* tests: added unit tests for asn1_get_object_id_der()Nikos Mavrogiannopoulos2016-07-082-2/+91
|
* asn1_get_object_id_der: doc updateNikos Mavrogiannopoulos2016-07-081-1/+2
|
* .gitlab-ci.yml: added separate builds for x86 and x86_64Nikos Mavrogiannopoulos2016-07-081-0/+9
|
* encode and decode object identifiers with elements larger than 2^32 in ↵Nikos Mavrogiannopoulos2016-07-085-6/+12
| | | | 32-bit systems
* doc updateNikos Mavrogiannopoulos2016-07-071-0/+3
|
* tests: add test for OIDs with elements larger than 2^32Nikos Mavrogiannopoulos2016-07-072-2/+207
| | | | | That is, add a check which re-encodes a certificate which contains OIDs with elements of size > 2^32.
* _asn1_objectid_der: encode object identifiers with elements larger than 2^32Nikos Mavrogiannopoulos2016-07-071-1/+1
|
* asn1Decoding: Simplified allocation and copyNikos Mavrogiannopoulos2016-06-031-7/+11
| | | | Based on patch and suggestions by Pascal Cuoq.
* configure: enable all gcc warnings by defaultNikos Mavrogiannopoulos2016-04-291-3/+3
|
* decoding: removed unused constantsNikos Mavrogiannopoulos2016-04-201-5/+0
|
* decoding: added null pointer checkNikos Mavrogiannopoulos2016-04-201-0/+8
|
* _asn1_append_sequence_set: fail if _asn1_copy_structure3 failsNikos Mavrogiannopoulos2016-04-201-0/+3
|
* coding: prevented an unsigned to signed conversionNikos Mavrogiannopoulos2016-04-201-1/+1
|
* added ABI check for x86-64 as part of release processNikos Mavrogiannopoulos2016-04-112-1/+1700
|
* tests: corrected inclusion of new fileslibtasn1_4_8Nikos Mavrogiannopoulos2016-04-111-2/+2
|
* released 4.8Nikos Mavrogiannopoulos2016-04-111-1/+1
|
* tests: added several invalid certificatesNikos Mavrogiannopoulos2016-04-08563-2/+47
| | | | Provided by Pascal Cuoq.
* doc updateNikos Mavrogiannopoulos2016-04-081-0/+2
|
* _asn1_expand_object_id: addressed crash when no value is present is nodeNikos Mavrogiannopoulos2016-04-081-0/+3
| | | | | | | With a specially crafted ASN.1 description _asn1_expand_object_id, passes a null pointer as p4->value to the function _asn1_str_cat, which expects a pointer to a string. This patch addresses the issue. Reported by Pascal Cuoq.
* tests: removed OCSP choice known issue tags; it is now resolvedNikos Mavrogiannopoulos2016-04-081-4/+4
|
* tests: corrected byKey definitionNikos Mavrogiannopoulos2016-04-081-1/+1
| | | | | OCSP is defined in an EXPLICIT tags module, and as such we must tag explicitly all of its tags.
* decoding: removed redundant functionsNikos Mavrogiannopoulos2016-04-081-223/+150
| | | | | Simplified the STRING BER decoding by using asn1_decode_simple_ber(). This removes complex duplicate code.
* tests: added various octet string encoding/decoding testsNikos Mavrogiannopoulos2016-04-082-2/+176
| | | | This includes BER and DER decodings.
* asn1_decode_simple_ber: simplified and cleaned upNikos Mavrogiannopoulos2016-04-082-45/+73
|
* tests: added check on OCSP BasicOCSPResponse parsingNikos Mavrogiannopoulos2016-04-083-3/+115
|
* asn1_get_octet_der: doc updateNikos Mavrogiannopoulos2016-04-071-4/+6
|
* tests: removed non-existant file from MakefileNikos Mavrogiannopoulos2016-04-071-1/+1
|
* _asn1_extract_der_octet: properly account the bytes read through indefinite ↵Nikos Mavrogiannopoulos2016-04-061-4/+8
| | | | | | | encodings This prevents infinite recursions in the function loop. Reported by Pascal Cuoq.
* tests: corrected invalid input to asn1DecodingNikos Mavrogiannopoulos2016-04-052-2/+2
|
* tests: enhance the test suite with more invalid X.509 inputNikos Mavrogiannopoulos2016-04-0538-3/+26
| | | | The input was provided by Pascal Cuoq.
* libtasn1.h: updated for 4.8Nikos Mavrogiannopoulos2016-04-041-1/+1
|
* tests: avoid errors on known memory leaks from _asn1_add_static_nodeNikos Mavrogiannopoulos2016-04-042-1/+4
|
* document the global state issueNikos Mavrogiannopoulos2016-04-041-0/+2
|
* tests: added missing decoding-infNikos Mavrogiannopoulos2016-04-041-0/+34
|
* bumped versionNikos Mavrogiannopoulos2016-04-041-2/+2
|
* doc updateNikos Mavrogiannopoulos2016-04-041-1/+2
|
* _asn1_extract_der_octet: catch invalid input cases earlyNikos Mavrogiannopoulos2016-04-041-1/+8
| | | | | | That is, check the calculated lengths for validity prior to entering a loop. This avoids an infinite recursion. Reported by Pascal Cuoq.
* tests: added check on infinite recursionNikos Mavrogiannopoulos2016-04-042-2/+2
|
* Simplify _asn1_append_value() and avoid memcpy's with zero lengthNikos Mavrogiannopoulos2016-04-041-9/+19
| | | | Based on patch of Pascal Cuoq <pascal.cuoq@trust-in-soft.com>
* use a safer variant of reallocNikos Mavrogiannopoulos2016-04-043-4/+20
| | | | | This variant does not create memory leaks if allocation fails. Report and initial patch by Pascal Cuoq.
* decoding: improved tail cache in _asn1_append_sequence_setNikos Mavrogiannopoulos2016-04-043-16/+27
| | | | | We keep the head node in addition to the tail information to allow easier deduction of the validity of the cache.
* fixed incorrect parameter to _asn1_append_sequence_set()Nikos Mavrogiannopoulos2016-04-031-1/+1
| | | | | This was uncovered by the previous revert, and seemed working due to the optimization semantics.
* Revert "optimized _asn1_find_up()."Nikos Mavrogiannopoulos2016-04-037-51/+38
| | | | | | | This reverts commit 4010bb04588fca86a9f6d683b637c05b4cec24e0. This optimization did not offer much benefit and there may be corner cases in the internal structure handling that may not be possibly to handle with this optimization.
* doc updateNikos Mavrogiannopoulos2016-04-031-0/+4
|
* %x expects an unsigned int, but unsigned char is promoted to intPascal Cuoq2016-04-031-5/+5
|
* .gitlab-ci.yml: added libubsan buildsNikos Mavrogiannopoulos2016-02-291-0/+8
|
* coding: Fixes to prevent undefined behavior (found with libubsan)Nikos Mavrogiannopoulos2016-02-291-3/+5
|
* .gitlab-ci.yml: don't build documentationNikos Mavrogiannopoulos2016-02-291-2/+2
|
* configure: added --disable-docNikos Mavrogiannopoulos2016-02-292-1/+10
| | | | This allows to conditionally build the documentation