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