1 2022-08-23 Simon Josefsson <simon@josefsson.org>
4 * NEWS: Record release date.
6 Work around unfixed gtk-doc problem.
7 Reported by Roman Bogorodskiy in
8 https://lists.gnu.org/archive/html/help-libtasn1/2021-11/msg00004.html
9 https://gitlab.gnome.org/GNOME/gtk-doc/-/issues/37
10 https://gitlab.gnome.org/GNOME/gtk-doc/-/merge_requests/67
12 Improve CI/CD artifacts, and fail on errors.
14 Put version checks in tests/version.c.
18 bootstrap.conf (src_gnulib_modules): Add getopt-gnu.
19 Needed on UnixWare for getopt_long.
20 Reported by Tim Rice <tim@multitalents.net>.
22 Build check with tcc/lld/pcc.
24 2022-08-18 Simon Josefsson <simon@josefsson.org>
26 Some C89 fixes. Closes: !70.
28 Attempt to reproduce !70 build error.
30 2022-08-17 Simon Josefsson <simon@josefsson.org>
34 Add sc_libtool_version_bump syntax-check.
36 Move gnulib's dummy test directory from tests-gl to lib/gl/tests.
40 Fix ETYPE_OK off by one array size check. Closes: #32.
41 Reported by David Trabish in
42 <https://gitlab.com/gnutls/libtasn1/-/issues/32>.
44 Make sure syntax-check catches indent mistakes during cicd.
46 Add self-check for #32 to see if cicd catches it.
48 Fix license header. Closes: #38.
54 Silence sc_makefile_DISTCHECK_CONFIGURE_FLAGS until we clean up coverage code.
56 Put gtkdocize in bootstrap_post_import_hook.
64 2021-11-11 Simon Josefsson <simon@josefsson.org>
66 Don't use -static when linking in fuzz/. Closes: !61.
68 2021-11-10 Simon Josefsson <simon@josefsson.org>
70 Use portable way to remove carriage returns.
72 Don't use non-portable diff --strip-trailing-cr.
74 cicd: Add targets, reduce texlive.
76 maint: Fix builddir!=srcdir abi-check failure.
78 maint: Attempt to minimize texlive dependencies.
80 maint: Fix (and CICD-test) builddir!=srcdir bootstrap builds.
82 2021-11-09 Simon Josefsson <simon@josefsson.org>
84 maint: Remove really old release announcement template.
86 maint: Really remove texinfo.css.
88 maint: post-release administrivia
89 * NEWS: Add header line for next release.
90 * .prev-version: Record previous version.
91 * cfg.mk (old_NEWS_hash): Auto-update.
94 * NEWS: Record release date.
96 maint: Bump shared library version. Prepare NEWS file for release.
98 2021-11-09 Simon Josefsson <simon@josefsson.org>
100 Merge branch 'tmp-indent' into 'master'
101 Maintainer fixes including code indent.
103 See merge request gnutls/libtasn1!87
105 2021-11-09 Simon Josefsson <simon@josefsson.org>
107 maint: Run syntax-check in CICD.
109 maint: Sync gdoc with libidn2.
111 maint: Fix syntax-check flaws.
115 maint: Update .gitignore.
117 maint: Regenerate README-release diff.
119 2021-11-09 Simon Josefsson <simon@josefsson.org>
121 Merge branch 'tmp-doc-fixes' into 'master'
122 Doc fixes. Version handling fixes.
124 See merge request gnutls/libtasn1!86
126 2021-11-09 Simon Josefsson <simon@josefsson.org>
128 doc: Fix deps. Generate --help from tools.
130 maint: Fix generating version number.
132 doc: Don't dist html/ps/pdf. Drop old css. Fix man page versions. Sync gdoc.
134 2021-11-09 Simon Josefsson <simon@josefsson.org>
136 Merge branch 'tmp-src-gnulib' into 'master'
137 Update gnulib and use it in src/.
141 See merge request gnutls/libtasn1!85
143 2021-11-09 Simon Josefsson <simon@josefsson.org>
145 Fix potential NULL-dereferencing (compiler warning).
147 maint: Use gnulib modules in src/ tools. Closes: #37.
148 Partially reverts 9b6c6519.
150 2021-11-09 Simon Josefsson <simon@josefsson.org>
152 Merge branch 'tmp-buildfixes' into 'master'
155 See merge request gnutls/libtasn1!84
157 2021-11-09 Simon Josefsson <simon@josefsson.org>
160 Use versioned images (because package names are release dependent).
161 Don't fail on abidiff v2.0.
162 Replace failing "x86" cross build with new "armcross".
163 Use faster git submodule approach.
165 maint: Update .gitignore.
167 doc: Suggest running ./configure.
169 2021-11-09 Simon Josefsson <simon@josefsson.org>
171 Merge branch 'tmp-gtkdoc-fixes' into 'master'
172 doc: Improve GTK-DOC manual. Closes: #35.
176 See merge request gnutls/libtasn1!83
178 2021-07-22 Simon Josefsson <simon@josefsson.org>
180 doc: Improve GTK-DOC manual. Closes: #35.
182 2021-05-25 Simon Josefsson <simon@josefsson.org>
184 Merge branch 'tmp-gnulib-update' into 'master'
187 See merge request gnutls/libtasn1!82
189 2021-05-25 Simon Josefsson <simon@josefsson.org>
193 2021-05-16 Daiki Ueno <ueno@gnu.org>
195 Merge branch 'kk/rename-files' into 'master'
196 Rename test files. Avoid using ':', which is illegal on Windows.
198 See merge request gnutls/libtasn1!81
200 2021-05-14 Konstantin Kouptsov <kkouptsov@s141.home>
202 Rename test files. Avoid using ':', which is illegal on Windows.
204 2021-05-13 Simon Josefsson <simon@josefsson.org>
206 maint: post-release administrivia
207 * NEWS: Add header line for next release.
208 * .prev-version: Record previous version.
209 * cfg.mk (old_NEWS_hash): Auto-update.
212 * NEWS: Record release date.
214 Modernize versioning and release infrastructure.
216 Add NEWS item for last commit.
218 2021-05-12 Daiki Ueno <ueno@gnu.org>
220 Merge branch 'covscan_fixes' into 'master'
221 Fix bugs unvelieled by Static Analysis
223 See merge request gnutls/libtasn1!80
225 2021-05-11 Simo Sorce <simo@redhat.com>
227 Fix potential buffer overflow via fscanf
230 Error: DC.STREAM_BUFFER (CWE-120): [#def4]
231 libtasn1-4.16.0/src/asn1Coding.c:75: dont_call: "fscanf" assumes an arbitrarily long string, so callers must use correct precision specifiers or never use "fscanf".
232 libtasn1-4.16.0/src/asn1Coding.c:75: remediation: Use correct precision specifiers or implement your own parsing.
235 # 75|-> ret = fscanf (file, "%s", varName);
236 # 76| if (ret == EOF)
237 # 77| return ASSIGNMENT_EOF;
239 Error: DC.STREAM_BUFFER (CWE-120): [#def5]
240 libtasn1-4.16.0/src/asn1Coding.c:81: dont_call: "fscanf" assumes an arbitrarily long string, so callers must use correct precision specifiers or never use "fscanf".
241 libtasn1-4.16.0/src/asn1Coding.c:81: remediation: Use correct precision specifiers or implement your own parsing.
242 # 79| varName[0] = 0;
244 # 81|-> ret = fscanf (file, "%s", value);
245 # 82| if (ret == EOF)
246 # 83| return ASSIGNMENT_ERROR;
248 2021-05-11 Simo Sorce <simo@redhat.com>
250 Fix String overflow warning
253 rror: COMPILER_WARNING (CWE-758): [#def2]
254 libtasn1-4.16.0/lib/element.c: scope_hint: In function '_asn1_append_sequence_set'
255 libtasn1-4.16.0/lib/element.c:186:7: warning[-Wstringop-overflow=]: '_asn1_ltostr' accessing 22 bytes in a region of size 21
256 # 186 | _asn1_ltostr (n, temp + 1);
257 # | ^~~~~~~~~~~~~~~~~~~~~~~~~~
258 libtasn1-4.16.0/lib/element.c:186:7: note: referencing argument 2 of type 'char *'
259 libtasn1-4.16.0/lib/element.c:30: included_from: Included from here.
260 libtasn1-4.16.0/lib/parser_aux.h:70:7: note: in a call to function '_asn1_ltostr'
261 # 70 | char *_asn1_ltostr (int64_t v, char str[LTOSTR_MAX_SIZE]);
264 # 185| temp[0] = '?';
265 # 186|-> _asn1_ltostr (n, temp + 1);
267 # 188| _asn1_set_name (p2, temp);
269 Fix resource leak (node)
272 Error: RESOURCE_LEAK (CWE-772): [#def1]
273 libtasn1-4.16.0/lib/coding.c:1099: alloc_fn: Storage is returned from allocation function "_asn1_copy_structure3".
274 libtasn1-4.16.0/lib/coding.c:1099: var_assign: Assigning: "node" = storage returned from "_asn1_copy_structure3(node)".
275 libtasn1-4.16.0/lib/coding.c:1106: leaked_storage: Variable "node" going out of scope leaks the storage it points to.
277 # 1105| if (der == NULL && max_len > 0)
278 # 1106|-> return ASN1_VALUE_NOT_VALID;
282 2021-05-08 Simon Josefsson <simon@josefsson.org>
284 Merge branch 'tmp-more-cicd' into 'master'
285 Support both old and new bison. Closes: #33.
289 See merge request gnutls/libtasn1!79
291 2021-05-08 Simon Josefsson <simon@josefsson.org>
293 Support both old and new bison. Closes: #33.
294 Update build dependencies.
297 2021-05-07 Simon Josefsson <simon@josefsson.org>
299 Bump copyright years.
301 2021-05-07 Simon Josefsson <simon@josefsson.org>
303 Merge branch 'tmp-update-gnulib' into 'master'
306 See merge request gnutls/libtasn1!78
308 2021-05-07 Simon Josefsson <simon@josefsson.org>
310 Check that malloc returned non-NULL.
312 Remove or update updated gnulib files.
314 Gnulib requires autoconf 2.64 now.
318 2021-05-03 Andreas Metzler <gitlab@bebt.de>
320 Merge branch 'tmp-fix-readme' into 'master'
321 Fix homepage URL. Remove text duplicated from LICENSE.
323 See merge request gnutls/libtasn1!77
325 2021-05-03 Simon Josefsson <simon@josefsson.org>
327 Fix homepage URL. Remove text duplicated from LICENSE.
329 2021-03-29 Daiki Ueno <ueno@gnu.org>
331 Merge branch 'ihsinme-master-patch-00221' into 'master'
332 fix invalid unsigned arithmetic.
334 See merge request gnutls/libtasn1!75
336 2021-03-22 Daiki Ueno <ueno@gnu.org>
338 Merge branch 'wip/dueno/bison-bootstrap' into 'master'
339 Revert "bootstrap.conf: require bison 3.6 or later"
341 See merge request gnutls/libtasn1!76
343 2021-03-22 Daiki Ueno <ueno@gnu.org>
345 Revert "bootstrap.conf: require bison 3.6 or later"
346 This reverts commit b6de8e01dec78ac0a43bccae49d1ecda64ad9b98. The
347 condition was too rigid on oss-fuzz. This was introduced for the
348 default string change ("$eof" -> "end of file"), but ideally we should
349 have a way to produce the same error message for either version of
352 2021-03-01 ihsinme <ihsinme@gmail.com>
354 I believe your checks are not correct. in my opinion they are equivalent to checks !=. I suggest a simple fix. only fix!
356 2021-02-25 Daiki Ueno <ueno@gnu.org>
358 Merge branch 'tmp-restore-size' into 'master'
359 SIZE: restore handling of SIZE nodes
361 See merge request gnutls/libtasn1!68
363 2021-02-25 Daiki Ueno <ueno@gnu.org>
365 Merge branch 'wip/dueno/ci-fixes' into 'master'
366 Merge !71 along with CI fixes
368 See merge request gnutls/libtasn1!74
370 2021-02-25 Stefan Weil <sw@weilnetz.de>
372 Remove NULL checks which are no longer needed
374 Fix handling of code which uses NULL pointers + offset
375 Apple clang optimizes illegal pointers like (der + counter) with
376 der == NULL which makes several tests fail, so better avoid that.
378 2021-02-25 Daiki Ueno <ueno@gnu.org>
380 doc: update copyright year
382 bootstrap.conf: require bison 3.6 or later
384 tests: adjust Test_parser error message to Bison 3.6+
385 Bison 3.6 refers YYEOF as "end of file" instead of "$end".
387 .gitlab-ci.yml: use Fedora 33 image
389 2020-09-10 Daiki Ueno <ueno@gnu.org>
391 Merge branch 'tmp-gnulib' into 'master'
392 src: link against libgnu.la for "c-ctype.h" symbols
396 See merge request gnutls/libtasn1!69
398 2020-09-05 Daiki Ueno <ueno@gnu.org>
400 lib: include "c-ctype.h" in a documented way
401 https://git.savannah.gnu.org/cgit/gnulib.git/tree/modules/c-ctype#n18
403 src: link against libgnu.la for "c-ctype.h" symbols
404 libtasn1.la now uses functions from "c-ctype.h", which needs the
405 tools to be linked with libgnu.la.
407 2020-05-25 Dmitry Baryshkov <dbaryshkov@gmail.com>
409 SIZE: restore handling of SIZE nodes
410 Gcr library uses asn1Parser to generate parsing tables. It has it's own
411 parser which handles SIZE nodes correctly. Several tests inside Gcr fail
412 if ASN.1 tables were rebuilt with SIZE nodes. Restore compatibility of
413 Gcr library with fresh libtasn1 by restoring support for SIZE nodes.
415 2020-05-13 Tim Rühsen <tim.ruehsen@gmx.de>
417 Merge branch 'tmp-length-fuzz' into 'master'
418 fuzz: add fuzzers for asn1_get_length_b/der
420 See merge request gnutls/libtasn1!65
422 2020-05-13 Dmitry Baryshkov <dbaryshkov@gmail.com>
424 run-clang.sh: work with out-of-tree builds
425 run-clang.sh contains rudimentary (incomplete) support for out-of-tree
426 builds. Fix it to work correctly.
428 fuzz: add fuzzers for asn1_get_length_b/der
429 Add two simple fuzzers for asn1_get_length_b/der.
431 2020-05-11 Tim Rühsen <tim.ruehsen@gmx.de>
433 Merge branch 'tmp-tests' into 'master'
434 Update testing routines
436 See merge request gnutls/libtasn1!64
438 2020-05-08 Dmitry Baryshkov <dbaryshkov@gmail.com>
440 Merge branch 'tmp-fix-16159' into 'master'
441 parser: fix parser2tree memory leak (and parsing error)
443 See merge request gnutls/libtasn1!67
445 2020-05-07 Tim Rühsen <tim.ruehsen@gmx.de>
447 Merge branch 'tmp-fix-docs' into 'master'
448 Misc fixes for documentation
452 See merge request gnutls/libtasn1!66
454 2020-05-07 Dmitry Baryshkov <dbaryshkov@gmail.com>
456 parser: fix parser2tree memory leak (and parsing error)
457 Fix oss-fuzz 16159, leak in parser2tree. The leak was caused by parser
458 code ignoring all defined types if first one was a known type.
460 2020-05-06 Dmitry Baryshkov <dbaryshkov@gmail.com>
462 libtasn1.h.in: merge asn1_static_node definition for gtk-doc
463 Gtk-doc fails to find asn1_static_node fields documentation. Merge
464 struct asn1_static_node_st with typedef asn1_static_node to let Gtk-doc
465 find the documentation.
467 libtasn1.h.in: update section documentation
468 Follow new gtk-doc section documentation format.
470 2020-05-06 Dmitry Baryshkov <dbaryshkov@gmail.com>
472 doc/reference: hide deprecated symbols
473 Put ASN1_DISABLE_DEPRECATED guards around deprecated symbols to stop
474 gtkdoc-scan from complaining.
478 2020-05-06 Dmitry Baryshkov <dbaryshkov@gmail.com>
480 doc/reference: skip gl headers
481 Do not parse gnulib headers.
483 doc/reference: work in out-of-tree builds
484 Point gtkdoc-scan to top_builddir to also scan libtasn1.h file generated
485 inside $(top_builddir)/lib/includes.
487 doc/Makefile.am: work correctly in out-of-tree builds
488 Reference $(srcdir)/Makefile.am rather than just Makefile.am to make it
489 work in out-of-tree builds.
491 2020-05-05 Dmitry Baryshkov <dbaryshkov@gmail.com>
493 fuzz: support running single test at a time
494 Support testing single input file at a time.
496 tests/crlf: enable calling asn1Decoding using VALGRIND
498 tests: remove --leak-check=no from scripts
499 Reenable valgrind's leaks checking in scripts
501 tests: run valgrind on a test, not on a shell
502 Rename scripts and use SH_LOG_COMPILER to call VALGRIND inside a script
503 rather than valgrinding the whole script (including bash and the rest of
506 2020-03-20 Tim Rühsen <tim.ruehsen@gmx.de>
508 Merge branch 'tmp-deprecation' into 'master'
511 See merge request gnutls/libtasn1!58
513 2020-03-20 Tim Rühsen <tim.ruehsen@gmx.de>
515 Replace deprecated macros in examples and fuzzers
517 Print deprecation warning for deprecated macros
518 Use _Pragma to print warning for using deprecated macros.
519 This is enabled for gcc >= 3.1.
521 2020-02-01 Nikos Mavrogiannopoulos <nmav@gnutls.org>
525 asn1_object_id_der: reformatted for gdoc detection
527 2020-01-19 Nikos Mavrogiannopoulos <nmav@gnutls.org>
533 2020-01-19 Nikos Mavrogiannopoulos <nmav@gnutls.org>
535 Merge branch 'tmp-oid-fix' into 'master'
536 asn1_get_object_id_der: enhance the range of decoded OIDs
540 See merge request gnutls/libtasn1!55
542 2020-01-11 Nikos Mavrogiannopoulos <nmav@gnutls.org>
544 Merge branch 'tmp-ber-constructed-octet-string' into 'master'
545 asn1_decode_simple_ber: added support for constructed definite octet string
547 See merge request gnutls/libtasn1!56
549 2020-01-11 Nikos Mavrogiannopoulos <nmav@redhat.com>
551 updated auto-generated files
553 asn1_object_id_der: introduced
554 This introduces a function to encode from a textual object
555 identifier to a DER encoding. This complements asn1_get_object_id_der().
557 2020-01-11 Nikos Mavrogiannopoulos <nmav@gnutls.org>
559 _asn1_object_id_der: expanded to handle all OIDs that can be decoded
560 In addition to making a more precise OID encoding, we add
563 2020-01-11 Nikos Mavrogiannopoulos <nmav@redhat.com>
565 asn1_get_object_id_der: enhance the range of decoded OIDs
566 The function would only successfully decode OIDs that started
567 with a single octet. This fixes that limitation.
571 2020-01-11 Nikos Mavrogiannopoulos <nmav@gnutls.org>
573 asn1_decode_simple_ber: added support for constructed definite octet string
574 This allows to decode the whole set of BER encodings for
577 _asn1_decode_simple_ber: allow empty fields
578 Allow empty subcomponents of BER OCTET STRINGS. These
579 are not prohibited by BER.
581 asn1_der_decoding2: force the right tag on DER
582 When decoding an OCTET STRING ensure that the right
583 tag is present when strict DER is specified.
585 asn1_der_decoding2: fix flag checking
588 This simplifies the use of the append() function and
589 fixes the error code on failure.
591 2020-01-07 Nikos Mavrogiannopoulos <nmav@gnutls.org>
593 .gitlab-ci.yml: save artifacts on failure
595 2020-01-07 Nikos Mavrogiannopoulos <nmav@redhat.com>
597 fuzz: added fuzzers for simple decoding functions
599 2020-01-02 Nikos Mavrogiannopoulos <nmav@gnutls.org>
601 Merge branch 'tmp-update-to-f31' into 'master'
602 .gitlab-ci.yml: use fedora 31
604 See merge request gnutls/libtasn1!54
606 2020-01-02 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
608 Updated copyright of manual to 2020
610 .gitlab-ci.yml: use fedora 31
612 2019-12-23 Nikos Mavrogiannopoulos <nmav@gnutls.org>
614 README.md: updated build badge
616 2019-12-23 Nikos Mavrogiannopoulos <nmav@gnutls.org>
618 Merge branch 'tmp-c-ctype' into 'master'
619 isdigit: replace with gnulib's c-ctype
621 See merge request gnutls/libtasn1!53
623 2019-12-23 Nikos Mavrogiannopoulos <nmav@gnutls.org>
625 isdigit: replace with gnulib's c-ctype
627 2019-11-21 Tim Rühsen <tim.ruehsen@gmx.de>
629 Merge branch 'tmp-correct-installed-files' into 'master'
630 fuzz: do not install generated fuzzers and tools
632 See merge request gnutls/libtasn1!52
634 2019-11-21 Nikos Mavrogiannopoulos <nmav@gnutls.org>
636 fuzz: do not install generated fuzzers and tools
640 2019-10-31 Nikos Mavrogiannopoulos <nmav@gnutls.org>
642 Merge branch 'tmp-use-after-free' into 'master'
643 _asn1_expand_object_id: added safety against use after free
645 See merge request gnutls/libtasn1!51
647 2019-10-31 Nikos Mavrogiannopoulos <nmav@redhat.com>
649 _asn1_expand_object_id: protect from unbounded recursion
650 That introduces a large maximum limit on the number of constants that can
651 be forming an object identifier. That protects from a large allocations of
652 memory in specially crafted .asn files.
655 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=17750
657 2019-10-31 Nikos Mavrogiannopoulos <nmav@redhat.com>
659 _asn1_expand_object_id: added safety against use after free
661 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16161
663 2019-10-25 Nikos Mavrogiannopoulos <nmav@gnutls.org>
665 Merge branch 'tmp-git2cl' into 'master'
666 ChangeLog: do not depend on git2cl [ci skip]
668 See merge request gnutls/libtasn1!50
670 2019-10-25 Nikos Mavrogiannopoulos <nmav@gnutls.org>
672 ChangeLog: do not depend on git2cl
673 This package is not universally available and its value is not
674 that significant to depend on.
676 2019-09-09 Tim Rühsen <tim.ruehsen@gmx.de>
678 Merge branch 'gtkdoc' into 'master'
679 doc/reference: don't add empty object hierarchy chapter
681 See merge request gnutls/libtasn1!49
683 2019-09-09 Ross Burton <ross.burton@intel.com>
685 doc/reference: don't add empty object hierarchy chapter
686 The object hierarchy section is empty because there are no GObjects in the
687 libtasn1 API. With gtk-doc 1.30 onwards if there are no objects then the object
688 hierarchy file won't exist, resulting in a failure when building the
691 | ../libtasn1-docs.xml:39: element include: XInclude error : could not load ../xml/tree_index.sgml, and no fallback was found
693 2019-08-09 Tim Rühsen <tim.ruehsen@gmx.de>
695 Merge branch 'tmp-gnutls-fuzzer' into 'master'
696 Add another fuzzer with code from gnutls
698 See merge request gnutls/libtasn1!48
700 2019-08-09 Tim Rühsen <tim.ruehsen@gmx.de>
702 Fix harmless integer overflows
703 This triggered several undefined behaviors when
704 CONST_DOWN is a signed integer:
709 2019-08-09 Tim Rühsen <tim.ruehsen@gmx.de>
711 Add first fuzz corpora for libtasn1_gnutls_der_fuzzer
713 Add new fuzzer libtasn1_pkix_der_fuzzer.c
714 This fuzzer is testing arbitrary DER input data with GnuTLS's ASN.1
715 definition (lib/gnutls.asn). Any issues found here likely have a
716 real world impact on every software using libgnutls.
718 2019-08-09 Tim Rühsen <tim.ruehsen@gmx.de>
720 Merge branch 'tmp-fix-ossfuzz-16249' into 'master'
721 Fix OSS-Fuzz issue 16249
723 See merge request gnutls/libtasn1!47
725 2019-08-09 Tim Rühsen <tim.ruehsen@gmx.de>
727 Fix OSS-Fuzz issue 16249
728 This removes an exit() during fuzzing which prevents fuzz progress.
730 2019-08-08 Tim Rühsen <tim.ruehsen@gmx.de>
732 Merge branch 'tmp-pkix-der-fuzzer' into 'master'
735 See merge request gnutls/libtasn1!46
737 2019-08-08 Tim Rühsen <tim.ruehsen@gmx.de>
739 Add first fuzz corpora for libtasn1_pkix_der_fuzzer
741 Add new fuzzer libtasn1_pkix_der_fuzzer.c
742 This fuzzer is testing arbitrary DER input data with GnuTLS's ASN.1
743 definition (lib/pkix.asn). So, any issues found here likely have a real world
744 impact on every software using libgnutls.
746 2019-08-02 Tim Rühsen <tim.ruehsen@gmx.de>
748 Merge branch 'tmp-fix-ossfuzz-16158' into 'master'
749 Fix null dereference in _asn1_expand_object_id()
751 See merge request gnutls/libtasn1!42
753 2019-08-02 Tim Rühsen <tim.ruehsen@gmx.de>
755 Fix null dereference in _asn1_expand_object_id()
756 Fixes OSS-Fuzz issue #16158
758 2019-08-02 Tim Rühsen <tim.ruehsen@gmx.de>
760 Merge branch 'tmp-issue-trackers' into 'master'
761 README.md: added links to issue trackers [ci skip]
763 See merge request gnutls/libtasn1!41
765 2019-08-02 Nikos Mavrogiannopoulos <nmav@gnutls.org>
767 README.md: added links to issue trackers [ci skip]
769 2019-08-01 Tim Rühsen <tim.ruehsen@gmx.de>
771 Merge branch 'tmp-fuzzing' into 'master'
772 Add initial fuzzing implementation
774 See merge request gnutls/libtasn1!38
776 2019-08-01 Tim Rühsen <tim.ruehsen@gmx.de>
778 Add fuzz corpora for libtasn1_array2tree_fuzzer
780 Add fuzz corpora for libtasn1_parser2tree_fuzzer
782 Fix memleaks in asn1_array2tree()
783 Introduce _asn1_delete_structure() that keeps the node list
784 in sync when deleting a tree structure.
786 Suppress warnings when fuzzing
788 2019-08-01 Tim Rühsen <tim.ruehsen@gmx.de>
791 The initial fuzzing includes two basic fuzzers:
792 - libtasn1_array2tree_fuzzer.c
793 Test asn1_array2tree()'s robustness
794 - libtasn1_parser2tree_fuzzer.c
795 Test asn1_parser2tree()'s robustness
797 The make target 'oss-fuzz' is included for building the fuzzers
798 on the OSS-Fuzz platform for continuous fuzzing.
800 2019-07-30 Tim Rühsen <tim.ruehsen@gmx.de>
802 Merge branch 'tmp-fix-path' into 'master'
803 docs: Fix path for ASN1.c
805 See merge request gnutls/libtasn1!40
807 2019-07-30 Tim Rühsen <tim.ruehsen@gmx.de>
809 docs: Fix path for ASN1.c
811 2019-07-29 Tim Rühsen <tim.ruehsen@gmx.de>
813 Merge branch 'tmp-20190727-delete-cyclo-subdir' into 'master'
814 doc: removed cyclo subdir
816 See merge request gnutls/libtasn1!39
818 2019-07-29 Andreas Metzler <ametzler@bebt.de>
820 doc: removed cyclo subdir
821 The calculation of cyclomatic complexity was not kept up to date (or
822 functional in the tarball).
824 2019-07-28 Nikos Mavrogiannopoulos <nmav@gnutls.org>
826 Merge branch 'tmp-minor-fixes' into 'master'
827 Minor fixes based on LGTM.com input
829 See merge request gnutls/libtasn1!37
831 2019-07-28 Nikos Mavrogiannopoulos <nmav@gnutls.org>
833 Merge branch 'tmp-fix-memleak-b' into 'master'
834 ASN1.y: improved detection of built-in types
838 See merge request gnutls/libtasn1!36
840 2019-07-28 Nikos Mavrogiannopoulos <nmav@gnutls.org>
842 _asn1_copy_structure3: removed FIXME comment
843 It was hinting the possibility of a leak. However without any
844 more information, any reproducer, or hint the information was not very
845 useful and possibly misleading. Removing.
847 headers: added guards
849 2019-07-28 Nikos Mavrogiannopoulos <nmav@gnutls.org>
851 ASN1.y: improved detection of built-in types
852 The built-in types are now detected via the yacc syntax and not
853 in the _asn1_yyerror() routine. This addresses a memory leak on
854 invalid syntax, and also reduces the generated tree by eliminating
859 2019-07-28 Nikos Mavrogiannopoulos <nmav@gnutls.org>
861 Merge branch 'tmp-no-yacc-warnings' into 'master'
862 ASN1.y: move old definitions to new; remove warnings
864 See merge request gnutls/libtasn1!35
866 2019-07-27 Nikos Mavrogiannopoulos <nmav@gnutls.org>
868 ASN1.y: move old definitions to new; remove warnings
869 Autotools pass by the default the posix yacc (-y) flag to bison,
870 which causes lots of warnings to be printed. As libtasn1 was never
871 posix-yacc compliant there is no reason for these warnings to be
874 2019-07-27 Tim Rühsen <tim.ruehsen@gmx.de>
876 Merge branch 'tmp-20190727-typo-whith' into 'master'
877 typo fix: whith -> with
879 See merge request gnutls/libtasn1!34
881 2019-07-27 Andreas Metzler <ametzler@bebt.de>
883 typo fix: whith -> with
885 2019-07-26 Tim Rühsen <tim.ruehsen@gmx.de>
887 Add .lgtm.yml for LGTM integration [ci skip]
889 2019-07-25 Tim Rühsen <tim.ruehsen@gmx.de>
891 Cleanup asn1_parser2tree()
893 2019-07-24 Tim Rühsen <tim.ruehsen@gmx.de>
895 Merge branch 'tmp-fix-memleak+ubsan' into 'master'
896 Tmp fix memleak+ubsan
898 See merge request gnutls/libtasn1!33
900 2019-07-24 Tim Rühsen <tim.ruehsen@gmx.de>
902 Fix memleaks in asn1_parser2tree(), found by fuzzing
904 Fix two (harmless) UBSAN messages, found by fuzzing
906 2019-07-24 Tim Rühsen <tim.ruehsen@gmx.de>
908 Merge branch 'tmp-simplify-hash' into 'master'
909 Simplified hash function in lib/parser_aux.c
911 See merge request gnutls/libtasn1!32
913 2019-07-24 Tim Rühsen <tim.ruehsen@gmx.de>
915 Simplified hash function in lib/parser_aux.c
917 2019-07-24 Tim Rühsen <tim.ruehsen@gmx.de>
919 Merge branch 'tmp-am-ldflags' into 'master'
920 Fix LDFLAGS to AM_LDFLAGS in src/Makefile.am
924 See merge request gnutls/libtasn1!31
926 2019-07-23 Tim Rühsen <tim.ruehsen@gmx.de>
928 Merge branch 'tmp-avoid-eol-brackets' into 'master'
929 Tmp avoid eol brackets
931 See merge request gnutls/libtasn1!30
933 2019-07-23 Tim Rühsen <tim.ruehsen@gmx.de>
935 Fix LDFLAGS to AM_LDFLAGS in src/Makefile.am
937 Add sc_prohibit_eol_brackets syntax-check rule
939 Prepare code for sc_prohibit_eol_brackets
941 2019-07-23 Tim Rühsen <tim.ruehsen@gmx.de>
943 Merge branch 'tmp-memleak-a' into 'master'
944 Fix memleaks in asn1_array2tree()
948 See merge request gnutls/libtasn1!29
950 2019-07-23 Tim Rühsen <tim.ruehsen@gmx.de>
952 Add memleak reproducer in tests/reproducers.c
954 Fix two memleaks in asn1_array2tree()
956 2019-07-23 Tim Rühsen <tim.ruehsen@gmx.de>
958 Merge branch 'tmp-warnings' into 'master'
959 Fix warnings and add a Werror build
961 See merge request gnutls/libtasn1!28
963 2019-07-23 Nikos Mavrogiannopoulos <nmav@redhat.com>
965 configure: do not suggest pure keyword
966 It is suggested for several functions which handle nodes
967 but it is not clear to me that this is a correct suggestion.
968 A tree may change by accessing another pointer as well.
970 marked strerror and check_version functions as pure
972 .gitlab-ci.yml: introduce a run with -Werror to prevent new warnings
974 asn1Decoding.c: eliminated warning
976 configure: remove warning flags which are hard to eliminate
978 fix old-style function definition
980 2019-07-22 Tim Rühsen <tim.ruehsen@gmx.de>
982 Merge branch 'tmp-amended-hash' into 'master'
983 Use amended version of gnulib's hash_pjw_bare()
987 See merge request gnutls/libtasn1!27
989 2019-07-22 Tim Rühsen <tim.ruehsen@gmx.de>
991 Use amended version of gnulib's hash_pjw_bare()
992 Amended hash_pjw_bare() to return 'unsigned int' instead of 'size_t'.
993 Renamed the hash function to _asn1_hash().
994 Added a suppression for clang's UBSAN, needed for fuzzing.
996 2019-07-22 Tim Rühsen <tim.ruehsen@gmx.de>
998 Merge branch 'tmp-parsing-fixes' into 'master'
999 Fixes and cleanups in the yacc parser
1001 See merge request gnutls/libtasn1!24
1003 2019-07-21 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1005 .gitlab-ci.yml: disable valgrind runs by default; added special CI run
1007 SIZE: do not store values; they were unused
1008 Additionally some of these values were incorrectly added as
1009 hanging (non-connected) nodes, which caused memory leaks.
1011 INTEGER: ignore (0..MAX) values; they were not used
1012 Additionally some of these values were incorrectly added as
1013 hanging (non-connected) nodes, which caused memory leaks.
1015 _asn1_expand_object_id: fix memory leak on error
1017 2019-07-21 Nikos Mavrogiannopoulos <nmav@redhat.com>
1019 ASN1.y: account for SIZE in BIT STRING
1020 This addresses a memory leak.
1022 2019-07-21 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1024 tests: fix run under valgrind
1026 2019-07-21 Nikos Mavrogiannopoulos <nmav@redhat.com>
1028 asn1_parser2tree, ans1_parser2array: simplified
1030 2019-07-21 Tim Rühsen <tim.ruehsen@gmx.de>
1032 Merge branch 'tmp-fix-uint-overflow' into 'master'
1033 Fix uint overflow using explicit casts
1037 See merge request gnutls/libtasn1!26
1039 2019-07-21 Tim Rühsen <tim.ruehsen@gmx.de>
1041 Merge branch 'tmp-gcc-manywarnings' into 'master'
1042 Add manywarnings module
1044 See merge request gnutls/libtasn1!25
1046 2019-07-21 Tim Rühsen <tim.ruehsen@gmx.de>
1048 Fix uint overflow using explicit casts
1050 Add manywarnings module
1051 --disable-gcc-manywarning was offered by ./configure but
1054 2019-07-21 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1056 cfg.mk: set release type [ci skip]
1058 cfg.mk: removed legacy rules
1062 2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>
1064 Fix endless loop in _asn1_check_identifier()
1066 2019-07-19 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1068 tests: removed VALGRIND variable from environment
1070 2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>
1072 Add version number defines for libtasn1.h
1074 2019-07-19 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1076 repo: require bison for building
1078 2019-07-19 Nikos Mavrogiannopoulos <nmav@redhat.com>
1080 tools: included in code coverage
1082 .gitmodules: gnulib repo was moved to gitlab mirror
1084 2019-07-18 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1086 Merge branch 'tmp-mingw32' into 'master'
1087 .gitlab-ci.yml: ensure that we don't have libtasn1 installed in windows build
1089 See merge request gnutls/libtasn1!21
1091 2019-07-18 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1093 Merge branch 'tmp-fixes' into 'master'
1098 See merge request gnutls/libtasn1!20
1100 2019-07-18 Nikos Mavrogiannopoulos <nmav@redhat.com>
1102 asn1Coding: minor improvements and memory allocation checks
1105 2019-07-18 Nikos Mavrogiannopoulos <nmav@redhat.com>
1107 asn1Parser: address static analyzer warnings
1108 We exit on invalid input; in practice input cannot be
1109 invalid unless there is a getopt() bug.
1113 2019-07-18 Nikos Mavrogiannopoulos <nmav@redhat.com>
1115 .gitlab-ci.yml: ensure that we don't have libtasn1 installed in windows build
1117 2019-07-18 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1119 Merge branch 'tmp-coverage' into 'master'
1120 Added code coverage capture which is included in web site
1122 See merge request gnutls/libtasn1!15
1124 2019-07-18 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1126 Merge branch 'tmp-remove-maint.mk' into 'master'
1127 Remove maint.mk from repo
1129 See merge request gnutls/libtasn1!18
1131 2019-07-18 Nikos Mavrogiannopoulos <nmav@redhat.com>
1133 Added code coverage capture which is included in web site
1135 2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>
1137 Merge branch 'tmp-remove-m4-gl' into 'master'
1140 See merge request gnutls/libtasn1!14
1142 2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>
1144 Remove maint.mk from repo
1146 Remove lib/gl from repo
1148 Remove auto-generated m4-gl/ from repo
1150 2019-07-18 Nikos Mavrogiannopoulos <nmav@redhat.com>
1152 LICENSE: fix blank spaces to pass syntax-check
1156 Added LICENSE file describing the license terms
1158 2019-07-17 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1160 Merge branch 'tmp-single-gnulib-copy' into 'master'
1161 gnulib: keep a single gnulib in the repo
1163 See merge request gnutls/libtasn1!13
1165 2019-07-17 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1167 _asn1_copy_structure3: eliminate warning in clang run
1171 .gitlab-ci.yml: added make distcheck run
1173 README: merged alpha and README.md
1175 2019-07-17 Nikos Mavrogiannopoulos <nmav@redhat.com>
1177 gnulib: introduced bootstrap
1178 This removes all gnulib files, which are auto-generated via
1181 gnulib: update and merge
1182 This merges the two copies of the gnulib, removes unnecessary
1183 wrappers or dependencies that are not under lgpl2.
1185 2019-07-16 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1187 Merge branch 'tmp-fix-cve-2018-1000654' into 'master'
1188 Fix and reproducer for cve-2018-1000654
1192 See merge request gnutls/libtasn1!11
1194 2019-07-16 Nikos Mavrogiannopoulos <nmav@redhat.com>
1196 tests: added basic regression test of asn1Parser
1202 ASN.1: updated auto-generated file
1204 _asn1_add_static_node: made thread safe
1206 2019-07-16 Mike Gorse <mgorse@alum.wpi.edu>
1208 _asn1_expand_object_id: Limit recursion
1211 2019-07-16 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1213 tests: added reproducer for CVE-2018-1000654
1215 2019-07-12 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1217 updated auto-generated files
1219 asn1_parser2array: convert dashes to underscores
1221 2019-07-11 Nikos Mavrogiannopoulos <nmav@redhat.com>
1223 doc update [ci skip]
1225 2019-07-11 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1227 Merge branch 'tmp-asn1_node_const' into 'master'
1228 Make use of const variant of asn1_node
1230 See merge request gnutls/libtasn1!9
1232 2019-07-11 Tim Rühsen <tim.ruehsen@gmx.de>
1234 Update ABI dump files
1236 Make use of const variant of asn1_node
1238 2019-07-11 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1240 Merge branch 'tmp-ci-updates' into 'master'
1243 See merge request gnutls/libtasn1!10
1245 2019-07-10 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1249 .gitlab-ci.yml: check ABI and make dist
1251 2019-07-10 Nikos Mavrogiannopoulos <nmav@redhat.com>
1253 .gitlab-ci.yml: ensure libtasn1-devel is not installed
1257 2019-03-29 Nikos Mavrogiannopoulos <nmav@redhat.com>
1259 removed debugging code
1261 2019-01-05 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1263 configure: fix gcc-8 Wabi warnings
1265 2019-01-05 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1267 Merge branch 'tmp-updated-builders' into 'master'
1268 .gitlab-ci.yml: updated builders to latest used by gnutls
1272 See merge request gnutls/libtasn1!7
1274 2019-01-05 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1276 asn1_der_coding: added extra checks to avoid copying on null variable
1277 The existing checks were sufficient on normal input, but improved for
1278 some illegal input. Detected by static analyzer.
1280 ASN1.y: safer use of snprintf to detect issues with oversize value
1283 .gitlab-ci.yml: save the static analyzers' output
1285 .gitlab-ci.yml: gnutls is run using bootstrap
1287 doc: updated copyright year
1289 .gitlab-ci.yml: updated builders to latest used by gnutls
1291 2018-12-12 Nikos Mavrogiannopoulos <nmav@redhat.com>
1293 .gitlab-ci.yml: fixed web pages generation
1295 .gitlab-ci.yml: added manual build
1298 2018-06-16 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1300 CONTRIBUTING.md: added and refer to GnuTLS contribution guide
1304 2018-06-16 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1306 Merge branch 'tmp-2018-fix-gtk-doc' into 'master'
1307 Update/fix gtk-doc support
1309 See merge request gnutls/libtasn1!4
1311 2018-05-27 Andreas Metzler <ametzler@bebt.de>
1313 Add gtk-doc-strings for compat #defines and ASN1_VERSION:
1315 Make existing comments parseable by gtk-doc
1317 gtk-doc: Add long and short project descriptions
1319 Sync function declarations in header and .c
1320 The public header and the .c file need to use not only the same
1321 argument types but also the same argument identifiers. Otherwise
1324 gtk-doc: Fix typo in function description identifier.
1326 Drop base indent (2 spaces) for gtk-doc compatibility
1327 gtkdoc-scan expects struct definitions to start at the start
1330 Use .xml filename for gtk-doc
1331 gtk-doc uses a .xml instead of .sgml filename by default nowadays.
1333 Update gtk-doc files
1334 Update gtk-doc infrastructure from gtk-doc-tools 1.28.
1335 Drop superfluous file. Since gtk-doc >= 1.25 generates
1336 xml/gtkdocentities.ent there is no need to export the package version to
1337 xml from ./configure.
1339 2018-05-21 Nikos Mavrogiannopoulos <nmav@redhat.com>
1341 removed README from git, and fixed newline in README.md
1344 This allows pointing to the CI results.
1346 2018-05-20 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1348 Merge branch 'tmp-move-to-f28' into 'master'
1349 .gitlab-ci.yml: move to f28 build images
1351 See merge request gnutls/libtasn1!5
1353 2018-05-20 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1355 coding: added sanity check on input parameters
1357 decoding: avoid potential truncation with snprintf
1359 .gitlab-ci.yml: move to f28 build images
1361 2018-03-06 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1363 Merge branch 'tmp-simplify-setof-sorting' into 'master'
1364 simplify sorting of setof items
1366 See merge request gnutls/libtasn1!2
1368 2018-03-06 Nikos Mavrogiannopoulos <nmav@redhat.com>
1370 coding: simplify ordering of SET OF elements
1371 That moves to using qsort instead of implementing
1374 tests: added unit test of setof encoding
1376 2018-03-05 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1378 Merge branch 'tmp-gitlab-ci-update' into 'master'
1379 Added static analyzers and gnutls test suite
1381 See merge request gnutls/libtasn1!3
1383 2018-03-05 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1385 work-around clang analyzer issues
1386 This allows using the analyzer to detect potential new
1387 issues in code base.
1389 several fixes for make syntax-check
1391 doc: corrected copyright date
1393 .gitlab-ci.yml: added static-analyzers and gnutls build
1395 2018-01-16 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1399 2018-01-09 Nikos Mavrogiannopoulos <nmav@redhat.com>
1401 Improved documentation on decoding flags
1403 2018-01-04 Nikos Mavrogiannopoulos <nmav@redhat.com>
1405 .gitlab-ci.yml: removed references to i686 package installation
1411 _asn1_decode_simple_ber: restrict the levels of recursion to 3
1412 On indefinite string decoding, setting a maximum level of recursions
1413 protects the BER decoder from a stack exhaustion due to large amounts
1416 tests: Added octet string which causes a large number of recursions
1417 That could lead in stack exhaustion.
1419 2017-06-30 Nikos Mavrogiannopoulos <nmav@redhat.com>
1421 _asn1_check_identifier: safer access to values read
1423 2017-05-29 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1427 fixed so-version bump
1429 2017-05-27 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1431 regenerated ASN1.c file
1435 2017-05-19 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1439 2017-05-18 Nikos Mavrogiannopoulos <nmav@redhat.com>
1441 tests: added reproducer for encoding issue
1443 tests: added reproducer for encoding issue
1445 asn1_find_node: added safety check on asn1_find_node()
1446 This prevents a stack overflow in asn1_find_node() which
1447 is triggered by too long variable names in the definitions
1448 files. That means that applications have to deliberately
1449 pass a too long 'name' constant to asn1_write_value()
1450 and friends. Reported by Jakub Jirasek.
1454 tests: check decoding with ASN1_DECODE_FLAG_ALLOW_INCORRECT_TIME flag
1456 asn1Decoding: allow decoding with ASN1_DECODE_FLAG_ALLOW_INCORRECT_TIME flag
1458 decoding: added flag ASN1_DECODE_FLAG_ALLOW_INCORRECT_TIME
1459 This flag allows decoding errors in time fields even when
1460 in strict DER mode. That is introduced in order to allow
1461 toleration of invalid times in certificates (which are common)
1462 even though strict DER adherence is enforced in other fields.
1464 2017-05-01 Nikos Mavrogiannopoulos <nmav@redhat.com>
1468 Introduced error code ASN1_TIME_ENCODING_ERROR
1469 This error code indicates an invalid encoding in the TIME
1472 2017-01-19 Nikos Mavrogiannopoulos <nmav@redhat.com>
1474 tests: cast to avoid compiler warning
1476 DER decoding: check the return value of _asn1_append_sequence_set
1477 Ensure that the return value of _asn1_append_sequence_set. This
1478 addresses a potential NULL pointer dereference.
1480 2017-01-17 Nikos Mavrogiannopoulos <nmav@redhat.com>
1482 Cast input to isdigit() to integer
1483 That prevents complaints from isdigit() implementations using
1484 the input as an array index without casting.
1486 2017-01-16 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1488 tests: added missing file (mscat.asn)
1490 Makefile: added abi-dump target
1492 Updated ABI dump with a more precise dump of the 3.0 library
1496 2017-01-16 Nikos Mavrogiannopoulos <nmav@redhat.com>
1498 added missing gnulib files
1502 asn1_get_length_ber: pass the correct length to _asn1_get_indefinite_length_string
1503 This addresses reading 1-byte past the end of data.
1507 tests: added additional invalid PKCS#7 structs
1508 These structures cause a read overflow in the heap.
1510 _asn1_ltostr: avoid undefined negation of int64_t
1511 Use cast to (uint64_t) and negation instead.
1515 Bring in par valgrind and asan tests
1516 Ensure that exit code on failure is something different
1517 than "1" (to detect parsing errors from heap errors), and
1518 that address sanitizer will not detect leaks (there are few
1519 by design leaks in libtasn1).
1521 tests: run decoding-invalid-pkcs7 on make check
1523 .gitlab-ci.yml: install bison on all platforms
1525 2017-01-13 Nikos Mavrogiannopoulos <nmav@redhat.com>
1527 .gitlab-ci.yml: force mingw32 build in gitlab shared runners
1528 That is, because this build requires a privileged container.
1530 tests: added missing file
1532 2017-01-13 Nikos Mavrogiannopoulos <nmav@redhat.com>
1534 _asn1_ltostr: ensure that input value will always be printed
1535 That is, use an unsigned type to store the output of the negation
1536 (in case the input is negative).
1538 This addresses the issue found in PKCS#7 decoding:
1539 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=388
1541 2017-01-13 Nikos Mavrogiannopoulos <nmav@redhat.com>
1543 tests: added invalid PKCS#7 struct checks
1544 The added struct causes an integer overflow.
1546 decoding-invalid-x509: output log on error
1548 2016-12-05 Vasiliy Olekhov <olekhov@gmail.com>
1550 MSVS 2013 and 2015 native builds
1552 2016-10-24 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1554 tests: added copyright statements to files
1558 2016-10-24 Andreas Schneider <asn@samba.org>
1560 Add spc_pe_image_data test
1562 2016-10-11 Nikos Mavrogiannopoulos <nmav@redhat.com>
1566 2016-10-04 Nikos Mavrogiannopoulos <nmav@redhat.com>
1568 benchmark: made alarm handler static
1569 This prevents a compiler warning.
1571 2016-09-27 Nikos Mavrogiannopoulos <nmav@redhat.com>
1573 .gitlab-ci.yml: added mingw32 build
1575 Makefile.am: only build examples if documentation is also built
1577 tests: use the 'rb' modifier in fopen
1578 This allows the tests to be run under wine.
1580 2016-09-11 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1586 2016-09-01 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1588 .gitlab-ci.yml: use shared gitlab.com runners for CI
1590 2016-07-27 Nikos Mavrogiannopoulos <nmav@redhat.com>
1592 .gitlab-ci.yml: added build with clang
1594 ASN1.c: regenerated with bison 3.0.4
1596 ASN1.y: updated for new yacc syntax (according to bison warnings)
1598 2016-07-27 Andreas Metzler <ametzler@bebt.de>
1600 Fix some typoes found by lintian.
1602 2016-07-26 Nikos Mavrogiannopoulos <nmav@redhat.com>
1604 gnulib: added missing verify.h
1610 tools: eliminated compiler warnings
1612 parser_aux: corrected potential null pointer dereferences
1614 ASN.y: corrected compiler warning
1616 configure: don't add -Werror to build flags
1620 2016-07-25 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1624 2016-07-08 Nikos Mavrogiannopoulos <nmav@redhat.com>
1626 tests: added unit tests for asn1_get_object_id_der()
1628 asn1_get_object_id_der: doc update
1630 2016-07-08 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1632 .gitlab-ci.yml: added separate builds for x86 and x86_64
1634 encode and decode object identifiers with elements larger than 2^32 in 32-bit systems
1636 2016-07-07 Nikos Mavrogiannopoulos <nmav@redhat.com>
1640 tests: add test for OIDs with elements larger than 2^32
1641 That is, add a check which re-encodes a certificate which contains
1642 OIDs with elements of size > 2^32.
1644 _asn1_objectid_der: encode object identifiers with elements larger than 2^32
1646 2016-06-03 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1648 asn1Decoding: Simplified allocation and copy
1649 Based on patch and suggestions by Pascal Cuoq.
1651 2016-04-29 Nikos Mavrogiannopoulos <nmav@redhat.com>
1653 configure: enable all gcc warnings by default
1655 2016-04-20 Nikos Mavrogiannopoulos <nmav@redhat.com>
1657 decoding: removed unused constants
1659 decoding: added null pointer check
1661 _asn1_append_sequence_set: fail if _asn1_copy_structure3 fails
1663 coding: prevented an unsigned to signed conversion
1665 2016-04-11 Nikos Mavrogiannopoulos <nmav@redhat.com>
1667 added ABI check for x86-64 as part of release process
1669 2016-04-11 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1671 tests: corrected inclusion of new files
1675 2016-04-08 Nikos Mavrogiannopoulos <nmav@redhat.com>
1677 tests: added several invalid certificates
1678 Provided by Pascal Cuoq.
1682 _asn1_expand_object_id: addressed crash when no value is present is node
1683 With a specially crafted ASN.1 description _asn1_expand_object_id,
1684 passes a null pointer as p4->value to the function _asn1_str_cat,
1685 which expects a pointer to a string. This patch addresses the issue.
1686 Reported by Pascal Cuoq.
1688 tests: removed OCSP choice known issue tags; it is now resolved
1690 tests: corrected byKey definition
1691 OCSP is defined in an EXPLICIT tags module, and as such
1692 we must tag explicitly all of its tags.
1694 decoding: removed redundant functions
1695 Simplified the STRING BER decoding by using asn1_decode_simple_ber().
1696 This removes complex duplicate code.
1698 tests: added various octet string encoding/decoding tests
1699 This includes BER and DER decodings.
1701 asn1_decode_simple_ber: simplified and cleaned up
1703 tests: added check on OCSP BasicOCSPResponse parsing
1705 2016-04-07 Nikos Mavrogiannopoulos <nmav@redhat.com>
1707 asn1_get_octet_der: doc update
1709 tests: removed non-existant file from Makefile
1711 2016-04-06 Nikos Mavrogiannopoulos <nmav@redhat.com>
1713 _asn1_extract_der_octet: properly account the bytes read through indefinite encodings
1714 This prevents infinite recursions in the function loop.
1715 Reported by Pascal Cuoq.
1717 2016-04-05 Nikos Mavrogiannopoulos <nmav@redhat.com>
1719 tests: corrected invalid input to asn1Decoding
1721 tests: enhance the test suite with more invalid X.509 input
1722 The input was provided by Pascal Cuoq.
1724 2016-04-04 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1726 libtasn1.h: updated for 4.8
1728 tests: avoid errors on known memory leaks from _asn1_add_static_node
1730 document the global state issue
1732 2016-04-04 Nikos Mavrogiannopoulos <nmav@redhat.com>
1734 tests: added missing decoding-inf
1740 _asn1_extract_der_octet: catch invalid input cases early
1741 That is, check the calculated lengths for validity prior
1742 to entering a loop. This avoids an infinite recursion.
1743 Reported by Pascal Cuoq.
1745 tests: added check on infinite recursion
1747 Simplify _asn1_append_value() and avoid memcpy's with zero length
1748 Based on patch of Pascal Cuoq <pascal.cuoq@trust-in-soft.com>
1750 use a safer variant of realloc
1751 This variant does not create memory leaks if allocation fails.
1752 Report and initial patch by Pascal Cuoq.
1754 decoding: improved tail cache in _asn1_append_sequence_set
1755 We keep the head node in addition to the tail information
1756 to allow easier deduction of the validity of the cache.
1758 2016-04-03 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1760 fixed incorrect parameter to _asn1_append_sequence_set()
1761 This was uncovered by the previous revert, and seemed working
1762 due to the optimization semantics.
1764 Revert "optimized _asn1_find_up()."
1765 This reverts commit 4010bb04588fca86a9f6d683b637c05b4cec24e0.
1766 This optimization did not offer much benefit and there may be
1767 corner cases in the internal structure handling that may not
1768 be possibly to handle with this optimization.
1772 2016-04-03 Pascal Cuoq <pascal.cuoq@trust-in-soft.com>
1774 %x expects an unsigned int, but unsigned char is promoted to int
1776 2016-02-29 Nikos Mavrogiannopoulos <nmav@redhat.com>
1778 .gitlab-ci.yml: added libubsan builds
1780 coding: Fixes to prevent undefined behavior (found with libubsan)
1782 .gitlab-ci.yml: don't build documentation
1784 configure: added --disable-doc
1785 This allows to conditionally build the documentation
1787 Added .gitlab-ci.yml
1789 2016-01-08 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1791 der_coding: always null terminate errorDescription
1793 asn1_array2tree: always null terminate errorDescription
1795 2015-09-18 Nikos Mavrogiannopoulos <nmav@redhat.com>
1797 doc enhanced the asn1Coding example
1799 asn1Coding: Allow handling NULL values
1801 2015-09-14 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1803 libtasn1.h updated version
1809 2015-09-14 Nikos Mavrogiannopoulos <nmav@redhat.com>
1813 tests: added check for EXPLICIT encoding of tagged values
1814 This catches the regression introduced by multi-byte tags fix.
1816 corrected regression in multi-byte tag handling
1817 That is don't treat the explicit tag as part of the inner tag.
1819 2015-09-05 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1823 2015-06-20 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1825 don't export asn1_get_time_der
1827 2015-06-08 Nikos Mavrogiannopoulos <nmav@redhat.com>
1831 tests: added encoding and decoding check with multi-byte tags
1833 Allow decoding octet strings with multi-byte tags
1834 Report and initial patch by Tomas Petrilak.
1836 simplified asn1_get_time_der
1838 2015-06-02 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1842 export asn1_get_time_der()
1846 export asn1_get_object_id_der
1848 enforce type checks in asn1_decode_simple_der and ber
1850 2015-04-29 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1856 2015-04-20 Nikos Mavrogiannopoulos <nmav@redhat.com>
1860 tests: Added test case based on Hanno Boeck's certificate
1862 asn1Decoding: added a debug flag which enforces strict memory alignment
1864 asn1Decode: added --strict option
1866 _asn1_extract_der_octet: prevent past of boundary access
1867 Reported by Hanno Böck.
1869 2015-03-29 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1873 2015-03-26 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1879 increased size of LTOSTR_MAX_SIZE to account for sign and null byte
1880 This address an overflow found by Hanno Böck in DER decoding.
1882 2015-03-09 Alon Bar-Lev <alon.barlev@gmail.com>
1884 build: tests: fix Test_choice_ocsp on separate builddir
1886 2015-03-09 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1888 updated auto-generated files
1890 updated copyright dates
1894 2015-03-06 Nikos Mavrogiannopoulos <nmav@redhat.com>
1898 updated error text in Test_choice_ocsp
1900 simplified string test for BER
1902 asn1_decode_simple_ber() will decode unsupported types as DER
1904 2015-03-04 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1908 2015-03-04 Nikos Mavrogiannopoulos <nmav@redhat.com>
1918 tests: Added tests for asn1_decode_simple_ber
1920 Added asn1_decode_simple_ber()
1922 2015-02-05 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1924 only assign value if the previous node has one
1925 This addresses the crash in the ASN.1 definitions parser
1926 reported in http://lists.gnu.org/archive/html/help-libtasn1/2015-01/msg00000.html
1928 2014-11-14 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1930 Added test for ResponseData decoding-encoding issue
1936 2014-09-15 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1944 2014-09-15 Nikos Mavrogiannopoulos <nmav@redhat.com>
1946 enforce the new time tests only in strict DER mode
1948 2014-09-04 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1952 2014-09-04 Nikos Mavrogiannopoulos <nmav@redhat.com>
1956 corrected regression which caused the failure of octet string extraction
1957 This affected octet strings placed at the end of the structure.
1958 Fixes issue with OCSP response parsing in gnutls.
1962 2014-08-29 Nikos Mavrogiannopoulos <nmav@redhat.com>
1968 perform sanity checks in Time field
1970 2014-08-23 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1974 2014-08-20 Nikos Mavrogiannopoulos <nmav@gnutls.org>
1978 tests: Added test for ASN1_DECODE_FLAG_STRICT_DER flag
1979 The PKCS #12 BER encoded data are tested to fail decoding
1980 if this flag is set.
1984 Added decoding flag ASN1_DECODE_FLAG_STRICT_DER
1986 2014-08-20 Nikos Mavrogiannopoulos <nmav@redhat.com>
1988 corrected check for infinite encoding
1990 tests: added additional test for the indefinite any tag
1996 BER decoding: corrected indefinite tag check in ANY constructions
1998 Added another BER-encoded PKCS #12 file to test indefinite decoding
2000 2014-07-29 Nikos Mavrogiannopoulos <nmav@redhat.com>
2002 threadsafety: use $# instead of $1
2003 That works around an issue with an "unbound variable" error
2004 in latest automakes. Reported by LRN.
2006 2014-07-24 Nikos Mavrogiannopoulos <nmav@redhat.com>
2010 2014-06-26 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2014 2014-06-26 Nikos Mavrogiannopoulos <nmav@redhat.com>
2016 doc: Added new functions
2020 2014-06-20 Nikos Mavrogiannopoulos <nmav@redhat.com>
2026 2014-06-20 Karel Slany <karel.slany@nic.cz>
2028 Renamed asn1_der_decoding_relaxed(), added ASN1_DECODE_FLAG_ALLOW_PADDING.
2030 Added asn1_der_decoding_relaxed().
2032 2014-06-19 Nikos Mavrogiannopoulos <nmav@redhat.com>
2040 2014-06-17 Nikos Mavrogiannopoulos <nmav@redhat.com>
2050 2014-06-09 Nikos Mavrogiannopoulos <nmav@redhat.com>
2054 When encoding DER note the positions of the DER start and end.
2055 That will allow using asn1_der_decoding_startEnd() without
2056 performing decoding.
2058 Added new test that combines asn1_der_decoding_startEnd() with asn1_der_coding().
2060 Added copyright information
2062 Added test for asn1_der_decoding_startEnd() after an asn1_dup_node().
2064 When duplicating a node, keep the DER start and end information.
2066 decoding: corrected the end position of the total structure.
2068 2014-06-08 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2070 remove -Werror from automake
2072 2014-06-08 Alon Bar-Lev <alon.barlev@gmail.com>
2074 build: tests: fix Test_choice within separate builddir
2076 2014-06-05 Nikos Mavrogiannopoulos <nmav@redhat.com>
2078 Document that ider and ider_len are optional in asn1_der_decoding_startEnd()
2080 updated map file for asn1_dup_node
2082 renamed asn1_copy_node2 to asn1_dup_node
2084 2014-06-04 Nikos Mavrogiannopoulos <nmav@redhat.com>
2088 DER decoding: optimize tail seek by using the value providing by _asn1_append_sequence_set.
2090 Optimized _asn1_append_sequence_set() by caching the tail of the element to append on.
2094 asn1_read_value() and friends understand the ?CURRENT keyword.
2095 That keyword allows to specify the current element if the given
2096 node is a node in a sequence or set.
2098 optimized _asn1_find_up().
2100 more efficient check for '?LAST' and error checking.
2102 2014-06-03 Nikos Mavrogiannopoulos <nmav@redhat.com>
2104 Add a sanity check in asn1_der_decoding_startEnd()
2106 2014-05-30 Nikos Mavrogiannopoulos <nmav@redhat.com>
2108 removed unused variable
2112 Added asn1_copy_node2()
2114 Added test for asn1_copy_node()
2116 simplified and optimized asn1_der_decoding_startEnd().
2117 The second pass decoding is now avoided as the start and end
2118 values are cached during decoding.
2120 Added check for decoding_startEnd().
2122 Simplify temporary value storage during coding.
2124 Simplify temporary value storage during decoding.
2126 2014-05-27 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2130 2014-05-27 Nikos Mavrogiannopoulos <nmav@redhat.com>
2132 safe_memset: allow memset of zero bytes.
2134 2014-05-26 Nikos Mavrogiannopoulos <nmav@redhat.com>
2136 removed unnecessary and wrong test.
2138 fixes in length calculation in _asn1_extract_der_octet().
2140 asn1_der_decoding_element() is no more; it is simply an alias to asn1_der_decoding().
2142 2014-05-25 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2148 2014-05-22 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2150 Allow a NULL value in asn1_read_value() for all types.
2158 2014-05-22 Nikos Mavrogiannopoulos <nmav@redhat.com>
2162 2014-05-17 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2164 Reverted ltostr() changes as the cause a significant delay to the library.
2165 The best approach would be to eliminate the need for ltostr() completely.
2166 Added LTOSTR_MAX_SIZE, to avoid overflows.
2168 Revert "simplify ltostr()"
2169 This reverts commit f93acf7f0a3f19692c71fc9022981b6f64ffdbc1.
2171 Revert "made _asn1_ltostr() safer."
2172 This reverts commit 07a5adb87880f3fce80aa12121409bbf652f1b6d.
2176 Marked asn1_der_decoding_element() as deprecated.
2178 Use the new functions in asn1_decoding_element()
2180 Revert "asn1_der_decoding_element is just an alias of asn1_der_decoding()."
2181 This reverts commit a8866ebf9a62386bd24f107e8384bbbf032baa52.
2183 made _asn1_ltostr() safer.
2185 safer usage of memcpy().
2187 check for zero size in time and object ids.
2189 Allow for zero strings.
2191 2014-05-16 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2197 Do not return illegal values in asn1_get_bit_der().
2199 return the correct error code in asn1_read_value_type()
2201 2014-05-16 Nikos Mavrogiannopoulos <nmav@redhat.com>
2203 removed debug definition
2207 use DECR_LEN() in _asn1_get_indefinite_length_string().
2209 use DECR_LEN in _asn1_get_octet_string()
2211 Fixes in _asn1_extract_der_octet() and usage of DECR_LEN().
2213 use DECR_LEN() in _asn1_extract_tag_der()
2215 simplified check for indefinite.
2217 expanded usage of DECR_LEN().
2219 simplified _asn1_get_octet_string().
2221 simplified _asn1_get_indefinite_length_string()
2223 More precise tracking of data.
2225 asn1_der_decoding_element is just an alias of asn1_der_decoding().
2226 This eliminates the need of massive code duplication.
2228 2014-05-16 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2230 More precise length check in _asn1_get_indefinite_length_string().
2232 Use the correct max length definition.
2234 2014-05-10 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2236 cleaned up a bit _asn1_remove_node().
2238 prevent memset() from being optimized out.
2240 2014-05-05 Nikos Mavrogiannopoulos <nmav@redhat.com>
2244 2014-05-04 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2246 Corrected an off-by-one error.
2247 The issue was discovered using the codenomicon TLS suite.
2249 2014-05-02 Nikos Mavrogiannopoulos <nmav@redhat.com>
2253 2014-05-01 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2259 2014-05-01 Kurt Roeckx <kurt@roeckx.be>
2261 Use the smallest of the 2 lengths for the comparison
2262 We're sorting 2 strings here based on X.690 section 11.6 and 6.3
2264 2014-04-28 Nikos Mavrogiannopoulos <nmav@redhat.com>
2266 Added minmax gnulib module.
2268 more files to ignore
2270 2014-04-27 Kurt Roeckx <kurt@roeckx.be>
2272 Make asn1_ordering_set_of() return error if it can't find data for one of the entries.
2274 Check that p is not NULL
2275 As far as I can tell this should never happen.
2277 2014-04-27 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2281 2014-04-26 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2283 undid optimization in patch 057193dcc2089520ab36d95f42d12f4ffd8127b5
2285 Added test that decodes and re-encodes a DER CRL.
2289 2014-04-26 Kurt Roeckx <kurt@roeckx.be>
2293 _asn1_ordering_*(): Fix memory leak in case of error
2295 Make _asn1_ordering_* return error values and check them.
2297 Call ordering functions with the right length
2298 We're going to insert the length of the set and at this point are going to order
2299 it. But we called it with the wrong length. Also updates the check to only do
2300 it when the buffer isn't to small.
2302 2014-04-22 Simon Josefsson <simon@josefsson.org>
2304 Fix syntax-check nits.
2306 Update copyright years.
2308 Update gnulib files.
2310 2014-04-17 Nikos Mavrogiannopoulos <nmav@redhat.com>
2314 simplified asn1_find_structure_from_oid() and asn1_expand_any_defined_by().
2316 2014-04-15 Nikos Mavrogiannopoulos <nmav@redhat.com>
2320 Do not try to write over null values
2322 fixed several coverity reported bugs.
2324 2014-03-28 Nikos Mavrogiannopoulos <nmav@redhat.com>
2328 2014-03-28 Jean-Louis Thekekara <jean-louis.thekekara@openwide.fr>
2330 asn1_write_value: fix segfault when deleting an unauthorized element
2331 Segfaults can occur, since value is dereferenced later, ex:
2333 352 if ((isdigit (value[0])) || (value[0] == '-')
2335 2014-03-28 Nikos Mavrogiannopoulos <nmav@redhat.com>
2339 2014-03-28 Jean-Louis Thekekara <jean-louis.thekekara@openwide.fr>
2341 asn1_write_value: allow SET_OF elements deletion
2342 SET_OF elements could just be deleted as SEQUENCE_OF ones.
2344 2014-03-28 Jean-Louis Thekekara <jean-louis.thekekara@openwide.fr>
2346 extract_tag_der_recursive: fix compilation errors
2347 Fix the following errors introduced by extract_tag_der_recursive usage:
2349 decoding.c: In function 'extract_tag_der_recursive':
2350 decoding.c:560:5: error: 'ris' may be used uninitialized in this function [-Werror=maybe-uninitialized]
2352 decoding.c: In function 'asn1_der_decoding_startEnd':
2353 decoding.c:2192:40: error: unused variable 'p3' [-Werror=unused-variable]
2355 2014-03-14 Nikos Mavrogiannopoulos <nmav@redhat.com>
2357 corrected delete_unneeded_choice_fields().
2359 free all allocated memory
2363 Added self-check for recursive choices.
2365 Handle recursive CHOICEs.
2367 Use special function for common usage of _asn1_extract_tag_der().
2369 2013-11-27 Nikos Mavrogiannopoulos <nmav@redhat.com>
2371 distribute stamp_docs to avoid regenerating docs everywhere.
2373 2013-11-25 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2379 include asn1_delete_structure2() to tests
2383 The parser accepts negative numbers in INTEGER ranges. Use snprintf() instead of strcpy() in parser.
2385 2013-11-13 Nikos Mavrogiannopoulos <nmav@redhat.com>
2387 Added asn1_delete_structure2().
2388 The new function accepts additional flags to be used during deinitialization.
2389 For the moment the only available flag is ASN1_DELETE_FLAG_ZEROIZE which zeroizes
2390 all values in the structure prior to deinitialization.
2392 updated documentation generation rules.
2394 updated gdoc from gnutls
2400 2013-03-24 Simon Josefsson <simon@josefsson.org>
2404 Fix syntax-check warnings.
2408 Fix syntax-check warnings.
2414 Update copyright years.
2422 Update gnulib files.
2424 2013-03-04 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2428 2013-01-15 Andoni Morales Alastruey <ylatuya@gmail.com>
2430 Fix check for Android x86
2432 Fix includes for Bionic X86
2434 Fix include for Bionic, where SIZE_MAX is in limits.h
2436 2013-01-01 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2438 More precise overflow checks using gnulib's intprops module.
2442 2012-12-10 Simon Josefsson <simon@josefsson.org>
2444 Fix GTK-DOC warnings.
2446 2012-11-30 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2450 2012-11-29 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2454 2012-11-25 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2458 corrected possible buffer overflow in parser errors.
2460 2012-11-24 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2466 revert to use strlen when writing time values.
2468 Documented the new functions
2472 corrected compatibility mode with old structures.
2480 better error reporting
2482 some simplifications in time handling
2484 Introduced ASN1_ETYPE_UTC_TIME and ASN1_ETYPE_GENERALIZED_TIME
2488 2012-11-23 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2490 Added asn1_read_value_type().
2492 simplified and renamed asn1_encode_string_der() and asn1_decode_string_der()
2496 Added asn1_decode_string_der() and asn1_encode_string_der().
2498 zeroize last_error_token on unknown errors.
2500 updated generated structures
2502 better error printing
2506 store duplicate (with built-in values) in structure to be compatible with old version.
2508 documented new types
2510 2012-11-22 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2512 use const for the data
2518 small simplifications
2522 indented C code in ASN1.y, and added more verbose error reporting.
2526 Added more ASN.1 string types and several simplifications.
2528 2012-11-10 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2530 Check for errors reading the assignment file in asn1Coding.
2531 src/asn1Coding.c: Check the value returned by readAssignment ()
2532 to be either ASSIGNMENT_SUCCESS or ASSIGNMENT_EOF.
2533 Patch by Ivan Shmakov.
2535 2012-11-06 Ivan Shmakov <oneingray@gmail.com>
2537 use stderr for status messages in asn1{Coding, Decoding, Parser}
2539 Typographical and wording fixes to doc/libtasn1.texi
2540 doc/libtasn1.texi: A bunch of typographical and wording fixes
2543 2012-11-06 Simon Josefsson <simon@josefsson.org>
2547 Don't overload the 'time' global name.
2551 2012-11-01 Thierry Reding <thierry.reding@avionic-design.de>
2553 Fix out of tree build
2554 This fixes a few occurrences where files are incorrectly referenced from
2555 the build directory instead of the source directory, therefore causing
2556 breakage when building out of tree.
2558 Fix bootstrap with automake 1.12
2559 automake 1.12 and later require explicit checking for the archiver using
2560 the AM_PROG_AR command when building libraries using libtool.
2562 2012-11-01 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2564 Corrected type asn1_static_node_t -> asn1_static_node.
2565 The old type was left for compatibility. Reported by Andreas Metzler.
2567 2012-10-28 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2569 break compatibility with previous releases.
2575 2012-10-11 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2578 Avoid using the reserved by POSIX _t. Suggested by Ivan Shmakov.
2579 asn1_static_node_t -> asn1_static_node
2580 asn1_node_t -> asn1_node
2582 2012-10-09 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2586 Allow empty IDENTIFIERS in ASN1 definitions. Suggested by Ivan Shmakov.
2588 2012-10-06 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2592 Set the error description to null initialy.
2594 2012-10-04 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2598 2012-10-02 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2600 removed unneeded variables and files.
2602 Updated gllib and added hash-pjw-bare.
2604 Use hash-pjw-bare instead of asn1_bhash().
2606 2012-10-01 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2608 eliminated use of old types
2612 ASN1_TYPE definition corrected
2614 updated to new types
2616 node_data_struct -> asn_data_node_st
2618 ASN1_ARRAY_TYPE -> asn_static_node_t
2621 node_asn -> asn_node_st
2622 ASN1_TYPE -> node_asn_t
2623 ASN1_TYPE_EMPTY -> NULL
2627 2012-09-26 Simon Josefsson <simon@josefsson.org>
2631 2012-09-23 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2633 small optimizations to avoid recalculation of hashes when copying nodes.
2635 improve performance by 50% by using hashes to compare strings.
2637 2012-09-22 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2639 increased benchmark time
2641 2012-09-20 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2645 Some small optimizations and better checking of tree accesses.
2647 2012-09-17 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2651 2012-09-14 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2655 name has size of ASN1_MAX_NAME_SIZE+1 to allow for a terminating null.
2657 removed unneeded casts
2659 2012-09-13 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2661 Revert "small_value_size changed to 8. No visible difference in performance"
2662 This reverts commit b86e75de8bc3a35620f069b7b00d680284d86eb5.
2664 Added symbol into old API
2666 _asn1_add_node_only -> _asn1_add_single_node
2668 _asn1_add_node -> _asn1_add_static_node
2670 Eliminated _asn1_malloc, _asn1_free and _asn_calloc.
2672 reduced maximum name size
2676 2012-09-12 Simon Josefsson <simon@josefsson.org>
2678 Drop long-time deprecated functions.
2682 2012-09-12 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2684 Node type field is now included in ASN1_DATA_NODE.
2686 Added asn1_read_node_value()
2688 small_value_size changed to 8. No visible difference in performance
2690 name is now a statically allocated string and other optimizations.
2692 internal structure removed
2696 2012-09-09 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2698 eliminates few leaks
2700 2012-09-08 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2702 Added tool to benchmark X.509 structure decoding.
2704 Updated to new gnulib and added gettime.
2706 2012-09-08 Tim Ruehsen <tim.ruehsen@gmx.de>
2708 cleanup _asn1_copy_structure3
2710 2012-08-18 Simon Josefsson <simon@josefsson.org>
2712 Fix compilation warnings.
2714 2012-05-31 Simon Josefsson <simon@josefsson.org>
2720 Fix release targets.
2726 Use devhelp2 format.
2728 Don't store ChangeLog in git, it is auto-generated.
2730 Fix syntax-check warnings.
2732 Update gnulib files.
2734 Silence compiler warnings about unsigned vs signed comparisons.
2736 2012-04-19 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2740 2012-04-06 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2742 long is always signed.
2744 2012-04-01 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2746 Simplified the overflow tests by using unsigned int numbers, suggested by Niels Moeller.
2748 2012-03-31 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2750 Added additional test case
2752 Added overflow detection that does not depend on specific compiler, and asn1_get_der_length() verifies the length of the input data in small numbers as well.
2754 2012-03-19 Simon Josefsson <simon@josefsson.org>
2762 Update gnulib files.
2764 2012-03-14 Simon Josefsson <simon@josefsson.org>
2770 Simplify overflow check.
2772 2012-03-13 Simon Josefsson <simon@josefsson.org>
2776 2012-03-13 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2778 for some reason the tot < 0 test wasn't successful on negative results. Replaced with tot < ret.
2780 the change was reverted
2782 reverted to the old ABI.
2784 reverted to the old ABI.
2792 bumped shared lib version
2794 Added asn1_get_length_der_checked() to put some of the common checks in a single function.
2796 cleanups in asn1_der_decoding_element().
2798 API is based on integers instead of long to prevent errors in systems where sizeof(int)!=sizeof(long)
2800 asn1_get_length_der() may handle up to signed long values.
2802 updated to bison 2.5
2804 better cleanup in decoding.
2806 2012-03-09 Simon Josefsson <simon@josefsson.org>
2810 2012-03-07 Simon Josefsson <simon@josefsson.org>
2812 Update gnulib files.
2814 2012-01-23 Simon Josefsson <simon@josefsson.org>
2816 Bump copyright years.
2818 Update gnulib files.
2820 2011-12-06 Simon Josefsson <simon@josefsson.org>
2822 Update gnulib files.
2824 Drop unnecessary configure.ac checks.
2828 2011-11-25 Simon Josefsson <simon@josefsson.org>
2842 2011-11-21 Simon Josefsson <simon@josefsson.org>
2844 Generalize gnupload command.
2846 Generalize cyclo rules.
2848 Make Windows build part of release process.
2852 Fix srcdir!=builddir gtk-doc build.
2856 Improve release rules.
2858 2011-11-20 Simon Josefsson <simon@josefsson.org>
2860 Fix links in output.
2862 Update gnulib files.
2864 Update manywarnings again.
2866 Update gnulib files.
2868 Remove unnecessary (?) dependency on glib/gobject.
2870 Update GTK-DOC infrastructure.
2874 2011-11-19 Simon Josefsson <simon@josefsson.org>
2876 Use silent rules. Drop unneeded check for perl path.
2878 Update gnulib files.
2880 build: Don't hard code path to perl in doc/gdoc.
2882 2011-11-14 Simon Josefsson <simon@josefsson.org>
2886 Silence some warnings.
2888 Cleanup and add some more test vectors.
2892 Mark bit string bitmask variable with static and unsigned keywords.
2894 tests: Added self-test of bit string functions.
2896 Update gnulib files.
2898 2011-10-26 Simon Josefsson <simon@josefsson.org>
2900 build: Added windows/libtasn14win.mk rules to produce Windows binaries.
2904 2011-10-25 Simon Josefsson <simon@josefsson.org>
2906 Drop igloo, the directory is gone from the server.
2916 libtasn1.texi: Add examples to asn1Coding and asn1Decoding tools.
2920 Update copyright years.
2922 asn1Decoding: Drop the useless -c parameter.
2924 asn1Coding: Implement the -c parameter.
2926 Remove unused variable.
2928 README-alpha: Mention make as dependency.
2930 Update gnulib files.
2932 2011-08-30 Nikos Mavrogiannopoulos <nmav@gnutls.org>
2936 2011-07-14 Simon Josefsson <simon@josefsson.org>
2938 Update gnulib files.
2940 2011-05-03 Simon Josefsson <simon@josefsson.org>
2942 Update gnulib files.
2944 2011-04-24 Simon Josefsson <simon@josefsson.org>
2946 Update gnulib files and fix syntax-check warnings.
2948 2011-01-08 Simon Josefsson <simon@josefsson.org>
2952 Update copyright years.
2954 Update gnulib files.
2956 2010-12-06 Simon Josefsson <simon@josefsson.org>
2967 Reported by Jeffrey Walton <noloader@gmail.com>.
2971 Update gnulib files.
2973 2010-10-04 Simon Josefsson <simon@josefsson.org>
2975 Update gnulib files.
2977 2010-09-30 Simon Josefsson <simon@josefsson.org>
2979 Update gnulib files.
2981 doc: Fix bug reporting address to point at help-libtasn1@gnu.org.
2983 tests: Link to gnulib to avoid build error related to 'rpl_ftello' on Solaris.
2984 Reported by Dagobert Michelsen.
2986 2010-09-25 Simon Josefsson <simon@josefsson.org>
3000 Update gnulib files.
3004 2010-09-21 Simon Josefsson <simon@josefsson.org>
3006 Update gnulib files.
3008 2010-06-15 Simon Josefsson <simon@josefsson.org>
3010 Update gnulib files. Fix syntax-check warnings.
3014 2010-05-20 Simon Josefsson <simon@josefsson.org>
3018 Update announcement for v2.7.
3026 Build gtk-doc PDF by default and publish it.
3028 Upgrade GTK-DOC files to get PDF files.
3030 Update gnulib files, use valgrind-tests module.
3032 2010-04-20 Simon Josefsson <simon@josefsson.org>
3036 Update gnulib files.
3040 Re-add doc for asn1_check_version after move to separate file.
3050 Update gnulib files.
3052 2010-04-14 Simon Josefsson <simon@josefsson.org>
3056 Update gnulib files.
3058 Fix GTK-DOC API location.
3060 2010-04-13 Simon Josefsson <simon@josefsson.org>
3064 Add license notes to files.
3066 Reorder license header, for some reason the Test_parser fails otherwise.
3068 Add people, based on git log reading.
3076 Indent examples. Fix syntax-check warnings.
3078 Update gnulib files, fix new syntax-check warnings, add license.
3080 2010-03-30 Simon Josefsson <simon@josefsson.org>
3082 Add threadsafety self check.
3088 Export libtasn1_* too, for backwards compatibility functions.
3089 Reported by ludo@gnu.org (Ludovic Courtès).
3091 Remove generated file.
3097 Update gnulib files.
3099 Link to gnulib library.
3100 Reported by ludo@gnu.org (Ludovic Courtès).
3102 2010-03-16 Simon Josefsson <simon@josefsson.org>
3106 tests/Test_errors: Add, for more error checking.
3110 Update gnulib files.
3112 asn1_check_version: Simplify.
3120 2010-03-15 Simon Josefsson <simon@josefsson.org>
3132 Update gnulib files.
3134 2010-02-17 Simon Josefsson <simon@josefsson.org>
3146 More GTK-DOC comment fixes.
3148 More GTK-DOC comment fixes.
3150 Improve GTK-DOC comments.
3154 Update gnulib files.
3156 2010-01-18 Simon Josefsson <simon@josefsson.org>
3168 Bump copyright year.
3170 Update gnulib files.
3172 2010-01-12 Simon Josefsson <simon@josefsson.org>
3174 Fix syntax-check rules.
3178 Update gnulib files.
3180 2010-01-11 Simon Josefsson <simon@josefsson.org>
3186 Merge Fabio and Nikos copyrights to the FSF, both have signed papers.
3188 Merge Fabio and Nikos copyrights to the FSF, both have signed papers.
3190 Update copyright notices.
3192 Add gnulib update-copyright module.
3204 Update gnulib files.
3206 2010-01-10 Andreas Metzler <ametzler@downhill.at.eu.org>
3208 Typos: sructure, stucture. There is no function named create_stucture, but one named asn1_create_element.
3210 2010-01-10 Nikos Mavrogiannopoulos <nmav@gnutls.org>
3214 2009-07-29 Simon Josefsson <simon@josefsson.org>
3222 Mark v2.3 as stable.
3226 Update gnulib files.
3228 2009-07-26 Nikos Mavrogiannopoulos <nmav@gnutls.org>
3230 documented last commit.
3232 more careful decoding of OID.
3234 2009-06-23 Simon Josefsson <simon@josefsson.org>
3236 Update gnulib files.
3242 2009-06-08 Simon Josefsson <simon@josefsson.org>
3244 Improve --help and --version outputs.
3246 Update gnulib files.
3248 2009-06-02 Simon Josefsson <simon@josefsson.org>
3252 Update gnulib files.
3254 2009-05-30 Simon Josefsson <simon@josefsson.org>
3258 2009-05-29 Simon Josefsson <simon@josefsson.org>
3262 Official GNU project.
3274 Drop (L)GPL from manual.
3276 Change info category.
3278 2009-05-28 Simon Josefsson <simon@josefsson.org>
3280 Use NEWS that matches announce-gen regexps.
3282 Configure maint.mk more.
3296 Replace TRUE/FALSE with ASN1_TRUE/ASN1_FALSE to work around problem on Tru64. Reported by Didier Godefroy <dg@ulysium.net> in <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3581>.
3302 Update gnulib files.
3304 2009-05-26 Nikos Mavrogiannopoulos <nmav@gnutls.org>
3306 removed duplicate token.
3308 2009-05-20 Simon Josefsson <simon@josefsson.org>
3314 Upgrade gtk-doc scripts, fixes make release.
3328 Add --enable-gcc-warnings.
3332 Fix syntax-check problems.
3336 Fix syntax-check problems.
3338 Update gnulib files.
3340 2009-05-06 Simon Josefsson <simon@josefsson.org>
3342 Relicense libtasn1.pc to LGPLv2.1+
3346 2009-04-17 Simon Josefsson <simon@josefsson.org>
3354 2009-04-16 Simon Josefsson <simon@josefsson.org>
3364 Update gnulib files. Fix compile failure on Mac OS X.
3366 2009-04-13 Simon Josefsson <simon@josefsson.org>
3378 Only use warnings when using gcc.
3380 Update gnulib files.
3382 2009-03-23 Simon Josefsson <simon@josefsson.org>
3388 Update gnulib files.
3390 Re-add obsolete stuff for compatibility.
3392 Re-add old ASN1_TYPE struct fields for compatibility.
3394 2009-03-04 Simon Josefsson <simon@josefsson.org>
3396 Use -fvisibility=hidden and mark public APIs explicitly.
3398 Synx gdoc with libidn. Use -pkg-name to improve man pages.
3402 Indent code. Reproduce using 'make indent' with GNU indent 2.2.10.
3404 Add a INDENT_SOURCES to make 'make indent' work.
3412 Simplify unused debug code.
3418 Can't use -Wunused-macros.
3426 Use explicit list of symbols.
3430 Rename for consistency.
3432 Use linker script test from gnulib.
3434 Merge from libtasn1-1.
3436 Merge from libtasn1-1.
3438 Bump copyright years.
3440 Add -I to get gnulib stdint.h.
3442 Update gnulib files.
3444 Add gnulib stdint module from gnulib under lib/.
3446 Add gnulib stdint module from gnulib under lib/.
3448 2008-12-01 Simon Josefsson <simon@josefsson.org>
3450 Update gnulib files.
3452 Make crlf self-test work under Mingw+Wine.
3454 2008-11-17 Simon Josefsson <simon@josefsson.org>
3456 Rework warning initialization.
3458 Update gnulib files.
3460 Update gnulib files.
3464 Update to sync with configure.ac rename.
3468 Fix warning parameters.
3476 Drop deprecated, we don't have any deprecated symbols now.
3480 Merge in v1.7 changes.
3482 2008-11-12 Simon Josefsson <simon@josefsson.org>
3484 Add URL field. Add license.
3486 Split up operations into external M4 files.
3488 Update gnulib files.
3492 2008-11-11 Simon Josefsson <simon@josefsson.org>
3496 Update gnulib files.
3498 Move -Werror from configure to cfg.
3500 2008-11-10 Simon Josefsson <simon@josefsson.org>
3502 Drop AC_C_CONST and debug notices.
3504 Update gnulib files.
3506 Use gnulib warnings module.
3512 Reapply Nikos' optimization patch. Remove deprecated functions.
3518 Revert small_value patch temporarily.
3520 2008-11-07 Simon Josefsson <simon@josefsson.org>
3522 Don't use now obsolete functions.
3524 Test for -Wl,--version-script properly.
3526 Put headers before C++ block. Improve comments.
3528 Update gnulib files.
3530 2008-11-06 Simon Josefsson <simon@josefsson.org>
3532 Add ASN1_DISABLE_DEPRECATED.
3534 Fix LIBTASN1_VERSION namespace violation.
3538 Fix error function namespace.
3542 Use v1.6 for next release instead.
3546 2008-11-05 Simon Josefsson <simon@josefsson.org>
3548 Add texinfo stylesheet.
3550 2008-11-04 Simon Josefsson <simon@josefsson.org>
3554 2008-11-04 Nikos Mavrogiannopoulos <nmav@crystal.(none)>
3556 Merge branch 'master' of ssh://git.savannah.gnu.org/srv/git/libtasn1
3560 2008-11-04 Simon Josefsson <simon@josefsson.org>
3564 No need to publish _asn1_copy_structure2.
3566 Move struct node_asn_struct to int.h.
3568 Use new makefile rules.
3570 Remove libtasn1-config. Use warnings.
3572 Remove libtasn1-config and libtasn1.m4.
3578 Update from upstream.
3586 Doc fix. Fix asn1_get_length_ber signature.
3590 Add description. Add list of recently added symbols.
3592 Sync gdoc with GnuTLS.
3594 Update gnulib files. Use GFDLv1.3 for manual.
3596 Bump version. Fix NEWS.
3598 Reorder small_value member to avoid ABI breakage. Fix namespace.
3600 2008-11-03 Nikos Mavrogiannopoulos <nmav@crystal.(none)>
3602 moved entries to correct version.
3604 2008-11-03 Nikos Mavrogiannopoulos <nmav@crystal.(none)>
3606 * Optimized tree generation by adding a small_value field in every node. If the node contains few data they will be stored there instead of a malloced buffer.
3607 * Added ability to DER decoder to decode BER encoded octet strings.
3609 * Added test case with a pkcs-12 formatted structure to test the ability
3610 to parse those strings.
3612 * Added asn1_append_value() and asn1_set_value_octet() to reduce code being copied.
3614 2008-11-03 Simon Josefsson <simon@josefsson.org>
3616 Update gnulib files.
3618 2008-10-08 Simon Josefsson <simon@josefsson.org>
3620 Update usages of MAX_* constants.
3622 Fix namespace violation.
3624 Add warning flags mechanism. Fix warnings.
3626 Assume strdup and string.h.
3628 Avoid warnings in modern libtool.
3632 Update gnulib files.
3634 2008-09-08 Simon Josefsson <simon@josefsson.org>
3636 Update gnulib files.
3638 2008-08-29 Simon Josefsson <simon@josefsson.org>
3656 Update gnulib files.
3658 2008-08-26 Simon Josefsson <simon@josefsson.org>
3660 Autobuild is invoked from gnulib now.
3662 2008-08-25 Simon Josefsson <simon@josefsson.org>
3666 Fix memory leaks, tiny patch from Christian Grothoff <christian@grothoff.org>.
3668 2008-08-21 Simon Josefsson <simon@josefsson.org>
3670 Update gnulib files.
3672 2008-08-12 Simon Josefsson <simon@josefsson.org>
3674 Update gnulib files.
3676 2008-05-07 Simon Josefsson <simon@josefsson.org>
3680 Update gnulib files.
3682 2008-04-21 Simon Josefsson <simon@josefsson.org>
3696 Update gnulib files.
3698 Replace use of alloca with malloc.
3700 2008-04-17 Simon Josefsson <simon@josefsson.org>
3702 Update gnulib files.
3704 2008-03-25 Simon Josefsson <simon@josefsson.org>
3706 Update gnulib files.
3708 2008-03-02 Simon Josefsson <simon@josefsson.org>
3714 2008-02-06 Simon Josefsson <simon@josefsson.org>
3716 Avoid brace expansion.
3718 2008-02-03 Simon Josefsson <simon@josefsson.org>
3726 Fix cut'n'paste typo.
3728 2008-02-01 Simon Josefsson <simon@josefsson.org>
3738 Update gnulib files.
3740 Don't bother with strings.h.
3742 Fix my e-mail address.
3744 Bump copyright years.
3748 (_asn1_create_static_structure): Write NULL instead of 0. Indent output. Reported by Michele Baldessari <michele@pupazzo.org>.
3750 Added some static initializers. Tiny patch from Michele Baldessari <michele@pupazzo.org>.
3758 Don't duplicate pkix.asn.
3760 Fix building of examples.
3764 Add, based on src/Makefile.am.
3766 Move examples from src/ to new directory examples/.
3768 Generated from ASN1.y.
3772 Build pkix_asn1_tab.c using asn1Parser.
3776 Handle 'INTEGER { ...} (a..b)', as used by src/pkix.asn1. Reverts part of Fabio's patch on Sep 18 2003.
3778 Update gnulib files.
3780 2008-01-31 Simon Josefsson <simon@josefsson.org>
3782 Merge defines.h into int.h.
3784 Use gnulib stdint module.
3786 Drop unnecessary gcc -pipe check.
3792 Update gnulib files.
3794 2007-12-10 Simon Josefsson <simon@josefsson.org>
3798 Reorder release targets.
3814 2007-08-31 Simon Josefsson <simon@josefsson.org>
3822 Bump copyright years.
3826 Fix asn1_check_version to accept that (e.g.) 1.0 is more recent than 0.3.10.
3846 Use GPLv3 for self tests, tools, build infrastructure.
3848 Use GPLv3 for self tests, tools, build infrastructure.
3850 Use GPLv3 for self tests, tools, build infrastructure.
3854 Update gnulib files.
3856 Fixes for license. Add Introduction section.
3858 Update gnulib files.
3866 2007-05-25 Simon Josefsson <jas@mocca.josefsson.org>
3882 2007-03-09 Simon Josefsson <simon@josefsson.org>
3884 Use modern constructs.
3888 2007-03-02 Simon Josefsson <simon@josefsson.org>
3904 Git fixes of release target.
3906 2007-03-01 Simon Josefsson <simon@josefsson.org>
3918 Use GNUmakefile from build-aux/.
3922 Rewrite, gnulib's real GNUmakefile is in build-aux.
3926 Put gnulib stuff in build-aux/.
3930 2007-02-27 Simon Josefsson <simon@josefsson.org>
3934 2007-02-13 Simon Josefsson <simon@josefsson.org>
3944 Pull in config.h in generated code.
3946 2006-11-16 Simon Josefsson <simon@josefsson.org>
3950 *** empty log message ***
3956 Revert, problems was double EXTRA_DIST.
3966 Use read_binary_file to read data, for Windows. Add self-test to test regressions.
3968 2006-10-30 Simon Josefsson <simon@josefsson.org>
3974 Handle arbitrary large DER output lenghts.
3976 2006-10-19 Simon Josefsson <simon@josefsson.org>
3978 *** empty log message ***
3982 Fix GTK-DOC warning.
3984 No need to test for getopt.
3990 Improve --help output. Assume getopt_long, since gnulib provides it.
3992 Remove unused version variable.
3994 *** empty log message ***
3996 Use progname and version-etc-fsf modules.
4000 Update gnulib files, don't require LGPL modules (the libtasn1 library doesn't use gnulib).
4004 Fix -Wno-pointer-sign test to respect user-defined CFLAGS. Reported by "Diego 'Flameeyes' Pettenò" <flameeyes@gentoo.org>.
4006 2006-09-19 Simon Josefsson <simon@josefsson.org>
4012 (asn1_der_coding): For TYPE_NULL, increment counter even if we don't write any output. Reported by Stephen Wrobleski <steve@localtoast.org>.
4014 2006-08-13 Simon Josefsson <simon@josefsson.org>
4016 *** empty log message ***
4022 2006-07-13 Simon Josefsson <simon@josefsson.org>
4026 Change gendocs place.
4034 2006-06-27 Simon Josefsson <simon@josefsson.org>
4036 Use GNU-style warnings.
4038 Fix texinfo output, from gnutls.
4044 Need -Igl, for unistd.h.
4046 Sync with Shishi, fixes man page bug in debian.
4048 Only optionally use valgrind.
4054 *** empty log message ***
4060 2006-06-26 Simon Josefsson <simon@josefsson.org>
4062 Support --la-file and --help with proper exit code.
4066 Remove igloo upload, it's broken.
4084 Fix -Wno-pointer-sign test.
4088 Trigger a bug that made Shishi self tests fail on 64-bit platforms.
4090 (asn1_octet_der): Work even if str_len is 0, i.e., write an ASN.1 length of zero. Otherwise encodings became garbled on 64-bit platforms, detected while running the Shishi self-tests on the Debian build robots. A self test to reproduce this is in Test_tree.
4092 2006-06-22 Simon Josefsson <simon@josefsson.org>
4094 Make portable to mingw.
4096 2006-05-10 Simon Josefsson <simon@josefsson.org>
4098 *** empty log message ***
4102 *** empty log message ***
4108 Use --tool, needed on some platforms.
4112 Check for pointer-sign before using it.
4114 *** empty log message ***
4118 Add Test_encoding. Simplify.
4124 Add, from Nikos. I fixed treefile and library version checking, and indentation.
4130 Run tests under valgrind, if available.
4136 2006-05-09 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4138 some fixes. node_asn now has value_len set to zero on initialization.
4140 2006-05-07 Simon Josefsson <simon@josefsson.org>
4142 *** empty log message ***
4146 Add dates for releases.
4150 2006-05-05 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4152 corrected bug in copy_structure3(). This caused bad encodings.
4154 2006-04-26 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4156 changed the coding style to -i2, so the source code is readable again.
4158 class conflicts with c++
4160 2006-04-26 Simon Josefsson <simon@josefsson.org>
4168 2006-03-30 Simon Josefsson <simon@josefsson.org>
4170 Fix warnings and C++ use, from Nikos.
4172 2006-03-26 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4174 added -Wno-pointer-sign to gcc to avoid tons of useless warnings.
4176 Removed some of signedness warnings. Still many to go.
4178 2006-03-21 Simon Josefsson <simon@josefsson.org>
4180 *** empty log message ***
4182 2006-03-12 Simon Josefsson <simon@josefsson.org>
4186 *** empty log message ***
4188 Fix help2man formatting.
4200 Install asn1Parser, asn1Coding, asn1Decoding (asn1Parser needed by Shishi).
4202 2006-03-11 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4204 *** empty log message ***
4206 2006-03-11 Simon Josefsson <simon@josefsson.org>
4210 2006-03-11 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4212 *** empty log message ***
4214 some improvements in coding
4216 some improvements in coding
4218 Corrected bug which caused an overwrite of an element during DER encoding.
4220 2006-03-08 Simon Josefsson <simon@josefsson.org>
4222 *** empty log message ***
4228 Fix prototype (for GTK-DOC).
4242 Revert, don't export asn1_find_up.
4246 Add back libtasn1-dont.h stuff.
4250 Move new APIs to libtasn1-dont.h.
4252 Include libtasn1-dont.h.
4256 Add libtasn1-dont.h.
4258 New file, mostly with the new "bad" APIs from libtasn1.h.
4266 Map back type_field().
4268 Add ASN1_TYPE_FIELD.
4270 Map back TYPE_* and CLASS_*.
4272 Export ASN1_CONST_*, taken from int.h.
4274 Map short TYPE_* keywords.
4276 Export ASN1_TYPE_*, taken from int.h. GnuTLS needs this.
4284 Export asn1_find_node and asn1_find_up.
4288 Update version number in lib/libtasn1.h.
4292 Remove unistd.h, fixed by gnulib.
4300 Add BIT STRING SIZE test.
4302 Support 'BIT STRING (SIZE(42))' constructs, suggested by Cyril Holweck <cyril.holweck@q-free.com>.
4304 2006-02-28 Simon Josefsson <simon@josefsson.org>
4306 *** empty log message ***
4310 Dist windows/ stuff.
4312 Don't dist windows/ stuff.
4318 Move MSVS project files to top-level directory, and add self-tests and src/ tools.
4324 Add getopt, for src/ tools in MSVS.
4328 Add, mostly for MSVS builds.
4332 Remove duplicate definitions.
4334 Remove duplicate prototypes.
4336 Remove redundant definitions.
4340 Make ASN1_CLASS_* official.
4342 2006-02-23 Simon Josefsson <simon@josefsson.org>
4352 Remove unneeded stuff.
4354 Remove unneeded def.
4356 Remove, just use 'make' instead.
4358 Add maintainer-makefile stuff.
4364 Remove redundant code.
4368 Doc fix for asn1_bit_der.
4370 Doc fix for asn1_length_der and asn1_octet_der.
4372 Doc fix for asn1_get_length_der.
4374 Doc fix for asn1_get_bit_der.
4376 Doc fix for asn1_get_octet_der.
4380 Distribute MSVS files.
4384 Add config.h to project.
4390 Convert to Unix EOLs.
4392 2006-02-11 Simon Josefsson <simon@josefsson.org>
4396 Remove errors_int.h.
4408 Bump ABI version to 0.3. Don't export _asn1*.
4416 Export DER utility functions.
4420 2006-02-09 Simon Josefsson <simon@josefsson.org>
4422 *** empty log message ***
4438 Fix copying conditions.
4446 Further length fixes.
4448 2006-02-08 Simon Josefsson <simon@josefsson.org>
4450 Update _asn1_get_length_der fix.
4456 Add libtasn1 fixes from Nikos, prompted by report from "Evgeny Legerov" <admin@gleg.net>.
4458 2006-01-27 Simon Josefsson <simon@josefsson.org>
4462 Fix make check for objdir != srcdir, reported by Bernard Leak <bernard@brenda-arkle.demon.co.uk>.
4464 Fix objdir != srcdir.
4466 Fix objdir != srcdir.
4468 *** empty log message ***
4470 Add, to workaround gtk-dock bug.
4474 Add const, tiny patch from "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio@vodafone.com>.
4476 2006-01-18 Simon Josefsson <simon@josefsson.org>
4482 Fix -I, reported by Bernard Leak <bernard@brenda-arkle.demon.co.uk>.
4484 2005-08-31 Simon Josefsson <simon@josefsson.org>
4486 *** empty log message ***
4494 *** empty log message ***
4506 Replace --export-symbols-regex with version script.
4508 Add --enable-ld-version-script.
4510 2005-08-12 Simon Josefsson <simon@josefsson.org>
4512 *** empty log message ***
4522 Don't use getopt from gnulib after all.
4528 *** empty log message ***
4536 Look for *.m4 in gl/m4/.
4538 Revert (stdint was GPL..).
4544 Use getopt gnulib module. Always use getopt_long.
4546 Remove inline check (unused).
4548 Remove unused function checks.
4554 Use gnulib to replace memmove.
4556 Remove C99 check (not needed).
4558 Don't use C99 macros.
4562 Remove unused _libtasn1_assert defines. Don't use C99 macros.
4564 2005-07-16 Simon Josefsson <simon@josefsson.org>
4572 *** empty log message ***
4574 Removed (not needed).
4576 *** empty log message ***
4578 Bump version. Fix license.
4580 Bump version. Add license.
4584 *** empty log message ***
4586 Remove (built from ASN1.y anyway).
4588 Fix address in license.
4592 2005-04-21 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4594 added the -D_REENTRANT and -D_THREAD_SAFE to CFLAGS.
4596 2005-02-16 Simon Josefsson <simon@josefsson.org>
4598 Protect config.h #include.
4600 2005-01-22 Simon Josefsson <simon@josefsson.org>
4604 Add pkg-config file. Convert to use of $GCC to test if GCC is available. Redirect STDERR to /dev/null when determining if GNU as available, to avoid useless error message if not. Remove extra commas after check for bzero memset memmove bcopy. Convert to AC_MSG_NOTICE rather than AC_MSG_RESULT for status messages. Tiny change from Albert Chin <gnutls-dev@mlists.thewrittenword.com>.
4606 2004-12-15 Simon Josefsson <simon@josefsson.org>
4608 *** empty log message ***
4614 Fix version (perhaps use libtasn1.h.in to avoid this in the future?).
4618 2004-12-10 Simon Josefsson <simon@josefsson.org>
4620 *** empty log message ***
4628 (release): Copy GTK-DOC manual.
4630 Link to GTK-DOC stuff.
4632 (release): Run gendocs.sh.
4644 *** empty log message ***
4646 Suggest --enable-gtk-doc.
4662 (asn1_write_value): Fix prototype, to avoid warnings.
4664 (asn1_read_value): Fix prototype to avoid warning.
4668 Remove tex manual stuff. Simplify.
4670 Include libtasn1.h, to make sure we are using the same prototypes that are exported. Avoids duplication of code.
4674 Simplify shared library version computation.
4676 Remove unused stuff. Use modern autoconf/automake interface.
4678 Remove doc/scripts/.
4680 *** empty log message ***
4686 Build texinfo manual.
4688 Add, rewritten from asn1.tex.
4690 Add, from GNU Libidn.
4696 (ChangeLog): Use FSF format. Use .cvsusers.
4702 *** empty log message ***
4708 Remove (generated automatically by buildconf).
4710 2004-11-10 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4712 *** empty log message ***
4714 corrected some access to invalid data.
4716 2004-11-03 Simon Josefsson <simon@josefsson.org>
4718 Use EXTRA_DIST less.
4720 Use dist target for libtasn1.m4.
4722 Remove libtasn1.vers.
4726 Replace ld version script with libtool -export-symbols-regex.
4728 Fix library dependency order.
4732 2004-10-29 Simon Josefsson <simon@josefsson.org>
4734 Doc fixes, from Martijn Koster <mak@greenhills.co.uk>.
4736 2004-09-08 Fabio Fiorina <fiorinaf@gnutls.org>
4740 2004-07-23 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4742 *** empty log message ***
4744 2004-05-18 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4746 Corrected a DER decoding bug which was reported by Max Vozeler <max@hinterhof.net>.
4748 2004-05-16 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4750 *** empty log message ***
4752 Added scripts to assist in libtasn1 version detection from configure scripts.
4754 2004-04-20 Fabio Fiorina <fiorinaf@gnutls.org>
4756 change INTEGR size management
4758 2004-04-14 Fabio Fiorina <fiorinaf@gnutls.org>
4760 add asn1_delete_elemenadd asn1_delete_element
4762 2004-02-28 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4764 *** empty log message ***
4766 2004-02-27 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4768 *** empty log message ***
4770 2004-02-26 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4772 some fixes in prototypes.
4774 *** empty log message ***
4776 removed the asn1c utility (it was replaced by asn1Coding anyway).
4778 2004-02-14 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4780 added versioned symbols.
4782 2004-02-11 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4784 *** empty log message ***
4786 2003-11-12 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4788 some fixes with alloca()
4790 2003-09-18 Fabio Fiorina <fiorinaf@gnutls.org>
4792 manage 'INTEGER(1 | 2)' syntax
4794 2003-07-30 Fabio Fiorina <fiorinaf@gnutls.org>
4798 2003-03-25 Fabio Fiorina <fiorinaf@gnutls.org>
4800 Add DEFAULT with OID
4802 2003-03-19 Fabio Fiorina <fiorinaf@gnutls.org>
4804 change asn1_find_structure_from_oid prototype
4806 2003-03-18 Fabio Fiorina <fiorinaf@gnutls.org>
4808 change asn1_find_structure_from_oid prototype
4810 2003-02-25 Fabio Fiorina <fiorinaf@gnutls.org>
4812 add vector length check
4814 add vector length check
4816 2003-02-12 Fabio Fiorina <fiorinaf@gnutls.org>
4818 add read_tag and get_structure_from_oid functions
4820 2003-02-10 Fabio Fiorina <fiorinaf@gnutls.org>
4824 2003-02-06 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4826 made the static string table constant.
4828 2003-02-05 Fabio Fiorina <fiorinaf@gnutls.org>
4830 change asn1_create_element interface
4832 2003-02-03 Fabio Fiorina <fiorinaf@gnutls.org>
4834 change asn1_create_element interface
4836 change asn1_create_element interface
4838 change asn1_create_element interface
4840 2003-02-03 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4842 Error description is only used if it is != NULL.
4844 2002-12-28 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4846 some changes for minitasn1
4848 moved mem.h inclusion to int.h.
4850 2002-10-09 Fabio Fiorina <fiorinaf@gnutls.org>
4854 2002-10-08 Fabio Fiorina <fiorinaf@gnutls.org>
4856 *** empty log message ***
4858 2002-10-07 Fabio Fiorina <fiorinaf@gnutls.org>
4860 *** empty log message ***
4862 2002-10-03 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4864 Added .cvsusers, for use in ChangeLong generation.
4866 2002-10-03 Fabio Fiorina <fiorinaf@gnutls.org>
4874 add GeneralString type
4876 prefix symbols and functions
4878 2002-10-02 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4880 improved check for gnu assembler
4882 2002-07-09 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4884 *** empty log message ***
4886 2002-07-01 Fabio Fiorina <fiorinaf@gnutls.org>
4888 *** empty log message ***
4894 2002-06-25 Fabio Fiorina <fiorinaf@gnutls.org>
4896 fix bug in asn1_der_decoding_element
4898 2002-06-25 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4900 added a check for null pointer.
4904 2002-06-24 Fabio Fiorina <fiorinaf@gnutls.org>
4906 *** empty log message ***
4908 add asn1_expand_octet_string and asn1_der_decoding_element functions
4910 2002-06-20 Fabio Fiorina <fiorinaf@gnutls.org>
4912 *** empty log message ***
4914 fix asn1_expand_any_defined_by
4916 2002-06-20 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4918 added some required prototypes
4920 2002-06-19 Fabio Fiorina <fiorinaf@gnutls.org>
4922 add asn1_expand_any_defined_by
4924 *** empty log message ***
4926 2002-06-15 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4928 *** empty log message ***
4930 2002-06-14 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4932 Removed xml_print.c. Will be moved to gnutls.
4934 license changed to GNU Lesser GPL.
4936 2002-06-13 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4938 *** empty log message ***
4942 2002-06-12 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4944 *** empty log message ***
4946 2002-06-11 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4948 *** empty log message ***
4950 *** empty log message ***
4952 renamed libasn1 to libtasn1
4954 Added check for NULL pointer in given error strings.
4956 2002-05-27 Fabio Fiorina <fiorinaf@gnutls.org>
4960 correct e-mail address
4962 2002-05-15 Fabio Fiorina <fiorinaf@gnutls.org>
4972 2002-04-10 Fabio Fiorina <fiorinaf@gnutls.org>
4976 2002-04-08 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4978 *** empty log message ***
4980 2002-04-06 Nikos Mavrogiannopoulos <nmav@gnutls.org>
4982 better function reference - depends on latex now
4984 *** empty log message ***
4986 2002-04-05 Nikos Mavrogiannopoulos <nmav@gnutls.org>