doc update
[platform/upstream/libtasn1.git] / NEWS
1 GNU Libtasn1 NEWS                                     -*- outline -*-
2
3 * Noteworthy changes in release 3.6 (unreleased) [stable]
4 - Corrected an off-by-one error in ASN.1 DER tag decoding.
5 - Several improvements and new safety checks on DER decoding.
6 - Marked asn1_der_decoding_element() as deprecated. Use
7   asn1_der_decoding() instead.
8
9
10 * Noteworthy changes in release 3.5 (released 2014-05-01) [stable]
11 - Correctly handle decoding of recursive CHOICE options.
12 - Allow deleting elements of SET OF. Patch by Jean-Louis Thekekara.
13 - Several small bug fixes found by coverity.
14 - Code improvements contributed by Kurt Roeckx.
15
16 * Noteworthy changes in release 3.4 (released 2013-11-25) [stable]
17 - Added asn1_delete_structure2() which allows zeroizing the contents
18   of all values in the structure prior to deinitialization.
19 - The parser accepts negative numbers in an INTEGER range (but
20   still does no enforce them).
21
22 * Noteworthy changes in release 3.3 (released 2013-03-23) [stable]
23 - More precise overflow checks using gnulib's intprops module.
24 - Updates to compile in Android systems.
25
26 * Noteworthy changes in release 3.2 (released 2012-11-30) [stable]
27 - Corrected buffer overflow in the error reporting of the parser (reported
28   by Andreas Metzler).
29
30 * Noteworthy changes in release 3.1 (released 2012-11-24) [stable]
31 - Completed rename of types:
32   ASN1_ARRAY_TYPE -> asn1_static_node (was asn1_static_node_t)
33 - Added new types: VisibleString, NumericString, IA5String, TeletexString,
34   PrintableString, UniversalString, BMPString, UTF8String. When re-defined
35   a warning is being print instead of failing.
36 - Parser outputs more detailed syntax error messages.
37 - Added asn1_decode_simple_der() and asn1_encode_simple_der().
38 - Added asn1_read_value_type() to return value and type.
39 - Introduced ASN1_ETYPE_UTC_TIME and ASN1_ETYPE_GENERALIZED_TIME
40
41 * Noteworthy changes in release 3.0 (2012-10-28) [stable]
42 - Added tool in tests/ to benchmark X.509 structure decoding.
43 - Added asn1_read_node_value() to obtain a node's value.
44 - Optimizations in internal tree allocation.
45 - Optimizations in tree search.
46 - libtasn1.h no longer exports internal structures.
47 - Types were renamed for consistency:
48   ASN1_DATA_NODE -> asn1_data_node_st
49   ASN1_ARRAY_TYPE -> asn1_static_node
50   ASN1_TYPE -> asn1_node
51   ASN1_TYPE_EMPTY -> NULL
52   static_struct_asn -> asn1_static_node_st
53   node_asn_struct -> asn1_node_st
54   node_asn -> asn1_node_st
55   (the old types are still available as definitions)
56
57 * Noteworthy changes in release 2.13 (2012-05-31) [stable]
58 - Updated fix for DER decoding issue to not depend on specific compilers.
59 - Updated DER decoding check to apply to short form integers as well.
60
61 * Noteworthy changes in release 2.12 (2012-03-19) [stable]
62 - Cleanup license headers.
63 - build: Update gnulib files.
64 - Corrected DER decoding issue (reported by Matthew Hall).
65   Added self check to detect the problem, see tests/Test_overflow.c.
66   This problem can lead to at least remotely triggered crashes, see
67   further analysis on the libtasn1 mailing list.
68
69 * Noteworthy changes in release 2.11 (2011-11-25) [stable]
70 - qa: Now builds without compiler warnings with Solaris CC.
71 - qa: Added clang analysis.  Fixed cyclomatic complexity output.
72 - tests: Added self-test of bit string functions.
73 - build: Added windows/libtasn14win.mk rules to produce Windows binaries.
74 - build: Don't hard code path to perl in doc/gdoc.
75 - Various minor fixes.
76
77 * Noteworthy changes in release 2.10 (2011-10-25) [stable]
78 - lib: Small optimization, possibly working around gcc/valgrind issue.
79 - build: Update gnulib files.
80 - asn1Coding: actually implement the -c parameter.
81 - asn1Decoding: the -c parameter serves no purpose, remove it.
82 - doc: Add examples to asn1Coding and asn1Decoding description.
83
84 * Noteworthy changes in release 2.9 (2010-12-06) [stable]
85 - tests: Link to gnulib to avoid build error related to 'rpl_ftello' on Solaris.
86   Reported by Dagobert Michelsen.
87 - doc: Fix bug reporting address to point at help-libtasn1@gnu.org.
88 - doc: Fix Returns: documentation in Texinfo.  Reported by Jeffrey Walton.
89 - build: Update gnulib files.
90
91 * Noteworthy changes in release 2.8 (2010-09-25) [stable]
92 - Update gnulib files.
93 - Use Libtool 2.2.10 to ease MinGW64 builds.
94
95 * Noteworthy changes in release 2.7 (2010-05-20) [stable]
96 - Doc: Build a PDF manual using GTK-DOC.
97 - Doc: Fix of asn1_check_version, documentation was missing from last release.
98 - Build: Avoid warnings about ignored visibility attributes on Windows.
99
100 * Noteworthy changes in release 2.6 (2010-04-20) [stable]
101 - Fix build failure on platforms without support for GNU LD version scripts.
102 - libtasn1: Simplified implementation of asn1_check_version.
103 - tests: Improved self-checks.
104 - Update gnulib files, fix many syntax-check nits, indent code,
105   fix license templates.
106
107 * Noteworthy changes in release 2.5 (2010-03-15) [stable]
108 - doc: Improve GTK-DOC comments.
109 - misc: Updated gnulib files.
110
111 * Noteworthy changes in release 2.4 (2010-01-18) [stable]
112 - Doc fixes.
113 - Updated gnulib files.
114 - Clean up copyright notices.
115
116 * Noteworthy changes in release 2.3 (2009-07-29) [stable]
117 - Libtasn1 is now an official GNU project.
118 - Solve build problem on Tru64 related to TRUE/FALSE.
119 - More careful decoding of OIDs.
120 - Fixed warning in ASN1.y.
121 - Use "Software libraries" info dircategory.
122 - Drop GPL/LGPL copies from the manual (not needed there).
123 - New configure parameters to set packaging specific information.
124   The parameters are --with-packager, --with-packager-version, and
125   --with-packager-bug-reports.  See
126   <http://article.gmane.org/gmane.comp.lib.gnulib.bugs/17791> for more
127   details.
128
129 * Noteworthy changes in release 2.2 (2009-05-20) [stable]
130 - Change how the ASN1_API decorator is used in libtasn1.h, for GTK-DOC.
131 - Changed license of libtasn1.pc from GPLv3+ to LGPLv2.1+.
132   Reported by Jeff Cai <Jeff.Cai@Sun.COM>.
133 - Building with many warning flags now requires --enable-gcc-warnings.
134 - Some warnings fixed.
135
136 * Noteworthy changes in release 2.1 (2009-04-17) [stable]
137 - Fix compilation failure on platforms that can't generate empty archives,
138   e.g., Mac OS X.  Reported by David Reiser <dbreiser@gmail.com>.
139
140 * Noteworthy changes in release 2.0 (2009-04-13) [stable]
141 - Optimized tree generation.
142 - ASN1 parser code re-generated using Bison 2.4.1.
143 - Build with more warning flags.  Many compiler warnings fixed.
144 - Compiled with -fvisibility=hidden by default if supported.
145   See http://gcc.gnu.org/wiki/Visibility
146 - The libtasn1-config tool has been removed.
147   For application developers, please stop using libtasn1-config for
148   finding libtasn1, use proper autoconf checks or pkg-config instead.
149   For users that need a libtasn1 that provides a libtasn1-config
150   script (for use with older applications), use libtasn1 v1.x instead.
151   Version 1.x is still supported.
152
153 * Noteworthy changes in release 1.8 (2009-01-16) [stable]
154 - Fix crlf self-test under Mingw+Wine.
155 - Fix build problems on platforms that lack stdint.h.
156   Reported by Dagobert Michelsen <dam@opencsw.org> in
157   <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3377>.
158
159 * Noteworthy changes in release 1.7 (2008-11-17) [stable]
160 - Add libtasn1-config for compatibility.
161   Please stop use it as it will disappear in v2.0!
162   Use standard AC_CHECK_FUNCS autoconf tests or pkg-config instead.
163 - Read PKCS#12 blob as binary file, fixes self-tests under Mingw.
164 - Fix use of __attribute__ ((deprecated)) to work on non-GCC (#106548).
165
166 * Noteworthy changes in release 1.6 (2008-11-10) [stable]
167 - Fixed namespace violation for MAX_NAME_SIZE and MAX_ERROR_DESCRIPTION_SIZE.
168   The new names are ASN1_MAX_NAME_SIZE and ASN1_MAX_ERROR_DESCRIPTION_SIZE.
169 - Fixed namespace violation for libtasn1_perror and libtasn1_strerror.
170   The new names are asn1_perror and asn1_strerror.
171 - Fix namespace violation for LIBASN1_VERSION.
172   The new name is ASN1_VERSION.
173 - Decoder can now decode BER encoded octet strings.
174 - doc: Change license on the manual to GFDLv1.3+.
175 - doc: Sync gdoc script with GnuTLS, changes license on man-pages to GAP.
176 - doc: Improve gtk-doc manual.
177 - Assumes system has strdup and string.h.
178 - Remove libtasn1-config and libtasn1.m4,
179   use standard AC_CHECK_FUNCS autoconf tests or pkg-config instead.
180 - Change detection of when to use a linker version script,
181   use --enable-ld-version-script or --disable-ld-version-script to
182   override auto-detection logic.
183 - API and ABI changes since last version:
184   asn1_get_length_ber: New function.
185   ASN1_VERSION: New symbol, replaces LIBTASN1_VERSION.
186   asn1_strerror: New function, replaces libtasn1_strerror.
187   asn1_perror: New function, replaces libtasn1_perror.
188   libtasn1_strerror: Marked as deprecated.
189   libtasn1_perror: Marked as deprecated.
190   LIBTASN1_VERSION: Deprecated.
191
192 * Noteworthy changes in release 1.5 (2008-07-29) [stable]
193 - Update gnulib files.
194 - Fix memory leaks, from Christian Grothoff <christian@grothoff.org>.
195
196 * Noteworthy changes in release 1.4 (2008-04-21) [stable]
197 - Update gnulib files.
198 - Replace uses of alloca with malloc.
199
200 * Noteworthy changes in release 1.3 (2008-02-01) [stable]
201 - Handle 'INTEGER { ... } (a..b)' regression.
202   Revert parts of earlier fix.  asn1Parser can now again parse src/pkix.asn1.
203   The ASN1.c file was generated using Bison 2.3.
204 - Move examples from src/ to new directory examples/.
205 - Duplicate copy of divergated pkix.asn removed.
206 - Merge unnecessary lib/defines.h into lib/int.h.
207 - Configure no longer tries to use gcc -pipe.
208 - Update gnulib files.
209 - Fix mem leak in self-test.
210
211 * Noteworthy changes in release 1.2 (2007-12-10) [stable]
212 - Update gnulib files.
213
214 * Noteworthy changes in release 1.1 (2007-08-31) [stable]
215 - Fix bug that made asn1_check_version believe that 1.0 is older than 0.3.10.
216
217 * Noteworthy changes in release 1.0 (2007-08-31) [stable]
218 - The self-tests, command line tools and build infrastructure have
219   been re-licensed from GPLv2 to GPLv3.
220 - Doc fixes.
221 - Update gnulib files.
222
223 * Noteworthy changes in release 0.3.10 (2007-05-25)
224 - Update gnulib files.
225
226 * Noteworthy changes in release 0.3.9 (2007-03-02)
227 - In generated code, config.h is pulled in if HAVE_CONFIG_H.
228 - Development changes: changed from CVS to GIT as an experiment.
229   I push my changes to <http://repo.or.cz/w/libtasn1.git>.
230 - Autoconf 2.61 and automake 1.10 is required.
231
232 * Noteworthy changes in release 0.3.8 (2006-11-16)
233 - Fix reading of binary files in asn1Decoding, for Windows.
234
235 * Noteworthy changes in release 0.3.7 (2006-10-19)
236 - When asn1_der_coding encoded a TYPE_NULL and the output buffer is
237   NULL, it would not increment the counter properly, so the size of
238   the required buffer would be off by one.  Fixed.  Reported by
239   Stephen Wrobleski <steve@localtoast.org>.
240 - Fix configure to respect user-definable flags.  Reported by "Diego
241   'Flameeyes' Pettenò" <flameeyes@gentoo.org>.
242 - The --help and --version outputs from the tools have been improved.
243
244 * Noteworthy changes in release 0.3.6 (2006-08-13)
245 - Fix man pages to use \- instead of - for negative signs (as in "-1").
246 - Add -I's when building in src/, so that unistd.h etc is found on
247   systems that doesn't have them.
248 - Valgrind isn't used for cross-compilation by default, and there is
249   also --disable-valgrind-tests to unconditionally disable it.
250 - Valgrind is invoked without parameters, put things you like into
251   ~/.valgrindrc instead.
252
253 * Noteworthy changes in release 0.3.5 (2006-06-27)
254 - Fix asn1_octet_der to handle writes of zero-length buffers, before
255   it did not write the ASN.1 length for a zero-length buffer.  This caused
256   ASN.1 encodings to be incorrect on 64-bit platforms.
257 - Add self test that attempt to trigger the above bug.
258 - Fix test of -Wno-pointer-sign.
259 - Improve cross-compilation to MinGW by using AC_LIBTOOL_WIN32_DLL.
260
261 * Noteworthy changes in release 0.3.4 (2006-05-10)
262 - Really fix encodings.
263 - Add new self test, tests/Test_encoding.c.
264 - Self tests are ran under valgrind, if it is available.
265 - We test for the -Wno-pointer-sign parameter before using it.
266
267 * Noteworthy changes in release 0.3.3 (2006-05-07)
268 - Add some 'const' to prototypes.
269 - Remove some 'unsigned' keywords.
270 - Corrected asn1_der_coding() bug introduced when it became reentrant.
271   Now it produces correct encodings.
272
273 * Noteworthy changes in release 0.3.2
274 - Corrected bug in asn1_der_coding() which overwrited some
275   data in the original structure.
276 - The asn1Parser, asn1Coding and asn1Decoding programs are now installed.
277
278 * Noteworthy changes in release 0.3.1
279 - Support constant size bit strings, as in 'BIT STRING (SIZE(42))'.
280   Reported by Cyril Holweck <cyril.holweck@q-free.com>.
281 - Add two more APIs required by GnuTLS.
282 - New public APIs:
283   asn1_find_node function
284   asn1_copy_node
285
286 * Noteworthy changes in release 0.3.0
287 - Export DER utility functions, mostly so that GnuTLS can avoid using
288   libtasn1 internals.
289 - The _asn1* symbols are not exported in the shared library file (when
290   using GNU ld).
291 - The library can now be built using Visual Studio, and the project
292   files are included in windows/.
293 - New public APIs:
294   asn1_get_tag_der
295   asn1_octet_der
296   asn1_get_octet_der
297   asn1_bit_der
298   asn1_get_bit_der
299   asn1_get_length_der
300   asn1_length_der
301
302 * Noteworthy changes in release 0.2.18
303 - Fix out-of-bounds access in DER decoding, reported by Evgeny Legerov.
304 - Add 'const' keyword to some prototypes, thanks to Frediano ZIGLIO.
305 - Fixed typo in src/Makefile.am to make it build with objdir != srcdir,
306   thanks to Bernard Leak.
307 - Update of gnulib files.
308 - Typo fixes in comments, e.g. finish libasn1 to libtasn1 renaming,
309   use LGPL boiler plate on some files in lib/.
310
311 * Noteworthy changes in release 0.2.17
312 - Fixed typo to make it build.
313
314 * Noteworthy changes in release 0.2.16
315 - * Noteworthy changes in release script added again.
316
317 * Noteworthy changes in release 0.2.15
318 - Gnulib is used to implement memmove if your system does not have it.
319 - Simplified assert/error handling slightly.
320
321 * Noteworthy changes in release 0.2.14
322 - Some build fixes.
323 - Pkg-config script 'libtasn1.pc' added.
324 - Postal address to FSF in license updated.
325
326 * Noteworthy changes in release 0.2.13
327 - * Noteworthy changes in release number in libtasn1.h updated properly.
328
329 * Noteworthy changes in release 0.2.12
330 - Manual converted to Texinfo format.
331 - Manual in GTK-DOC and DevHelp formats added.
332 - Man pages for all functions added.
333 - Various internal cleanups.
334
335 * Noteworthy changes in release 0.2.11
336 - Added the self test with "make check" target
337 - Added management of ANY type with null length
338 - Corrected some writes to invalid data.
339
340 * Noteworthy changes in release 0.2.10
341 - Added scripts to assist in libtasn1 version detection
342   from configure scripts.
343 - Corrected a DER decoding bug which was reported
344   by Max Vozeler <max@hinterhof.net>.
345
346 * Noteworthy changes in release 0.2.9
347 - Accept negative numbers as range in INTEGER declarations
348
349 * Noteworthy changes in release 0.2.8
350 - Add asn1_delete_element function
351
352 * Noteworthy changes in release 0.2.7
353 - Added versioned symbols.
354
355 * Noteworthy changes in release 0.2.6
356 - ASN.1 parser accepts these kinds of integer definitions:
357   "INTEGER (5 | 10)" and
358   "INTEGER (5)"
359 - Comments start at "--" and finish at the "end of line" or
360   with another "--".
361
362 * Noteworthy changes in release 0.2.5
363 - Bug fix in ordering procedure for SET OF and SEQUENCE OF
364   types coding.
365 - Manage structured format (BER encoding) in
366   asn1_der_decoding, asn1_decoding_element and
367   asn1_der_decoding_startEnd for OCTET STRING type.
368 - Manage SEQUENCE and SET empty structure.
369 - Manage "indefinite length method" in asn1_der_decoding,
370   asn1_decoding_element and asn1_der_decoding_startEnd
371   for the following types:
372   SEQUENCE, SEQUENCE OF, SET, and SET OF.
373 - Bug fix in asn1_read_value with NULL parameter in case
374   of BIT STRING
375
376 * Noteworthy changes in release 0.2.4
377 - Bug fix in asn1_der_coding with NULL parameter
378 - Manage DEFAULT option with OBJECT IDENTIFIER
379
380 * Noteworthy changes in release 0.2.3
381 - Chenge asn1_find_structure_from_oid prototype
382 - Chenge asn1_find_structure_from_oid prototype
383 - Add ASN1_MEM_ALLOC_ERROR return value
384
385 * Noteworthy changes in release 0.2.2
386 - Add vector length check in asn1_der_coding function
387 - Add vector length check in asn1_der_coding function
388 - Add vector length check in asn1_read_value function
389 - Add asn1_check_version function
390
391 * Noteworthy changes in release 0.2.1
392 - Add asn1_find_structure_from_oid function
393 - Add asn1_read_tag function
394
395 * Noteworthy changes in release 0.2.0
396 - Support for other platforms
397 - Change asn1_create_element function interface (dest_name not needed any more)
398 - Change OBJECT IDENTIFIER syntax: numbers must be separated by dot in
399   asn1_write_element and asn1_read_element functions (e.g. "1.2.3.4")
400
401 * Noteworthy changes in release 0.1.2
402 - Added GeneralString type
403 - Fixed a DER encoding bug when nested tags are used
404
405 * Noteworthy changes in release 0.1.1
406 - Renamed to libtasn1
407 - Functions which return a string for error description
408   now accept a NULL argument.
409 - License is now GNU Lesser GPL
410
411 * Noteworthy changes in release 0.1.0
412 - Initial release
413
414 ----------------------------------------------------------------------
415 Copyright (C) 2002-2014 Free Software Foundation, Inc.
416 Copying and distribution of this file, with or without modification,
417 are permitted in any medium without royalty provided the copyright
418 notice and this notice are preserved.