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