1 2016-05-03 Werner Koch <wk@gnupg.org>
4 * configure.ac: Set LT version to C19/A11/R5.
6 Update config.{guess,sub} to 2016-04-02 and 2016-03-30.
7 * build-aux/config.guess: Update.
8 * build-aux/config.sub: Update.
10 Create an SWDB file during "make distcheck"
11 * Makefile.am (distcheck-hook): New.
13 Fix an undefined return value in ksba_cert_get_digest_algo.
14 * src/cert.c (ksba_cert_get_digest_algo): Set ALGO in the error case.
15 * tests/cert-basic.c (one_file): Take care of printf which does not
18 Fix an OOB read access in _ksba_dn_to_str.
19 * src/dn.c (append_utf8_value): Use a straightforward check to fix an
22 Fix possible read access beyond the buffer.
23 * src/ber-help.c (_ksba_ber_parse_tl): Add extra sanity check.
24 * src/cert.c (ksba_cert_get_cert_policies): Check TLV given length
25 against buffer length.
26 (ksba_cert_get_ext_key_usages): Ditto.
27 * src/ocsp.c (parse_asntime_into_isotime): Ditto.
29 2015-10-28 Werner Koch <wk@gnupg.org>
31 Add more curves to the name->OID table.
32 * src/keyinfo.c (curve_names): Add more curves.
34 Fix lookup of ECC OIDs by name.
35 * src/keyinfo.c (get_ecc_curve_oid): Fix obviously never tested table
38 2015-08-25 Werner Koch <wk@gnupg.org>
40 Add configure option --enable-build-timestamp.
41 * configure.ac (BUILD_TIMESTAMP): Set to "<none>" by default. Add
44 2015-04-10 Werner Koch <wk@gnupg.org>
48 2015-04-09 Werner Koch <wk@gnupg.org>
50 Do not abort on decoder stack overflow.
51 * src/ber-decoder.c (push_decoder_state, pop_decoder_state): Return an
53 (set_error): Prefix error message with "ksba:". Act on new return code.
54 (decoder_next): Act on new return code.
56 Fix integer overflow in the BER decoder.
57 * src/ber-decoder.c (ber_decoder_s): Change val.length from int to
59 (sum_a1_a2_gt_b, sum_a1_a2_ge_b): New.
60 (decoder_next): Check for integer overflow. Use new sum function for
62 (_ksba_ber_decoder_dump): Use size_t for n to match change of
63 val.length. Adjust printf fomrat. Check for integer overflow and use
64 gpg_error_from_syserror instead of GPG_ERR_ENOMEM.
65 (_ksba_ber_decoder_decode): Use new sum function for size check.
66 Check for integer overflow. Use size_t for n to match change of
69 2015-04-08 Werner Koch <wk@gnupg.org>
71 Fix encoding of invalid utf-8 strings in dn.c.
72 * src/dn.c (append_quoted, append_atv): Use snprintf.
73 (append_utf8_value): Fix invalid encoding handling.
75 2015-01-30 Werner Koch <wk@gnupg.org>
77 w32: Use -static-libgcc to avoid linking to libgcc_s_sjlj-1.dll.
78 * src/Makefile.am (extra_ltoptions): New.
79 (libksba_la_LDFLAGS): Use it.
81 Update ASN.1 grammar for newer Bison versions.
82 * src/asn1-parse.y (YYERROR_VERBOSE): Replace by ...
83 (%define parse.error.verbose): this.
84 (YYPARSE_PARM, YYLEX_PARM): Replace by ...
86 (%pure_parser): Replace by ...
87 (%define api.pure full): this.
88 (yyerror): Add arg parm.
90 2015-01-28 Werner Koch <wk@gnupg.org>
92 Require automake 1.14 and update build-aux files.
93 * Makefile.am (AUTOMAKE_OPTIONS): Move to ...
94 * configure.ac (AM_INIT_AUTOMAKE: here. Add serial-tests.
96 2014-11-25 Werner Koch <wk@gnupg.org>
99 * configure.ac: Set LT version to C19/A11/R3.
101 build: Update version number magic.
102 * autogen.sh: Update from gnupg master.
103 * configure.ac: Change for new init style. Create VERSION.
104 * Makefile.am (dist-hook): Do no create VERSION
106 Fix buffer overflow in ksba_oid_to_str.
107 * src/oid.c (ksba_oid_to_str): Fix unsigned underflow.
109 * tests/Makefile.am (noinst_PROGRAMS): Move t-oid to ..
111 * tests/t-oid.c (test_oid_to_str): New.
112 (main): Run the new tests by default. The former functionality
113 requires the use of one of the new options.
115 2014-09-25 Werner Koch <wk@gnupg.org>
117 Strip CRs while building the oid translation table.
118 * tests/Makefile.am (oidtranstbl.h): Strip CRs
120 2014-09-18 Werner Koch <wk@gnupg.org>
123 * configure.ac: Set LT version to C19/A11/R2.
125 2014-07-22 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
127 Fix two memory leaks in cert-basic test.
128 * tests/cert-basic.c (one_file): always free public key and der2.
130 Enable optional valgrind for testsuite.
131 * configure.ac: Enable gnulib valgrind module.
132 * gl/m4/gnulib.m4: Enable valgrind module.
133 * tests/Makefile.am: Enable valgrind as LOG_COMPILER.
134 * gl/m4/valgrind-tests.m4: New
136 Fix memory leak in crl parsing code.
137 * src/crl.c (store_one_entry_extension): Free memory at oid variable -
138 otherwise libksba leaks memory on crl parsing.
140 Adapt mkoidtbl script to newer dumpasn1 database format.
141 * tests/mkoidtbl.awk: optionally parse oid at OID line.
143 Reuse common test functions in cert-basic test.
144 * tests/cert-basic.c (xmalloc, print_hex, print_sexp, print_time,
147 tests: fix print_sexp and print_sexp_hex functions.
148 * tests/t-common.h (print_sexp, print_sexp_hex): advance pointer on
151 tests: Pass -no-install to libtool.
152 * tests/Makefile.am: add AM_LDFLAGS = -no-install
154 2014-04-15 Werner Koch <wk@gnupg.org>
156 tests: Fix warning about unused var.
157 * tests/t-dnparser.c (main): Drop unneeded var INPUTLEN.
159 Fix possible segv if NULL is passed as cert.
160 * src/cert.c (ksba_cert_get_digest_algo): Fix !cert case.
162 2014-01-10 Werner Koch <wk@gnupg.org>
165 * autogen.rc: Remove cruft.
167 Use the generic autogen.sh script.
168 * Makefile.am (EXTRA_DIST): Add autogen.rc.
170 * autogen.sh: Update from current GnuPG.
171 * ltmain.sh: Move to build-aux/.
173 * config.guess: Ditto.
176 * doc/mdate-sh: Ditto.
177 * doc/texinfo.tex: Ditto.
181 * configure.ac (AC_CONFIG_AUX_DIR): New.
183 2014-01-08 Werner Koch <wk@gnupg.org>
185 Add --enable-silent-rules stuff.
186 * configure.ac: Add AM_SILENT_RULES.
188 Fix libtool 2.4.2 to correctly detect .def files.
189 * ltmain.sh (sed_uncomment_deffile): New.
190 (orig_export_symbols): Uncomment def file before testing for EXPORTS.
191 * m4/libtool.m4: Do the same for the generated code.
193 2013-12-10 David 'Digit' Turner <digit@google.com>
195 Update libtool to support Android.
196 * m4/libtool.m4: Add "linux*android*" case. Taken from the libtool
199 2013-12-10 Werner Koch <wk@gnupg.org>
201 Add build support for ppc64le.
202 * config.guess, config.sub: Update to latest version (2013-11-29).
203 * m4/libtool.m4: Add patches for ppc64le.
205 Fix duplicate definition of TRUE and FALSE in grammar file.
206 * src/asn1-parse.y (YYPRINT): Define.
207 (%token-table): Define.
208 (TRUE,FALSE,BOOLEAN): Prefix these tokens with "ksba_" to avoid name
210 (key_word, key_word_token): Remove arrays.
211 (%token): Add literal strings to almost all tokens.
212 (yylex): Use yytname array for keyword lookup.
214 2012-11-16 Werner Koch <wk@gnupg.org>
216 Improve parsing of the GIT revision number.
217 * configure.ac (mmm4_revision): Use git rev-parse.
219 Fix non-portable use of chmod in autogen.sh.
220 * autogen.sh: Remove option -c from chmod.
222 2012-09-27 Werner Koch <wk@gnupg.org>
225 * configure.ac: Set LT version to C19/A11/R1.
227 2012-09-26 Werner Koch <wk@gnupg.org>
229 Update build helper scripts.
230 * config.guess, config.sub: Update to version 2012-07-31.
231 * ltmain.sh: Update to version 2.4.2.
232 * install-sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltversion.m4
233 * m4/lt~obsolete.m4: Update to autoconf 2.69 versions.
235 Adjust for stricter autoconf requirements.
236 * configure.ac: Fix usage of AC_LANG_PROGRAM.
238 Do not distribute a copy of gitlog-to-changelog.
239 * Makefile.am (AUTOMAKE_OPTIONS): Do not create a tar.gz.
240 (gen-ChangeLog): Require an installed gitlog-to-changelog.
241 * build-aux/gitlog-to-changelog: Remove.
243 Allow building with w64-mingw32.
244 * autogen.sh <--build-w32>: Support the w64-mingw32 toolchain. Also
245 prepare for 64 bit building.
247 Switch to the new automagic beta numbering scheme.
248 * configure.ac: Add all the required m4 magic.
250 Change library license to LGPLv3+/GPLv2+.
251 * COPYING.GPLv2, COPYING.GPLv3, COPYING.LGPLv3: New.
252 * COPYING: Replace text by a reference to the new files.
253 * AUTHORS: Update copyright, license, and maintainer information.
254 * Makefile.am (EXTRA_DIST): Distribute the new files.
256 Remove unused or useless files.
257 * src/asn1-parse.h: Remove empty file.
258 * src/asn1-parse.y: Do not include asn1-parse.h.
260 2011-12-06 Werner Koch <wk@gnupg.org>
262 Allow to set subject and issuer.
263 * src/certreq.c (ksba_certreq_set_issuer): Do not check the subject.
265 2011-12-01 Werner Koch <wk@gnupg.org>
267 Post release updates.
269 Generate the ChangeLog from commit logs.
270 * build-aux/gitlog-to-changelog: New script. Taken from gnulib.
271 * build-aux/git-log-fix: New file.
272 * build-aux/git-log-footer: New file.
273 * doc/HACKING: New file.
274 * ChangeLog: New file.
275 * Makefile.am (EXTRA_DIST): Add new files.
276 (gen-ChangeLog): New.
277 (dist-hook): Run gen-ChangeLog.
278 * autogen.sh: Install commit-msg hook for git.
280 Rename all ChangeLog files to ChangeLog-2011.
282 2011-12-01 Werner Koch <wk@gnupg.org>
284 NB: Changes done before December 1st, 2011 are described in
285 per directory files named ChangeLog-2011. See doc/HACKING for
289 Copyright (C) 2011 g10 Code GmbH
291 Copying and distribution of this file and/or the original GIT
292 commit log messages, with or without modification, are
293 permitted provided the copyright notice and this notice are