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