Fix memory leak.
[gnutls.git] / NEWS
blob2cf7b4fcc32c92baab9c74d9bde74be5bead98e5
1 GNU TLS NEWS -- History of user-visible changes.                -*- outline -*-
2 Copyright (C) 2004, 2005, 2006, 2007, 2008 Simon Josefsson
3 Copyright (C) 2000, 2001, 2002, 2003, 2004 Nikos Mavrogiannopoulos
4 See the end for copying conditions.
6 * Version 2.3.13 (unreleased)
8 ** libgnutls [OpenPGP]: Make OpenPGP handshakes work again.
10 ** doc/: Add psktool to info index.  Some minor cleanups.
12 ** tests/: Added non-forking TLS handshake test, see tests/mini.c.
14 ** tests/: Added libgcrypt.supp which can be used with valgrind.
15 The file suppresses the known libgcrypt memory leaks, so they aren't
16 printed when you run valgrind on the gnutls self-tests.  Use it as
17 follows: valgrind --suppressions=libgcrypt.supp ./x509self
19 ** tests/: Reduce amount of debugging output by default.
20 Use --verbose for each test to get the full output.
22 ** API and ABI modifications:
23 No changes since last version.
25 * Version 2.3.12 (released 2008-06-04)
27 ** Merge gnutls_with_netconf branch.
29 *** libgnutls [PSK]: New API to retrieve PSK identity hint in client.
30 The function is gnutls_psk_client_get_hint.
32 *** libgnutls [PSK]: New API to set PSK identity hint in server.
33 The function is gnutls_psk_set_server_credentials_hint.
35 *** libgnutls [PSK]: Support server key exchange with PSK identity hint.
36 In the client, the message is parsed and the application can use
37 gnutls_psk_client_get_hint to retrieve the hint.  In the server, the
38 message is sent if the application has specified a PSK identity hint
39 using gnutls_psk_set_server_credentials_hint.
41 *** libgnutls [PSK]: Support Netconf PSK key derivation.
42 The function gnutls_psk_netconf_derive_key supports the PSK key
43 derivation as specified in draft-ietf-netconf-tls-02.txt.  New self
44 test netconf-psk.c.
46 *** psktool: Support new --netconf-hint to generate PSK key from password.
47 Uses the Netconf algorithm to derive PSK key from password.
49 *** gnutls-serv: Support new --pskhint parameter to set PSK identity hint.
51 *** gnutls-cli: Always support PSK modes, through a callback.
52 The callback will derive a PSK key using Netconf algorithm.  It will
53 print the PSK identity hint to help the user.
55 *** New PSK example client and server.
56 See doc/examples/ex-client-psk.c and doc/examples/ex-serv-psk.c.
58 ** libgnutls: Fix gnutls_x509_crl_set_version on arm platforms.
59 The code didn't work properly on platforms where 'char' is unsigned,
60 when you set version 0.  Reported by Laurence Withers
61 <l@lwithers.me.uk> in
62 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2825>.
64 ** libgnutls-openssl: added RAND_pseudo_bytes API.
65 Patch from Robert Millan <rmh@aybabtu.com>.
67 ** API and ABI modifications:
68 RAND_pseudo_bytes: ADDED to libgnutls-openssl.
69 gnutls_psk_client_get_hint: ADDED.
70 gnutls_psk_set_server_credentials_hint: ADDED.
71 gnutls_psk_netconf_derive_key: ADDED
73 * Version 2.3.11 (released 2008-05-20)
75 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
76 The flaw would result in incorrectly terminated sessions with the
77 error "Decryption has failed" when the server sends a small packet
78 (typically when the session is closed).  Reported by Andreas Metzler
79 <ametzler@downhill.at.eu.org> in
80 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
82 ** Don't use gnulib headers when building C++ library.
83 Fixes builds under Windows.
85 ** Make umask a requirement.
86 We don't know of any system that lacks it, even GNU CoreUtils use it
87 unconditionally.
89 ** Update gnulib files.
90 Fixes a problem where it pulled in a replacement for memcmp under
91 MinGW, which caused the C++ example to fail to build.
93 ** API and ABI modifications:
94 No changes since last version.
96 * Version 2.3.10 (released 2008-05-19)
98 ** Added wide wildcard hostname matching.
99 Tiny patch by Jean-Philippe Garcia Ballester.
101 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
102 Thanks to CERT-FI for finding the bugs and providing detailed reports,
103 which allowed the bugs to be reproduced and fixed easily.  Patches
104 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
105 with more details about these vulnerabilities will be added to
106 <http://www.gnu.org/software/gnutls/security.html>
108 *** [GNUTLS-SA-2008-1-1]
109 *** libgnutls: Fix crash when sending invalid server name.
110 The crash can be triggered remotely before authentication, which can
111 lead to a Daniel of Service attack to disable the server.  The bug
112 cause gnutls to store more session resumption data than what was
113 allocated for, thus overwriting unallocated memory.
115 *** [GNUTLS-SA-2008-1-2]
116 *** libgnutls: Fix crash when sending repeated client hellos.
117 The crash can be triggered remotely before authentication, which can
118 lead to a Daniel of Service attack to disable the server.  The bug
119 triggers a null-pointer dereference.
121 *** [GNUTLS-SA-2008-1-3]
122 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
123 The crash can be triggered remotely before authentication, which can
124 lead to a Daniel of Service attack to disable the server.  The bug
125 cause gnutls to read memory beyond the end of the received record.
127 ** libgnutlsxx: Updated API according to patches from Eduardo 
128 Villanueva Che (discussion at
129 <http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html>)
131 ** Use umask to restrict permissions to owner before creating a file.
133 ** API and ABI modifications:
134 No changes since last version.
136 * Version 2.3.9 (released 2008-05-16)
138 ** libgnutls: Fix build failures if SRP/OpenPGP is disabled.
139 Based on report and tiny patches from
140 <jared.jennings.ctr@eglin.af.mil>, see
141 <https://savannah.gnu.org/support/index.php?106342>.
143 ** libgnutls: Translation fixes.
145 ** gnutls-cli: Fix so that PSK authentication works.
146 Also improve manual to give example for gnutls-cli PSK authentication.
148 ** certtool: Encrypting a private key now require a confirmed password.
149 Before './certtool -k -8' would merely ask for a password once.
150 Reported by Daniel 'NebuchadnezzaR' Dehennin
151 <nebuchadnezzar@asgardr.info> see
152 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364287>.
154 ** certtool: When writing private keys to files, change permissions of file.
155 Now the file which the private key is saved to is chmod'ed 0600.
156 Reported by martin f krafft <madduck@debian.org> see
157 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373169>.
159 ** guile: Fix -fgnu89-inline test.
161 ** Removed --enable-profile-mode.
162 The code linked gnutls with the libfc project (Function Check) which
163 appears to have been stalled since around 2002.
165 ** Clean up header file checks by ./configure.
167 ** Update of gnulib files.
169 ** API and ABI modifications:
170 No changes since last version.
172 * Version 2.3.8 (released 2008-04-29)
174 ** libgnutls: Increase default handshake packet size limit to 48kb.
175 The old limit was 16kb and some servers send huge list of trusted CAs,
176 thus running into the limit.  FYI, applications can further increase
177 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
178 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
179 <marc@mclemente.net> for reporting and providing test servers.
181 ** libgnutls: Add new error code: GNUTLS_E_HANDSHAKE_TOO_LARGE
182 Returned when the handshake data size is too large.  Before
183 GNUTLS_E_MEMORY_ERROR was used, which could be confused with other
184 error situations.
186 ** libgnutls: Hide definitions in crypto.h.
187 We have decided that the APIs defined in crypto.h are not stable
188 enough for v2.4, so don't use any of those functions.
190 ** gnutls-cli: exit when hostname doesn't match certificate.
191 Use --insecure to avoid hostname comparison.
193 ** certtool: --inder and --outder replaced by --inraw and --outraw.
194 The reason is to align terminology with OpenPGP, which doesn't use
195 DER.  The old parameters will continue to work for some time.
197 ** doc: Add section 'Index of new symbols in 2.4.0' to the GTK-DOC manual.
199 ** doc: Many cosmetic fixes, to silence (most) gtk-doc warnings.
201 ** Mingw32: Revert libgcrypt vasprintf work-around added in last release.
202 Use libgcrypt 1.4.1 or later when building on MinGW32, it removes the
203 vasprintf symbol from the libgcrypt library which caused problems.
205 ** Update of gnulib files.
207 ** tests: New self-test of crypto.h RNG code tests/crypto_rng.
209 ** API and ABI modifications:
210 GNUTLS_E_HANDSHAKE_TOO_LARGE: ADDED.
212 * Version 2.3.7 (released 2008-04-21)
214 ** opencdk now properly sets the key usage bits into openpgp keys.
216 ** gnutls-cli: Fix crash on TLS handshake failures.
217 Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477.
218 This is similar to <http://bugs.debian.org/429183>.
220 ** certtool: with --generate-request and newly generated keys, print the key.
222 ** Build fixes for MinGW.
223 Missing rpl_fseeko symbol in lib/opencdk/.  Better checks for linking
224 with -lws2_32 when needed.  Use ASCII only isprint() when printing
225 X.509 certificate information, to avoid non-ASCII but printable
226 characters.  Thanks to Massimo Gaspari <massimo.gaspari@alice.it> for
227 reports.
229 ** Update internal copy of libtasn1 to version 1.4.
231 ** API and ABI modifications:
232 No changes since last version.
234 * Version 2.3.6 (released 2008-04-17)
236 ** Make gnutls_x509_crq_sign2 set certificate request version if not set.
237 ** Improve documentation for gnutls_x509_crq_sign2.
238 Based on report from "John Brooks" <aspecialj@gmail.com> in
239 <http://permalink.gmane.org/gmane.network.gnutls.general/1154>.
241 ** tests/pathlen: run diff without parameters to improve portability.
242 Based on HPUX build hints in
243 <http://hpux.cs.utah.edu/hppd/cgi-bin/wwwtar?/hpux/Gnu/gnutls-2.3.4/gnutls-2.3.4-src-11.11.tar.gz+gnutls-2.3.4/HPUX.Install+text>.
245 ** Don't use %e specifier with strftime, it doesn't work under Windows.
246 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
247 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
249 ** Remove all uses of gnutls_alloca/gnutls_afree.
250 Use normal gnutls_malloc instead.  One reason is increased portability
251 to Windows, the other is that several of the uses may be unsafe
252 because the size of data allocated could be large.  Reported by
253 Massimo Gaspari <massimo.gaspari@alice.it> in
254 <http://permalink.gmane.org/gmane.network.gnutls.general/1170>.
256 ** Build Guile code with -fgnu89-inline only when supported.
257 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
258 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
260 ** Several GTK-DOC related fixes.
262 ** Clean up OpenCDK related code.
263 GnuTLS now requires its internal OpenCDK code rather than the external
264 GPL library OpenCDK.  Unfortunately, we don't have resources to
265 maintain an external library (help welcome).
267 ** API and ABI modifications:
268 No changes since last version.
270 * Version 2.3.5 (released 2008-04-14)
272 ** Build fix for MinGW and --disable-shared.
273 Reported by Massimo Gaspari <massimo.gaspari@alice.it> in
274 <http://permalink.gmane.org/gmane.network.gnutls.general/1145>.
276 ** Document how to generate CRLs.
277 Suggested by "Rainer Gerhards" <rgerhards@gmail.com>.
279 ** Documented the --priority option to gnutls-cli and gnutls-serv.
281 ** Several minor fixes in the OpenPGP interface.
282 Thanks to Daniel Kahn Gillmor.
284 ** Fix fopen file descriptor leak in PSK server code.
285 Thanks to Laurence Withers <l@lwithers.me.uk>, see
286 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
288 ** Translations files not stored directly in git to avoid merge conflicts.
290 ** New APIs to let applications replace the RNG used.
291 Update all RNG callers in the code to use the new interface.
293 ** Guile code now built with -fgnu89-inline to fix inline semantic problem.
295 ** Update gnulib files.
297 ** API and ABI modifications:
298 gnutls_crypto_rnd_register: ADDED
299 gnutls_rnd_level_t: ADDED
300 GNUTLS_RND_KEY: ADDED, gnutls_rnd_level_t member
301 GNUTLS_RND_RANDOM: ADDED, gnutls_rnd_level_t member
302 GNUTLS_RND_NONCE: ADDED, gnutls_rnd_level_t member
303 gnutls_crypto_rnd_st: ADDED
304 GNUTLS_DIG_SHA224: ADDED
305 GNUTLS_SIGN_RSA_SHA224: ADDED
306 gnutls_openpgp_crt_get_auth_subkey: MODIFIED
308 * Version 2.3.4 (released 2008-03-19)
310 ** Finish renaming of gnutls_certificate_export_x509_cas etc.
311 They weren't renamed in the public header file.
313 ** Added functions to register a cipher/mac/digest. This allows to 
314 override the included ones.
316 ** Fix a bunch of compiler warnings.
318 ** API and ABI modifications:
319 gnutls_crypto_cipher_st: ADDED
320 gnutls_crypto_mac_st: ADDED
321 gnutls_crypto_digest_st: ADDED
322 gnutls_crypto_cipher_register: ADDED
323 gnutls_crypto_mac_register: ADDED
324 gnutls_crypto_digest_register: ADDED
325 GNUTLS_E_CRYPTO_ALREADY_REGISTERED: ADDED
327 * Version 2.3.3 (released 2008-03-10)
329 ** Fix build failure in libextra/gnutls_extra.c that needed opencdk.h.
330 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
332 ** No longer compiled using -D_REENTRANT -D_THREAD_SAFE.
333 We could not find any modern justification for enabling these flags by
334 default.  If you know of some platform that needs one of the flags to
335 work properly, please let us know.  (Actually introduced in v2.3.0 but
336 not documented until now.)
338 ** Importing many CA certificates are now considerably faster.
339 This affect gnutls_certificate_set_x509_trust_mem,
340 gnutls_certificate_set_x509_trust, and
341 gnutls_certificate_set_x509_trust_file.  The complexity was reduced
342 from O(2*n^2) to O(n).  When adding 206 files containing 408
343 certificates, using gnutls_certificate_set_x509_trust_file, the time
344 dropped from 40 seconds to 0.3 seconds.  Thanks to Edgar Fuß for code
345 to trigger the problem.  See also
346 <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
348 ** Clarify documentation for gnutls_x509_crt_set_subject_alternative_name
349 ** to be explicit that it takes zero terminated data.
351 ** gnutls-cli --print-cert now print PKCS#3 format Diffie-Hellman parameters.
353 ** Documentation fixes for the GTK-DOC manual.
355 ** Fix compilation error related to __FUNCTION__ on some systems.
356 Reported by Tim Mooney, see
357 <https://savannah.gnu.org/support/?106267>.
359 ** Updated translations.
361 ** Update gnulib files.
363 ** API and ABI modifications:
364 gnutls_hex2bin: MODIFIED, uses size_t instead of int for string length,
365                 and char* instead of void* for output buffer.
367 * Version 2.3.2 (released 2008-02-26)
369 ** Fix srcdir!=objdir failure in openpgpself test.
371 ** Improved API documentation output from GTK-DOC.
373 ** Added gnutls_x509_dn_export(). Patch by Joe Orton.
375 ** Renamed gnutls_certificate_export_x509_cas and friends.
376 See <http://lists.gnu.org/archive/html/gnutls-devel/2008-02/msg00043.html>.
378 ** Internal header files cleanup.
380 ** API and ABI modifications:
381 gnutls_certificate_export_x509_cas: RENAMED to gnutls_certificate_get_x509_cas
382 gnutls_certificate_export_x509_crls: RENAMED to gnutls_certificate_get_x509_crls
383 gnutls_certificate_export_openpgp_keyring: RENAMED to gnutls_certificate_get_openpgp_keyring
384 gnutls_x509_dn_export: ADDED
386 * Version 2.3.1 (released 2008-02-21)
388 ** OpenPGP support merged into libgnutls and is now licensed under LGPL.
389 The included copy of OpenCDK has been stripped down and re-licensed
390 under the LGPL.
392 ** Cipher priority string handling now handle strings that starts with NULL.
393 Thanks to Laurence Withers <l@lwithers.me.uk>.
395 ** gnutls-cli: When -d is used, also prints RNG information from libgcrypt.
397 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
398 by Daniel Stenberg.
400 ** Increased the default certificate verification chain limits and allowed
401 for checks without limitation.
403 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
404 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
405 strings and return the proper size.
407 ** Add section 'On Record Padding' to the manual.
408 This collects all problems related to record padding with
409 Nokia/Sony-Ericsson phones that we know about.
411 ** Several improvements in the OpenPGP authentication.
412 Now subkeys can be used for authentication, according to
413 draft-mavrogiannopoulos-rfc5081bis-00.txt.
415 ** certtool can print information on OpenPGP certificates and keys.
417 ** Added gnutls_x509_dn_import/init/deinit() to access raw DER DN.
418 Patch by Joe Orton.
420 ** Added gnutls_certificate_export_x509_cas and other functions to
421 export elements from the certificate credentials structure.  Based on
422 suggestion from Joe Orton.
424 ** Doc fixes.
425 Clarify that srp_base64 is not the same as normal base64.
427 ** Fix non-portable use of brace expansion in makefiles.
429 ** API and ABI modifications:
430 gnutls_certificate_export_x509_cas: ADDED
431 gnutls_certificate_export_x509_crls: ADDED
432 gnutls_certificate_export_openpgp_keyring: ADDED
433 gnutls_openpgp_keyid_t: ADDED, instead of hard-coded 'unsigned char[8]'.
434 gnutls_openpgp_crt_get_key_id: ADDED, obsoletes gnutls_openpgp_crt_get_id.
435 gnutls_openpgp_crt_get_revoked_status: ADDED
436 gnutls_openpgp_crt_get_subkey_count: ADDED
437 gnutls_openpgp_crt_get_subkey_idx: ADDED
438 gnutls_openpgp_crt_get_subkey_revoked_status: ADDED
439 gnutls_openpgp_crt_get_subkey_pk_algorithm: ADDED
440 gnutls_openpgp_crt_get_subkey_creation_time: ADDED
441 gnutls_openpgp_crt_get_subkey_expiration_time: ADDED
442 gnutls_openpgp_crt_get_subkey_id: ADDED
443 gnutls_openpgp_crt_get_subkey_usage: ADDED
444 gnutls_openpgp_privkey_get_fingerprint: ADDED
445 gnutls_openpgp_privkey_get_key_id: ADDED
446 gnutls_openpgp_privkey_get_subkey_count: ADDED
447 gnutls_openpgp_privkey_get_subkey_idx: ADDED
448 gnutls_openpgp_privkey_get_subkey_revoked_status: ADDED
449 gnutls_openpgp_privkey_get_revoked_status: ADDED
450 gnutls_openpgp_privkey_get_subkey_pk_algorithm: ADDED
451 gnutls_openpgp_privkey_get_subkey_expiration_time: ADDED
452 gnutls_openpgp_privkey_get_subkey_id: ADDED
453 gnutls_openpgp_privkey_get_subkey_creation_time: ADDED
454 gnutls_openpgp_crt_get_subkey_pk_dsa_raw: ADDED
455 gnutls_openpgp_crt_get_subkey_pk_rsa_raw: ADDED
456 gnutls_openpgp_crt_get_pk_dsa_raw: ADDED
457 gnutls_openpgp_crt_get_pk_rsa_raw: ADDED
458 gnutls_openpgp_privkey_export_subkey_dsa_raw: ADDED
459 gnutls_openpgp_privkey_export_subkey_rsa_raw: ADDED
460 gnutls_openpgp_privkey_export_dsa_raw: ADDED
461 gnutls_openpgp_privkey_export_rsa_raw: ADDED
462 gnutls_openpgp_privkey_export: ADDED
463 gnutls_certificate_set_openpgp_key_file2: ADDED
464 gnutls_certificate_set_openpgp_key_mem2: ADDED
465 gnutls_x509_dn_init: ADDED
466 gnutls_x509_dn_import: ADDED
467 gnutls_x509_dn_deinit: ADDED
468 GNUTLS_E_OPENPGP_SUBKEY_ERROR: ADDED
469 gnutls_hex2bin: ADDED
470 GNUTLS_CRT_PRINT_FULL: ADDED, same as old GNUTLS_X509_CRT_FULL.
471 GNUTLS_CRT_PRINT_ONELINE: ADDED, same as old GNUTLS_X509_CRT_ONELINE.
472 GNUTLS_CRT_PRINT_UNSIGNED_FULL: ADDED, same as
473                                 old GNUTLS_X509_CRT_UNSIGNED_FULL.
475 * Version 2.3.0 (released 2008-01-08)
477 ** LZO compression is now disabled by default.
478 The reason is that LZO compression is not standardized in TLS.  If you
479 wish to experiment with it, you will have to supply --with-lzo when
480 invoking ./configure.  The internal copy of minilzo is no longer
481 included with GnuTLS, so you will need to install liblzo or liblzo2 on
482 your system to have --with-lzo to be effective.
484 ** More than one server name field is now sent to the server properly.
485 Thanks to mark.phillips@virgin.net.
487 ** Fixes the post_client_hello_function(). The extensions are now parsed
488 in a callback friendly way.
490 ** Fix for certificate selection in servers with certificate callbacks.
492 ** Updated translations.
494 ** Update gnulib files.
496 ** API and ABI modifications:
497 No changes since last version.
499 * Version 2.2.5 (released 2008-05-19)
501 ** Fix flaw in fix for GNUTLS-SA-2008-1-3.
502 The flaw would result in incorrectly terminated sessions with the
503 error "Decryption has failed" when the server sends a small packet
504 (typically when the session is closed).  Reported by Andreas Metzler
505 <ametzler@downhill.at.eu.org> in
506 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2807>.
508 ** API and ABI modifications:
509 No changes since last version.
511 * Version 2.2.4 (released 2008-05-19)
513 ** Fix three security vulnerabilities.  [GNUTLS-SA-2008-1]
514 Thanks to CERT-FI for finding the bugs and providing detailed reports,
515 which allowed the bugs to be reproduced and fixed easily.  Patches
516 developed by Simon Josefsson and Nikos Mavrogiannopoulos.  Any updates
517 with more details about these vulnerabilities will be added to
518 <http://www.gnu.org/software/gnutls/security.html>
520 *** [GNUTLS-SA-2008-1-1]
521 *** libgnutls: Fix crash when sending invalid server name.
522 The crash can be triggered remotely before authentication, which can
523 lead to a Daniel of Service attack to disable the server.  The bug
524 cause gnutls to store more session resumption data than what was
525 allocated for, thus overwriting unallocated memory.
527 *** [GNUTLS-SA-2008-1-2]
528 *** libgnutls: Fix crash when sending repeated client hellos.
529 The crash can be triggered remotely before authentication, which can
530 lead to a Daniel of Service attack to disable the server.  The bug
531 triggers a null-pointer dereference.
533 *** [GNUTLS-SA-2008-1-3]
534 *** libgnutls: Fix crash in cipher padding decoding for invalid record lengths.
535 The crash can be triggered remotely before authentication, which can
536 lead to a Daniel of Service attack to disable the server.  The bug
537 cause gnutls to read memory beyond the end of the received record.
539 ** API and ABI modifications:
540 No changes since last version.
542 * Version 2.2.3 (released 2008-05-06)
544 ** Increase default handshake packet size limit to 48kb.
545 The old limit was 16kb and some servers send huge list of trusted CAs,
546 thus running into the limit.  FYI, applications can further increase
547 this limit using gnutls_handshake_set_max_packet_length.  Thanks to
548 Marc Haber <mh+debian-bugs@zugschlus.de> and "Marc F. Clemente"
549 <marc@mclemente.net> for reporting and providing test servers.
551 ** Fix compilation error related to __FUNCTION__ on some systems.
552 Reported by Tim Mooney, see
553 <https://savannah.gnu.org/support/?106267>.
555 ** Documented the --priority option to gnutls-cli and gnutls-serv.
557 ** Fix fopen file descriptor leak in PSK server code.
558 Thanks to Laurence Withers <l@lwithers.me.uk>, see
559 <http://lists.gnu.org/archive/html/gnutls-devel/2008-04/msg00002.html>.
561 ** Build Guile code with -fgnu89-inline only when supported.
562 Reported by Kris Karas <ktk@enterprise.bidmc.harvard.edu> in
563 <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2708>.
565 ** Make Camellia encryption work.
566 Reported by Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> in
567 <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2746>.
569 ** API and ABI modifications:
570 No changes since last version.
572 * Version 2.2.2 (released 2008-02-21)
574 ** Cipher priority string handling now handle strings that starts with NULL.
575 Thanks to Laurence Withers <l@lwithers.me.uk>.
577 ** Corrected memory leaks in session resuming and DHE ciphersuites. Reported
578 by Daniel Stenberg.
580 ** Increased the default certificate verification chain limits and allowed
581 for checks without limitation.
583 ** Corrected the behaviour of gnutls_x509_crt_get_subject_alt_name()
584 and gnutls_x509_crt_get_subject_alt_name() to not null terminate binary
585 strings and return the proper size.
587 ** API and ABI modifications:
588 No changes since last version.
590 * Version 2.2.1 (released 2008-01-17)
592 ** Prevent linking libextra against previously installed libgnutls.
593 Tiny patch from "Alon Bar-Lev" <alon.barlev@gmail.com>, see
594 <http://bugs.gentoo.org/show_bug.cgi?id=202269>.
596 ** Fixes the post_client_hello_function(). The extensions are now parsed
597 in a callback friendly way.
599 ** Fix for certificate selection in servers with certificate callbacks.
601 ** API and ABI modifications:
602 No changes since last version.
604 * Version 2.2.0 (released 2007-12-14)
606 ** Update internal copy of libtasn1 to version 1.2.
608 ** Certtool --verify-chain now handle inputs larger than 64kb.
609 This fixes the self-test "rsa-md5-collision" under MinGW+Wine with
610 recent versions of libgcrypt.  The problem was that Wine with the
611 libgcrypt RNG generates huge amounts of debugging output.
613 ** Translation updates.
614 Added Dutch translation.  Updated Polish and Swedish translation.
616 ** Major changes compared to the v2.0 branch:
618 *** SRP support aligned with newly published RFC 5054.
620 *** OpenPGP support aligned with newly published RFC 5081.
622 *** Support for DSA2 keys.
624 *** Support for Camellia cipher.
626 *** Support for Opaque PRF Input extension.
628 *** PKCS#8 parser now handle DSA keys.
630 *** Change from GPLv2 to GPLv3 for command-line tools, libgnutls-extra, etc.
631 Notice that liblzo2 2.02 is licensed under GPLv2 only.  Earlier
632 versions, such as 2.01 which is included with GnuTLS, is available
633 under GPLv2 or later.  If this incompatibility causes problems, we
634 recommend you to disable LZO using --without-lzo.  LZO compression is
635 not a standard TLS compression algorithm, so the impact should be
636 minimal.
638 *** Functions for disabling record protocol padding.
639 Works around bugs on Nokia/Ericsson phones.
641 *** New functions gnutls_priority_set() for setting cipher priorities easily.
642 Priorities like "COMPAT" also enables other work arounds, such as
643 disabling padding.
645 *** Other minor improvements and bug fixes.
647 ** Backwards incompatible API/ABI changes in GnuTLS 2.2
648 To adapt to changes in the TLS extension specifications for OpenPGP
649 and SRP, the GnuTLS API had to be modified.  This means breaking the
650 API and ABI backwards compatibility.  That is something we try to
651 avoid unless it is necessary.  We decided to also remove the already
652 deprecated stub functions for X.509 to XML conversion and TLS
653 authorization (see below) when we had the opportunity.
655 Generally, most applications does not need to be modified.  Just
656 re-compile them against the latest GnuTLS release, and it should work
657 fine.
659 Applications that use the OpenPGP or SRP features needs to be
660 modified.  Below is a list of the modified APIs and discussion of what
661 the minimal things you need to modify in your application to make it
662 work with GnuTLS 2.2.
664 Note that GnuTLS 2.2 also introduces new APIs -- such as
665 gnutls_set_priority() that is superior to
666 gnutls_set_default_priority() -- that you may want to start using.
667 However, using those new APIs is not required to use GnuTLS 2.2 since
668 the old functions continue are still supported.  This text only
669 discuss what you minimally have to modify.
671 *** XML related changes
672 The function `gnutls_x509_crt_to_xml' has been removed.  It has been
673 deprecated and only returned an error code since GnuTLS version
674 1.2.11.  Nobody has complained, so users doesn't seem to miss the
675 functionality.  We don't know of any other library to convert X.509
676 certificates into XML format, but we decided (long ago) that GnuTLS
677 isn't the right place for this kind of functionality.  If you want
678 help to find some other library to use here, please explain and
679 discuss your use case on help-gnutls@gnu.org.
681 *** TLS Authorization related changes
682 Everything related to TLS authorizations have been removed, they were
683 only stub functions that returned an error code:
685  GNUTLS_SUPPLEMENTAL_AUTHZ_DATA
686  gnutls_authz_data_format_type_t
687  gnutls_authz_recv_callback_func
688  gnutls_authz_send_callback_func
689  gnutls_authz_enable
690  gnutls_authz_send_x509_attr_cert
691  gnutls_authz_send_saml_assertion
692  gnutls_authz_send_x509_attr_cert_url
693  gnutls_authz_send_saml_assertion_url
695 *** SRP related changes
696 The callback gnutls_srp_client_credentials_function has a new
697 prototype, and its semantic has changed.  You need to rewrite the
698 callback, see the updated function documentation and SRP example code
699 (doc/examples/ex-client-srp.c and doc/examples/ex-serv-srp.c) for more
700 information.
702 The alert codes GNUTLS_A_MISSING_SRP_USERNAME and
703 GNUTLS_A_UNKNOWN_SRP_USERNAME are no longer used by the SRP
704 specification, instead the GNUTLS_A_UNKNOWN_PSK_IDENTITY alert is
705 used.  There are #define's to map the old names to the new.  You may
706 run into problems if you have a switch-case with cases for both SRP
707 alerts, since they are now mapped to the same value.  The solution is
708 to drop the SRP alerts from such switch cases, as they are now
709 deprecated in favor of GNUTLS_A_UNKNOWN_PSK_IDENTITY.
711 *** OpenPGP related changes
712 The function `gnutls_certificate_set_openpgp_keyserver' have been
713 removed.  There is no replacement functionality inside GnuTLS.  If you
714 need keyserver functionality, consider using the GnuPG tools.
716 All functions, types, and error codes related to OpenPGP trustdb
717 format have been removed.  The trustdb format is a non-standard
718 GnuPG-specific format, and we recommend you to use key rings instead.
719 The following have been removed:
721  gnutls_certificate_set_openpgp_trustdb
722  gnutls_openpgp_trustdb_init
723  gnutls_openpgp_trustdb_deinit
724  gnutls_openpgp_trustdb_import
725  gnutls_openpgp_key_verify_trustdb
726  gnutls_openpgp_trustdb_t
727  GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED
729 The following functions has an added parameter of the (new) type
730 `gnutls_openpgp_crt_fmt_t'.  The type specify the format of the data
731 (binary or base64).  The functions are:
732  gnutls_certificate_set_openpgp_key_file
733  gnutls_certificate_set_openpgp_key_mem
734  gnutls_certificate_set_openpgp_keyring_mem
735  gnutls_certificate_set_openpgp_keyring_file
737 To improve terminology and align with the X.509 interface, some
738 functions have been renamed.  Compatibility mappings exists.  The old
739 and new names of the affected functions and types are:
741         Old name                                New name
742  gnutls_openpgp_key_t                    gnutls_openpgp_crt_t
743  gnutls_openpgp_key_fmt_t                gnutls_openpgp_crt_fmt_t
744  gnutls_openpgp_key_status_t             gnutls_openpgp_crt_status_t
745  GNUTLS_OPENPGP_KEY                      GNUTLS_OPENPGP_CERT
746  GNUTLS_OPENPGP_KEY_FINGERPRINT          GNUTLS_OPENPGP_CERT_FINGERPRINT
747  gnutls_openpgp_key_init                 gnutls_openpgp_crt_init
748  gnutls_openpgp_key_deinit               gnutls_openpgp_crt_deinit
749  gnutls_openpgp_key_import               gnutls_openpgp_crt_import
750  gnutls_openpgp_key_export               gnutls_openpgp_crt_export
751  gnutls_openpgp_key_get_key_usage        gnutls_openpgp_crt_get_key_usage
752  gnutls_openpgp_key_get_fingerprint      gnutls_openpgp_crt_get_fingerprint
753  gnutls_openpgp_key_get_pk_algorithm     gnutls_openpgp_crt_get_pk_algorithm
754  gnutls_openpgp_key_get_name             gnutls_openpgp_crt_get_name
755  gnutls_openpgp_key_get_version          gnutls_openpgp_crt_get_version
756  gnutls_openpgp_key_get_creation_time    gnutls_openpgp_crt_get_creation_time
757  gnutls_openpgp_key_get_expiration_time  gnutls_openpgp_crt_get_expiration_time
758  gnutls_openpgp_key_get_id               gnutls_openpgp_crt_get_id
759  gnutls_openpgp_key_check_hostname       gnutls_openpgp_crt_check_hostname
760  gnutls_openpgp_send_key                 gnutls_openpgp_send_cert
762 ** API and ABI modifications:
763 No changes since last version.
765 * Version 2.1.8 (released 2007-12-10)
767 ** The GPL version has been changed from version 2 to version 3.
768 This affects the self-tests, command-line tools, the libgnutls-extra
769 library, the relevant guile parts, and the build environment.
771 ** Added gnutls_x509_crt_get_subject_alt_name2().
773 ** Corrected a segfault when setting an empty gnutls_priority_t
774 at gnutls_priority_set().
776 ** Use gettext 0.17 which updates m4/lib-*.m4 macros.
777 Fixes a problem with spurious -L/usr/lib additions.
779 ** API and ABI modifications:
780 gnutls_x509_crt_get_subject_alt_name2: ADD.
782 * Version 2.1.7 (released 2007-11-29)
784 ** PKCS #8 parser can now encode/decode DSA keys.
786 ** Updated gnutls_set_default_priority2() now renamed to
787 gnutls_priority_set() and gnutls_priority_set_direct() which
788 accept a string to indicate preferences of ciphersuite parameters.
790 ** gnutls-cli and gnutls-serv now have a --priority option to set
791 the priority string.
793 ** The gnutls_*_convert_priority() functions were deprecated by
794 the gnutls_priority_set() and gnutls_priority_set_direct().
796 ** Internal copy of OpenCDK upgraded to version 0.6.6.
798 ** API and ABI modifications:
799 gnutls_priority_init: ADD.
800 gnutls_priority_deinit: ADD.
801 gnutls_priority_set: ADD.
802 gnutls_priority_set_direct: ADD.
803 gnutls_set_default_priority2: RENAMED to gnutls_priority_set_direct()
804 gnutls_mac_convert_priority: REMOVED
805 gnutls_compression_convert_priority: REMOVED
806 gnutls_protocol_convert_priority: REMOVED
807 gnutls_kx_convert_priority: REMOVED
808 gnutls_cipher_convert_priority: REMOVED
809 gnutls_certificate_type_convert_priority: REMOVED
810 gnutls_set_default_priority: UNDEPRECATED
811 gnutls_set_default_priority_export: UNDEPRECATED
813 ** Undocumented API and ABI modifications earlier in the 2.1.x series:
814 GNUTLS_CIPHER_UNKNOWN: ADD.
815 GNUTLS_CIPHER_CAMELLIA_128_CBC: ADD.
816 GNUTLS_CIPHER_CAMELLIA_256_CBC: ADD.
817 GNUTLS_KX_UNKNOWN: ADD.
818 GNUTLS_COMP_UNKNOWN: ADD.
819 GNUTLS_CRT_UNKNOWN: ADD.
820 gnutls_mac_get_id: ADD.
821 gnutls_compression_get_id: ADD.
822 gnutls_cipher_get_id: ADD.
823 gnutls_kx_get_id: ADD.
824 gnutls_protocol_get_id: ADD.
825 gnutls_certificate_type_get_id: ADD.
826 gnutls_handshake_post_client_hello_func: ADD.
827 gnutls_certificate_send_x509_rdn_sequence: ADD prototype to gnutls.h.in.
829 * Version 2.1.6 (released 2007-11-15)
831 ** Corrected bug in decompression of expanded compression data.
833 ** Added the --to-p8 option to certtool to convert private keys
834 to PKCS #8 keys.
836 ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code.
838 ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted
839 private keys.
841 ** Fixed GNUTLS_E_UNKNOWN_ALGORITHM vs GNUTLS_E_UNKNOWN_HASH_ALGORITHM.
842 During the 2.1.x series the GNUTLS_E_UNKNOWN_HASH_ALGORITHM error code
843 was renamed to GNUTLS_E_UNKNOWN_ALGORITHM, unfortunately without being
844 documented.  This caused some problems (e.g., debian #450854).  To
845 avoid backwards compatibility problems, this release revert this
846 change, so that GNUTLS_E_UNKNOWN_HASH_ALGORITHM works just like it has
847 done in GnuTLS 2.0.x and earlier, and add a new error code
848 GNUTLS_E_UNKNOWN_ALGORITHM.
850 ** Fixes several gtk-doc warnings.
852 ** API and ABI modifications:
853 GNUTLS_E_UNKNOWN_ALGORITHM: CHANGED.
854 GNUTLS_E_UNKNOWN_HASH_ALGORITHM: CHANGED.
855 GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR: ADD.
857 * Version 2.1.5 (released 2007-11-01)
859 ** Fix PKCS#3 parameter export problem.
861 ** Improve certtool queries, they now print the default value.
863 ** Fix ABI version.
865 ** Update gnulib files.
867 ** API and ABI modifications:
868 No changes since last version.
870 * Version 2.1.4 (released 2007-10-27)
872 ** Added the --v1 option to certtool, to allow generating X.509
873 version 1 certificates. 
875 ** certtool: Add option --disable-quick-random to enable the old behaviour
876 of using /dev/random to generate keys.
878 ** Added priority functions that accept strings.
880 ** Added gnutls_set_default_priority2() which accepts a flag to indicate
881 priorities preferences.
883 ** Added gnutls_record_disable_padding() to allow servers talking to 
884 buggy clients that complain if the TLS 1.0 record protocol padding is
885 used.
887 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
888 all supported compatibility options (like disabling padding).
890 ** The gnutls_certificate_set_openpgp_* functions were modified to include
891 the format. This makes the interface consistent with the x509 functions.
893 ** Internal copy of OpenCDK upgraded to version 0.6.5.
895 ** Update gnulib files.
897 ** API and ABI modifications:
898 gnutls_certificate_set_openpgp_key_mem: MODIFIED
899 gnutls_certificate_set_openpgp_key_file: MODIFIED
900 gnutls_certificate_set_openpgp_keyring_mem: MODIFIED
901 gnutls_certificate_set_openpgp_keyring_file: MODIFIED
902 gnutls_set_default_priority: DEPRECATED
903 gnutls_set_default_priority_export: DEPRECATED
904 gnutls_set_default_priority2: ADDED
905 gnutls_session_enable_compatibility_mode: ADDED
906 gnutls_record_disable_padding: ADDED
907 gnutls_mac_convert_priority: ADDED
908 gnutls_compression_convert_priority: ADDED
909 gnutls_protocol_convert_priority: ADDED
910 gnutls_kx_convert_priority: ADDED
911 gnutls_cipher_convert_priority: ADDED
912 gnutls_certificate_type_convert_priority: ADDED
913 gnutls_openpgp_key_t: RENAMED to gnutls_openpgp_crt_t
914 gnutls_openpgp_key_status_t: RENAMED to gnutls_openpgp_crt_status_t
915 gnutls_openpgp_send_key: RENAMED to gnutls_openpgp_send_cert
916 gnutls_openpgp_key_init: RENAMED to gnutls_openpgp_crt_init
917 gnutls_openpgp_key_import: RENAMED to gnutls_openpgp_crt_import
918 gnutls_openpgp_key_export: RENAMED to gnutls_openpgp_crt_export
919 gnutls_openpgp_key_check_hostname: RENAMED to gnutls_openpgp_crt_check_hostname
920 gnutls_openpgp_key_get_creation_time: RENAMED to gnutls_openpgp_crt_get_creation_time
921 gnutls_openpgp_key_get_expiration_time: RENAMED to gnutls_openpgp_crt_get_expiration_time
922 gnutls_openpgp_key_get_fingerprint: RENAMED to gnutls_openpgp_crt_get_fingerprint
923 gnutls_openpgp_key_get_version: RENAMED to gnutls_openpgp_crt_get_version
924 gnutls_openpgp_key_get_pk_algorithm: RENAMED to gnutls_openpgp_crt_get_pk_algorithm
925 gnutls_openpgp_key_get_name: RENAMED to gnutls_openpgp_crt_get_name
926 gnutls_openpgp_key_deinit: RENAMED to gnutls_openpgp_crt_deinit
927 gnutls_openpgp_key_get_id: RENAMED to gnutls_openpgp_crt_get_id
928 gnutls_openpgp_key_get_key_usage: RENAMED to gnutls_openpgp_crt_get_key_usage
929 gnutls_openpgp_key_verify_ring: RENAMED to gnutls_openpgp_crt_verify_ring
930 gnutls_openpgp_key_verify_self: RENAMED to gnutls_openpgp_crt_verify_self
932 * Version 2.1.3 (released 2007-10-17)
934 ** TLS authorization support removed.
935 This technique may be patented in the future, and it is not of crucial
936 importance for the Internet community.  After deliberation we have
937 concluded that the best thing we can do in this situation is to
938 encourage society not to adopt this technique.  We have decided to
939 lead the way with our own actions.
941 ** Re-enabled the 256 bit ciphers in the default priorities.
943 ** Corrected bugs in openpgp key verification using a keyring (both in
944 gnutls and opencdk)
946 ** API and ABI modifications:
947 gnutls_certificate_set_openpgp_keyserver: REMOVED
948 gnutls_authz_data_format_type_t,
949 gnutls_authz_recv_callback_func,
950 gnutls_authz_send_callback_func,
951 gnutls_authz_enable,
952 gnutls_authz_send_x509_attr_cert,
953 gnutls_authz_send_saml_assertion,
954 gnutls_authz_send_x509_attr_cert_url,
955 gnutls_authz_send_saml_assertion_url: REMOVED.
956 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
957     gnutls_supplemental_data_format_type_t enum type becomes empty.
959 * Version 2.1.2 (released 2007-10-14)
961 ** Removed all the trustdb code from openpgp authentication.
962 We now use only the well-specified keyrings.
964 ** The 256 bit ciphers are not enabled in the default priorities.
966 ** Added support for DSA2 using libgcrypt 1.3.0.
968 ** certtool: Fixed data corruption when using --outder.
970 ** Removed all the xml related stubs and functions.
972 ** Added capability to set a callback after the client hello is received
973 by the server in order to adjust parameters before the handshake.
975 ** SRP was corrected to adhere to the latest draft (published soon as RFC)
977 ** Corrected bug which did not allow a server to run without supporting
978 certificates.
980 ** Updated the DN parser which now prints wrongly decoded values as hex
981 strings.
983 ** certtool: Add option --quick-random.
984 For generating low security test credentials.
986 ** API and ABI modifications:
987 gnutls_x509_crt_to_xml: REMOVED
988 gnutls_openpgp_key_to_xml: REMOVED
989 gnutls_openpgp_key_verify_trustdb: REMOVED
990 gnutls_openpgp_trustdb_init: REMOVED
991 gnutls_openpgp_trustdb_deinit: REMOVED
992 gnutls_openpgp_trustdb_import: REMOVED
993 gnutls_certificate_set_openpgp_trustdb: REMOVED
994 gnutls_srp_client_credentials_function: CHANGED
995 gnutls_handshake_set_post_client_hello_function: ADDED
996 gnutls_mac_get_key_size: ADDED
997 GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED: DEPRECATED.
998 GNUTLS_A_MISSING_SRP_USERNAME: DEPRECATED
999 GNUTLS_A_UNKNOWN_SRP_USERNAME: DEPRECATED
1001 * Version 2.1.1 (released 2007-09-24)
1003 ** Added support for Camellia cipher, thanks to Yoshisato YANAGISAWA.
1004 Camellia is only enabled in GnuTLS if the installed libgcrypt has been
1005 compiled with Camellia support.  See the libgcrypt documentation on
1006 how to enable it.  Unconditionally disable it using the configure
1007 option --disable-camellia.  Fixes #1.
1009 ** Properly document in the NEWS file the API change in the last release.
1011 ** API and ABI modifications:
1012 No changes since last version.
1014 * Version 2.1.0 (released 2007-09-20)
1016 ** Support for draft-rescorla-tls-opaque-prf-input-00.txt.
1017 The support is disabled by default.  Since no value has been allocated
1018 by the IANA for this extension yet, you will need to provide one
1019 yourself by invoking './configure --enable-opaque-prf-input=42'.
1020 Fixes #2.
1022 ** Example code: Fix compilation flaw under MinGW.
1024 ** API and ABI modifications:
1025 gnutls_oprfi_callback_func: ADD, new typedef function prototype.
1026 gnutls_oprfi_enable_client: ADD, new function.
1027 gnutls_oprfi_enable_server: ADD, new function.
1029 * Version 2.0.4 (released 2007-11-16)
1031 ** Corrected bug in decompression of expanded compression data.           
1033 ** API and ABI modifications:
1034 No changes since last version.
1036 * Version 2.0.3 (released 2007-11-10)
1038 ** This version backports several fixes from the 2.1.x branch.
1040 ** Fixed PKCS #3 parameter export.
1042 ** Added gnutls_record_disable_padding() to allow servers talking to
1043 buggy clients that complain if the TLS 1.0 record protocol padding is
1044 used.
1046 ** Introduced gnutls_session_enable_compatibility_mode() to allow enabling
1047 all supported compatibility options (like disabling padding).
1049 ** Corrected bug which did not allow a server to run without supporting
1050 certificates.
1052 ** API and ABI modifications:
1053 gnutls_session_enable_compatibility_mode: ADDED
1054 gnutls_record_disable_padding: ADDED
1056 * Version 2.0.2 (released 2007-10-17)
1058 ** TLS authorization support removed.
1059 This technique may be patented in the future, and it is not of crucial
1060 importance for the Internet community.  After deliberation we have
1061 concluded that the best thing we can do in this situation is to
1062 encourage society not to adopt this technique.  We have decided to
1063 lead the way with our own actions.
1065 ** certtool: Fixed data corruption when using --outder.
1067 ** Fix configure-time Guile detection.
1069 ** API and ABI modifications:
1070 GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: ADDED.  To avoid that the
1071     gnutls_supplemental_data_format_type_t enum type becomes empty.
1073 * Version 2.0.1 (released 2007-09-20)
1075 ** New directory doc/credentials/ with test credentials.
1076 This collects the test credentials from the web page and from src/.
1077 The script gnutls-http-serv has also been moved to that directory.
1079 ** Update SRP extension type and cipher suite with official IANA values.
1080 This breaks backwards compatibility with SRP in older versions of
1081 GnuTLS, but this is intentional to speed up the adoption of the
1082 official values.  The old values we used were incorrect.
1084 ** Guile: Fix `x509-certificate-dn-oid'
1086 ** API and ABI modifications:
1087 No changes since last version.
1089 * Version 2.0.0 (released 2007-09-04)
1091 ** Included copy of Libtasn1 upgraded to version 1.1.
1093 ** Disable building of some examples if anonymous ciphers are disabled.
1095 ** Don't build examples for disabled features.
1097 ** API and ABI modifications:
1098 No changes since last version.
1100 * Version 1.7.19 (released 2007-08-27)
1102 ** Fix gnutls_error_is_fatal so that positive "errors" are non-critical.
1103 This solves connection problems in mutt, see
1104 <http://bugs.debian.org/439640>.
1106 ** Update gnulib files.
1107 In particular, the getpass module -- with its dependencies on getline,
1108 getdelim, fseeko etc -- where moved from the lgl/ (used by the core
1109 library) directory to the gl/ directory (only used by the command line
1110 tools).  The reason is that getpass is now only used by the
1111 command-line tools, and reducing the number of gnulib modules linked
1112 to the core library helps portability and reduces size.
1114 ** Fix warnings.
1116 ** Disable building of PGP examples if PGP is disabled.
1118 ** Included copy of OpenCDK upgraded to version 0.6.4.
1120 ** API and ABI modifications:
1121 No changes since last version.
1123 * Version 1.7.18 (released 2007-08-16)
1125 ** Install images for the info manual.
1126 This has a side effect of renaming the images.  See
1127 <http://thread.gmane.org/gmane.comp.tex.texinfo.bugs/3533> for
1128 discussions on the approach chosen.
1130 ** Fix pointer mix to variables of different size.
1131 Patch extracted from
1132 <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
1134 ** Fix warnings during build.
1135 Thanks to Andreas Metzler <ametzler@downhill.at.eu.org>.
1137 ** API and ABI modifications:
1138 No changes since last version.
1140 * Version 1.7.17 (released 2007-08-15)
1142 ** New functions to perform external signing.
1143 Set the signing callback function (of the gnutls_sign_func prototype)
1144 using the gnutls_sign_callback_set function.  In the callback, you may
1145 find the new functions gnutls_x509_privkey_sign_hash and
1146 gnutls_openpgp_privkey_sign_hash useful.  A new function
1147 gnutls_sign_callback_get is also added, to retrieve the function
1148 pointer.  Thanks to "Alon Bar-Lev" <alon.barlev@gmail.com> for
1149 comments and testing.
1151 ** New self test of client and server authenticated X.509 TLS sessions.
1152 See tests/x509self.c and tests/x509signself.c.  The latter also tests
1153 the new external signing callback interface.
1155 ** New errors GNUTLS_E_APPLICATION_ERROR_MIN..GNUTLS_E_APPLICATION_ERROR_MAX.
1156 These two actually describe the outer limits of a range of error codes
1157 reserved to the application.  All of the errors are treated as fatal
1158 by the library (it has to since it doesn't know the semantics of the
1159 error codes).  This can be useful in callbacks, to signal some
1160 application-specific error condition, which will usually eventually
1161 cause some gnutls API to return the same error code as the callback,
1162 which then can be inspected by the application.  Note that error codes
1163 are negative.
1165 ** gnutls_set_default_priority now disable TLS 1.2 by default.
1166 The RFC is not released yet, and we're approaching a major release so
1167 let's not enable it just yet.
1169 ** Fix namespace so that gnutls_*_t is used consistently.
1170 Before, many places in the GnuTLS code used the old deprecated type
1171 names without the '_t' suffix.
1173 ** Build fixes for Guile code.
1174 Patch from Ludovic Courtes <ludovic.courtes@laas.fr>.
1176 ** More documentation fixes.
1177 In particular, the section headings were modified for casing.  By
1178 Ludovic Courtes <ludovic.courtes@laas.fr>.
1180 ** Updated Polish and Swedish translations.
1181 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Daniel Nylander
1182 <po@danielnylander.se>.
1184 ** API and ABI modifications:
1185 gnutls_sign_func: ADD, new type for sign callback.
1186 gnutls_sign_callback_set: ADD, new function to set sign callback.
1187 gnutls_sign_callback_get: ADD, new function to retrieve sign callback.
1188 gnutls_x509_privkey_sign_hash,
1189 gnutls_openpgp_privkey_sign_hash: ADD, new functions useful in sign callback.
1190 GNUTLS_E_APPLICATION_ERROR_MIN,
1191 GNUTLS_E_APPLICATION_ERROR_MAX: ADD, new CPP #defines for error codes.
1193 * Version 1.7.16 (released 2007-08-07)
1195 ** Fix sanity checks and return values in certificate selection.
1196 In some cases, GnuTLS omitted to report suitable error codes when no
1197 suitable certificate was found.
1199 ** Fix gnutls-cli starttls EOF on Mac OS X.
1200 Thanks to Hal Eden <n.mavrogiannopoulos@gmail.com>.
1202 ** Documentation fixes.
1203 In particular, the section headings were modified for casing.  By
1204 Ludovic Courtes <ludovic.courtes@laas.fr>.
1206 ** Update gnulib files.
1208 ** API and ABI modifications:
1209 No changes since last version.
1211 * Version 1.7.15 (released 2007-07-02)
1213 ** Fix self-tests key-id under mingw32.
1215 ** Test that the Guile header files are recent enough to work.
1216 Before we just tested that the command line tool 'guile' was recent
1217 enough, which may not be sufficient if you still have an old
1218 libguile.h header installed.
1220 ** Guile bindings are now installed under $prefix by default.
1221 Use --without-guile-site-dir to install it under $pkgdatadir/site/
1222 where $pkgdatadir is as returned by "guile-config info pkgdatadir".
1223 Use --with-guile-site-dir=/your/own/path to specify the path manually.
1224 The default, --with-guile-site-dir, will install the Guile bindings
1225 under $datadir/guile/site.  There is a new section 'Guile
1226 Preparations' in the manual that discuss these issues.
1228 ** Fix run-time library path ordering in linking the Guile bindings.
1230 ** Improved manual on downloading, installing, getting help, bug reports etc.
1231 Suggested by Ludovic Courtès <ludovic.courtes@laas.fr>.
1233 ** Add Malay message translations.
1234 Thanks to Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
1236 ** API and ABI modifications:
1237 No changes since last version.
1239 * Version 1.7.14 (released 2007-06-26)
1241 ** Don't enable Guile bindings unless we have Guile 1.8 or later.
1242 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
1244 ** Fix memory leak during DSA signature verification.
1245 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
1247 ** Fix crash in gnutls-cli when TLS handshake fails.
1248 Reported by Marc Haber <mh+debian-bugs@zugschlus.de> and Andreas
1249 Metzler <ametzler@downhill.at.eu.org> via Debian BTS #429183, see
1250 <http://bugs.debian.org/429183>.
1252 ** Minor OpenPGP fixes in stream_to_datum.
1253 Patch from Timo Schulz <twoaday@freakmail.de> and Ludovic Courtès
1254 <ludovic.courtes@laas.fr>.
1256 ** Fix off-by-one in TLS 1.2 handshake.
1257 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
1259 ** Minor Guile binding self-test cleanup.
1260 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
1262 ** Update gnulib files.
1264 ** API and ABI modifications:
1265 No changes since last version.
1267 * Version 1.7.13 (released 2007-06-11)
1269 ** OpenCDK copy updated to version 0.6.3.
1271 ** Build fixes for GnuTLS Guile bindings.
1272 Patch from Ludovic Courtès <ludovic.courtes@laas.fr>.
1274 ** Build fix for GTK-DOC manual.
1276 ** Update gnulib files.
1278 ** API and ABI modifications:
1279 No changes since last version.
1281 * Version 1.7.12 (released 2007-06-08)
1283 ** Guile bindings for GnuTLS have been included.
1284 Contributed by Ludovic Courtès <ludovic.courtes@laas.fr>.  There is a
1285 new chapter 'Guile Bindings' in the manual.
1287 ** Have PKCS8 parser return better error codes.
1288 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
1289 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
1290 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
1292 ** Fix mem leak for sessions with client authentication via certificates.
1293 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
1294 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
1296 ** Fix mem leaks.
1297 Reported by Dennis Vshivkov <walrus@amur.ru>, see
1298 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.  Added
1299 self-test tests/parse_ca.c to test regressions.
1301 ** Fix build failures related to missing images in manual.
1302 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
1304 ** Update gnulib files.
1306 ** API and ABI modifications:
1307 No changes since last version.
1309 * Version 1.7.11 (released 2007-05-26)
1311 ** Include opencdk.h in the release.
1312 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
1314 ** API and ABI modifications:
1315 No changes since last version.
1317 * Version 1.7.10 (released 2007-05-25)
1319 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
1320 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.
1322 ** Update of gnulib files.
1324 ** GnuTLS is now developed in GIT instead of CVS.
1325 See <http://repo.or.cz/w/gnutls.git> for a public repository.
1327 ** API and ABI modifications:
1328 gnutls_x509_crt_get_raw_issuer_dn: ADD.
1329 gnutls_x509_crt_get_raw_dn: ADD.
1331 * Version 1.7.9 (released 2007-05-12)
1333 ** X.509 certificates are preferred over OpenPGP keys.
1334 This is a change in the semantics of gnutls_set_default_priority.
1336 ** The included copy of OpenCDK has been updated to 0.6.1.
1337 There has been some API changes in OpenCDK, and the GnuTLS layer have
1338 been modified as well.  Note that while there are API/ABI incompatible
1339 changes in OpenCDK, this does not influence GnuTLS's API/ABI because
1340 its API/ABI have not changed.  From this version on, GnuTLS requires
1341 OpenCDK 0.6.0 or later.
1343 ** Fix build failure caused by missing doc/gnutls-logo.pdf.
1345 ** Change certtool's default serial number from 0 to a time-based value.
1347 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
1348 Before, we remove the parameters field, which resulted in a slightly
1349 different DER encoding which in turn caused signature verification
1350 failures of GnuTLS-generated RSA certificates in some other
1351 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
1352 you read, this may or may not be correct, but our new behaviour appear
1353 to be consistent with other widely used implementations.
1355 ** Fix mem leaks in gnutls_x509_crt_print.
1357 ** API and ABI modifications:
1358 No changes since last version.
1360 * Version 1.7.8 (released 2007-04-16)
1362 ** Added examples for the authorization extension.
1363 See doc/examples/ex-client-authz.c and doc/examples/ex-serv-authz.c.
1365 ** The examples only use gnutls_set_default_priority().
1366 The exception is when DH_ANON is needed.
1368 ** Improve gnutls_set_default_priority() priorities.
1369 The new approach is for it to try and negotiate all secure and
1370 standard mechanisms available.  Currently, DH_ANON ciphersuites and
1371 LZO compressions are not enabled by default, because they are,
1372 respectively, insecure and non-standardized.  Note that TLS 1.2 will
1373 not be enabled by default in non-experimental release until it has
1374 been approved by the IETF.
1376 ** gnutls-cli and gnutls-serv now uses the library's default priorities.
1377 This means that to get DH_ANON and LZO compression, you'll need to
1378 specify that manually using '--kx anon' or '--comp lzo'.
1380 ** Minor fixes to the human display format of X.509 certificates.
1382 ** New APIs to extract Distinguished Name's from X.509 certificates.
1383 Based on patch from Howard Chu <hyc@symas.com>.
1385 ** Improved library searching for opencdk.
1386 It will now add the appropriate -R or -Wl,-rpath flags as necessary.
1387 The deprecated opencdk.m4 is no longer used.
1389 ** New APIs to list supported algorithms in the library.
1390 The APIs are gnutls_cipher_list, gnutls_mac_list,
1391 gnutls_compression_list, gnutls_protocol_list,
1392 gnutls_certificate_type_list, gnutls_kx_list, and
1393 gnutls_cipher_suite_info.  Suggested by Howard Chu <hyc@symas.com>.
1395 ** The gnutls_x509_crt_get_key_id API now handle non-RSA/DSA keys.
1397 ** New configure option --disable-tls-authorization to disable tls-authz.
1399 ** Fix prototype for `gnutls_psk_set_client_credentials'.
1400 The last parameter was renamed from 'flags' to 'format' and the type
1401 changed from 'unsigned int' to 'gnutls_psk_key_flags' (an enum type),
1402 which shouldn't cause any ABI changes.  Reported by ludo@chbouib.org
1403 (Ludovic Courtès).
1405 ** Fix allocation in gnutls_certificate_set_openpgp_key.
1406 Tiny patch from ludo@chbouib.org (Ludovic Courtès).
1408 ** API and ABI modifications:
1409 gnutls_x509_dn_t: ADD.
1410 gnutls_x509_ava_st: ADD.
1411 gnutls_x509_crt_get_subject,
1412 gnutls_x509_crt_get_issuer: ADD.
1413 gnutls_x509_dn_get_rdn_ava: ADD.
1414 gnutls_cipher_list: ADD.
1415 gnutls_mac_list: ADD.
1416 gnutls_compression_list: ADD.
1417 gnutls_protocol_list: ADD.
1418 gnutls_certificate_type_list: ADD.
1419 gnutls_kx_list: ADD.
1420 gnutls_cipher_suite_info: ADD.
1422 * Version 1.7.7 (released 2007-02-22)
1424 ** Support for supplemental handshake messages and authorization data.
1425 Supplemental data is described in RFC 4680 and the authorization
1426 extensions in draft-housley-tls-authz-extns-07.
1428 ** Support for authorization data in gnutls-cli and gnutls-serv.
1429 New parameters --authz-x509-attr-cert and --authz-saml-assertion.
1431 ** Fix for gnutls_x509_crt_check_hostname.
1432 Before it would have reported that the certificate matched a hostname
1433 when it did not have any dNSName or any CN field.  Report and tiny
1434 patch from "Richard W.M. Jones" <rjones@redhat.com>.
1436 ** New self test for RFC 2818 comparison in gnutls_x509_crt_check_hostname.
1437 Tests regressions of the bug, and several other features.
1439 ** GnuTLS now matches URI's with IP Addresses against iPAddress SAN's.
1440 Before there were no support for iPAddress SAN's during comparison.
1442 ** New API to print information about CRL's.
1443 The function is gnutls_x509_crl_print.
1445 ** New API to extract signature value from CRL's.
1446 The function is gnutls_x509_crl_get_signature.
1448 ** Support for directoryName Subject Alternative Name's.
1449 The gnutls_x509_crt_get_subject_alt_name function returns the DN as a
1450 string in the provided buffer.
1452 ** Internal improvements to certtool.
1453 It uses gnutls_x509_crl_print to print CRL information.  It uses some
1454 more gnulib modules to simplify error handling.
1456 ** API and ABI modifications:
1457 GNUTLS_HANDSHAKE_SUPPLEMENTAL: ADD, new gnutls_handshake_description_t element.
1458 gnutls_supplemental_data_format_type_t: ADD.
1459 gnutls_authz_data_format_type_t: ADD.
1460 gnutls_supplemental_get_name: ADD.
1461 gnutls_authz_recv_callback_func,
1462 gnutls_authz_send_callback_func: ADD, callback prototypes.
1463 gnutls_authz_enable: ADD.
1464 gnutls_authz_send_x509_attr_cert,
1465 gnutls_authz_send_saml_assertion,
1466 gnutls_authz_send_x509_attr_cert_url,
1467 gnutls_authz_send_saml_assertion_url: ADD.
1468 GNUTLS_SAN_DN: ADD, new gnutls_x509_subject_alt_name_t element.
1469 gnutls_x509_crl_print: ADD.
1470 gnutls_x509_crl_get_signature: ADD.
1472 * Version 1.7.6 (released 2007-02-12)
1474 ** Support for 'otherName' Subject Alternative Names.
1475 The existing API gnutls_x509_crt_get_subject_alt_name may now return
1476 the new type GNUTLS_SAN_OTHERNAME together with the otherName value.
1477 To find out the otherName OID (necessary for proper parsing of the
1478 value), use the new API gnutls_x509_crt_get_subject_alt_othername_oid.
1479 For known OIDs, gnutls_x509_crt_get_subject_alt_othername_oid will
1480 return "virtual" SAN values, e.g., GNUTLS_SAN_OTHERNAME_XMPP to
1481 simplify OID matching.  Suggested by Matthias Wimmer <m@tthias.eu>.
1483 ** Certtool can print otherName SAN values for certificates.
1484 For known otherName OIDs (currently only id-on-xmppAddr as defined by
1485 RFC 3920), it will also print the name.
1487 ** Fix TLS 1.2 RSA signing in servers.
1488 Before it used the old-style MD5+SHA1 signature, but the TLS
1489 signatures should be normal PKCS#1 signatures.  FYI, we use and
1490 require that DigestInfo parameters are present and NULL for TLS 1.2.
1492 ** Add APIs to access X.509 extensions sequentially.
1493 The existing APIs gnutls_x509_crt_get_extension_oid() and
1494 gnutls_x509_crt_get_extension_by_oid() does not permit callers to
1495 inspect the extensions in the order defined by the certificate.
1497 ** Add API to extract signature value from X.509 certificates.
1498 The function is gnutls_x509_crt_get_signature.
1500 ** Fix crash when generating proxy certificates in batch mode.
1501 If you don't specify a proxy policy in batch mode, it will use
1502 id-ppl-inheritALL.
1504 ** Add API to print information about X.509 certificates.
1505 The function is gnutls_x509_crt_print.
1507 ** Certtool uses the new API gnutls_x509_crt_print to print certificate info.
1508 One consequence of this is that the output syntax has changed
1509 slightly.  Some more fields are printed.
1511 ** Doc fixes.
1513 ** API and ABI modifications:
1514 gnutls_x509_crt_print: ADD
1515 gnutls_certificate_print_formats_t: ADD, new enum.
1516 gnutls_x509_crt_get_signature: ADD.
1517 gnutls_x509_crt_get_extension_data: ADD.
1518 gnutls_x509_crt_get_extension_info: ADD.
1519 gnutls_x509_crt_get_subject_alt_othername_oid: ADD.
1520 GNUTLS_SAN_OTHERNAME: ADD, new gnutls_x509_subject_alt_name_t element.
1521 GNUTLS_SAN_OTHERNAME_XMPP: ADD, new gnutls_x509_subject_alt_name_t element.
1523 * Version 1.7.5 (released 2007-02-06)
1525 ** Servers won't negotiate SRP RSA/DSS cipher suites if no SRP credential
1526 ** is set.
1528 ** Default behaviour for the gnutls-cli and gnutls-serv tools improved.
1530 ** Fix --list output for gnutls-cli and gnutls-serv.
1531 Mention TLS1.2, SHA512 etc.
1533 ** Manual contains new section on setting up a test HTTP server.
1534 A server set up following those descriptions are available online via
1535 <http://www.gnutls.org/server.html>.
1537 ** Update of gnulib files.
1539 ** API and ABI modifications:
1540 No changes since last version.
1542 * Version 1.7.4 (released 2007-02-05)
1544 ** Support for RSA signing using SHA-256/384/512.
1545 A new self test "sha2" tries to build a long X.509 certificate chain
1546 testing all new hashes.
1548 ** The gnutls-serv tool now use static DH parameters if none are supplied.
1550 ** Discuss proxy certificates in the manual.
1552 ** Improve bibliographical citations in the manual.
1554 ** Update of gnulib files.
1556 ** Fix certtool template handling of pathLenConstraints.
1557 It now defaults to -1 instead of 0, which causes the field to be
1558 missing unless the template specify it.
1560 ** API and ABI modifications:
1561 GNUTLS_MAC_SHA256,
1562 GNUTLS_MAC_SHA384,
1563 GNUTLS_MAC_SHA512: New gnutls_mac_algorithm_t values.
1564 GNUTLS_DIG_SHA256,
1565 GNUTLS_DIG_SHA384,
1566 GNUTLS_DIG_SHA512: New gnutls_digest_algorithm_t values.
1567 GNUTLS_SIGN_RSA_SHA256,
1568 GNUTLS_SIGN_RSA_SHA384,
1569 GNUTLS_SIGN_RSA_SHA512: New gnutls_sign_algorithm_t values.
1571 * Version 1.7.3 (released 2007-02-01)
1573 ** New option to certtool: --generate-proxy.
1574 This will generate a Proxy Certificate from an end entity certificate.
1575 Proxy Certificates are documented in RFC 3820.  You will need to
1576 specify the proxy certificate's private key with --load-privkey, the
1577 user certificate with --load-certificate and the private key used to
1578 sign the new proxy certificate with --load-ca-privkey.  Certtool will
1579 query for proxy path length and the policy language OID.  Currently
1580 only OIDs that have an empty policy are supported (which includes the
1581 two OIDs defined by RFC 3820).
1583 ** Certtool --certificate-info now prints information for Proxy Certificates.
1584 Before the proxy extension was just printed as DER encoded data.
1586 ** New APIs to set proxy subject names and get/set proxy cert extension.
1588 ** Fix parsing of pathLenConstraints in BasicConstraints with missing cA.
1590 ** Added self-test to test for regressions of pathLenConstraint bug.
1591 Incidentally, this also test (some) other regressions or changes in
1592 the output from certtool --certificate-info.
1594 ** When certtool generates CA certificates, pressing enter on the path
1595 ** length constraint query will now remove the field.
1596 Before it set the path length constraint to 0, which is a rather poor
1597 default.
1599 ** Certtool now print times in UTC when printing certificate/CRL info.
1601 ** Add better fix to work around C++ compiler bug on Mac OS X.
1602 Reported and tiny patch provided by Matthias Scheler <tron@NetBSD.org>.
1604 ** Fix import of ASCII armored OpenPGP keys.
1605 Patch by ludovic.courtes@laas.fr (Ludovic Courtès).
1607 ** Update of gnulib files.
1609 ** API and ABI modifications:
1610 gnutls_x509_crt_set_proxy_dn: ADD.
1611 gnutls_x509_crt_set_proxy: ADD.
1612 gnutls_x509_crt_get_proxy: ADD.
1614 * Version 1.7.2 (released 2007-01-14)
1616 ** Certtool now print the value of the pathLenConstraints field for certs.
1618 ** Certtool now query for path length constraints when generating CA certs.
1619 For batch uses, the certtool configuration name is "path_len".
1620 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
1622 ** Add new API to get/set pathLenConstraint in the Basic Constraints.
1623 The new functions gnutls_x509_crt_get_basic_constraints and
1624 gnutls_x509_crt_set_basic_constraints provide a superset of the
1625 functionality in the old gnutls_x509_crt_get_ca_status and
1626 gnutls_x509_crt_set_ca_status (respectively), but the old functions
1627 will continue to be supported.
1629 ** Add new API in OpenCDK to extract public/secret OpenPGP key to S-expr.
1630 The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  A proper
1631 OpenCDK release with this patch will be made soon, which should bump
1632 the OpenCDK version number.  Patch by Mario Lenz <mario.lenz@gmx.net>.
1634 ** Certtool --to-p12 can now store more than one certificate in the blob.
1635 Before it could only store one certificate, but now it will read and
1636 store as many certificate there are from the --load-certificate file.
1637 Suggested by Sascha Ziemann <sascha.ziemann@secunet.com>.
1639 ** Clean up separation of gnutls and gnutls-extra for OpenPGP.
1640 In particular, the OpenPGP function variables are no longer part of
1641 the exported libgnutls interface, and no header files from
1642 libgnutls-extra (GPL) are needed by libgnutls (LGPL).  The variables
1643 were never intended for non-internal purposes, and thus this does not
1644 imply a change in the external API/ABI.
1646 ** Print URL to gaa when missing, and fix srcdir!=builddir for GAA files.
1647 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
1649 ** GnuTLS no longer uses -mms-bitfields --enable-runtime-pseudo-reloc.
1650 Before these parameters were set to make GnuTLS build under mingw32,
1651 however, they appear to no longer be necessary.
1653 ** A minor fix to the C++ library to make it build.
1654 Reported by Pavlov Konstantin <thresh@altlinux.ru>.
1656 ** Update of gnulib files.
1658 ** API and ABI modifications:
1659 gnutls_x509_crt_get_basic_constraints: ADD.
1660 gnutls_x509_crt_set_basic_constraints: ADD.
1661 cdk_pubkey_to_sexp: ADD (in opencdk).
1662 cdk_seckey_to_sexp: ADD (in opencdk).
1664 * Version 1.7.1 (released 2006-12-28)
1666 ** TLS 1.2 server side fix.
1667 The Certificate Request sent did not contain the list of supported
1668 hashes field, thus violating the protocol.  It will now contain an
1669 empty list.  Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
1671 ** TLS 1.2 DSA signature verification fix.
1672 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
1674 ** Fix the list of trusted CAs that server's send to clients.
1675 Before, the list contained issuer DN's instead of subject DN's of the
1676 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
1678 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
1679 Also added a self-test in tests/certificate_set_x509_crl.c to test the
1680 function.  Reported by Max Kellermann <max@duempel.org>.
1682 ** Encode UID fields in DN's as DirectoryString.
1683 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
1684 incorrect, it should have used DirectoryString.  Now it will use
1685 DirectoryString for the UID field, but for backwards compatibility it
1686 will also accept IA5String UID's.  Reported by Max Kellermann
1687 <max@duempel.org>.
1689 ** Improve out-of-sourcedir builds from CVS.
1690 Reported by ludovic.courtes@laas.fr (Ludovic Courtès).
1692 ** Bootstrap tools changed.
1693 We now require autoconf 2.61, automake 1.10, and gettext 0.16, when
1694 building GnuTLS from CVS.  Libtool 1.5.22 is used.
1696 ** Fixed a syntax error in lib/gnutls.asn.
1697 Reported by Paul Millar <p.millar@physics.gla.ac.uk>.
1699 ** Added German translation of GnuTLS messages.
1701 ** Update of gnulib files.
1703 ** API and ABI modifications:
1704 No changes since last version.
1706 * Version 1.7.0 (released 2006-11-29)
1708 ** The default protocol priority try TLS 1.1 and TLS 1.2 too.
1709 The details is that the protocol priority set by
1710 `gnutls_set_default_priority' has been changed from TLS 1.0 and SSL
1711 3.0 to TLS 1.2, TLS 1.1, TLS 1.0 and SSL 3.0.
1713 ** Preliminary support for TLS 1.2.
1714 The client has been successfully tested against
1715 https://www.mikestoolbox.org:4433/.
1717 ** Anonself test now print a lot of debugging info, including TLS version.
1719 ** Doc fixes in OpenCDK, to avoid some gtk-doc warnings.
1721 ** Update of gnulib files.
1723 ** API and ABI modifications:
1724 GNUTLS_TLS1_2: New gnutls_protocol_t enum member.
1726 *** Pulled up from stable 1.6.x branch:
1728 ** Fix ./configure failure with non-GCC compilers.
1729 This fixes the following error message:
1730 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
1731 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
1733 * Version 1.6.3 (released 2007-05-26)
1735 ** New API functions to extract DER encoded X.509 Subject/Issuer DN.
1736 Suggested by Nate Nielsen <nielsen-list@memberwebs.com>.  Backported
1737 from the 1.7.x branch, see
1738 <http://lists.gnu.org/archive/html/help-gnutls/2007-05/msg00029.html>.
1740 ** Have PKCS8 parser return better error codes.
1741 Reported by Nate Nielsen <nielsen-list@memberwebs.com>, see
1742 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001653.html> and
1743 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-May/001654.html>.
1745 ** Fix mem leak for sessions with client authentication via certificates.
1746 Reported by Andrew W. Nosenko <andrew.w.nosenko@gmail.com>, see
1747 <http://lists.gnupg.org/pipermail/gnutls-dev/2007-April/001539.html>.
1749 ** Fix building of 'tlsia' self test.
1750 Earlier some gcc are known to build tlsia linking to
1751 $prefix/lib/libgnutls-extra.so rather than the libgnutls-extra.so in
1752 the build directory, even though command line parameters look OK.
1753 Changing order of some parameters fixes it.
1755 ** API and ABI modifications:
1756 gnutls_x509_crt_get_raw_issuer_dn: ADD.
1757 gnutls_x509_crt_get_raw_dn: ADD.
1759 * Version 1.6.2 (released 2007-04-18)
1761 ** Fix X.509 signing with RSA-PKCS#1 to set a NULL parameters fields.
1762 Before, we remove the parameters field, which resulted in a slightly
1763 different DER encoding which in turn caused signature verification
1764 failures of GnuTLS-generated RSA certificates in some other
1765 implementations (e.g., GnuPG 2.x's gpgsm).  Depending on which RFCs
1766 you read, this may or may not be correct, but our new behaviour appear
1767 to be consistent with other widely used implementations.
1769 ** Regenerate the PKIX ASN.1 syntax tree.
1770 For some reason, after changing the ASN.1 type of ldap-UID in the last
1771 release, the generated C file built from the ASN.1 schema was not
1772 refreshed.  This can cause problems when reading/writing UID
1773 components inside X.500 Distinguished Names.  Reported by devel
1774 <dev001@pas-world.com>.
1776 ** Updated translations.
1778 ** API and ABI modifications:
1779 No changes since last version.
1781 * Version 1.6.1 (released 2006-12-28)
1783 ** Fix the list of trusted CAs that server's send to clients.
1784 Before, the list contained issuer DN's instead of subject DN's of the
1785 trusted CAs.  Reported by Max Kellermann <max@duempel.org>.
1787 ** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
1788 Reported by Max Kellermann <max@duempel.org>.
1790 ** Encode UID fields in DN's as DirectoryString.
1791 Before GnuTLS encoded and parsed UID fields as IA5String.  This was
1792 incorrect, it should have used DirectoryString.  Now it will use
1793 DirectoryString for the UID field, but for backwards compatibility it
1794 will also accept IA5String UID's.  Reported by Max Kellermann
1795 <max@duempel.org>.
1797 ** Fix ./configure failure with non-GCC compilers.
1798 This fixes the following error message:
1799 configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
1800 Reported by "Michael C. Vergallen" <mvergall@telenet.be>.
1802 ** API and ABI modifications:
1803 No changes since last version.
1805 * Version 1.6.0 (released 2006-11-17)
1807 ** No changes since 1.5.5.
1808 The major changes compared to the 1.4.x branch are:
1810 *** A GnuTLS C++ library is part of the official distribution.
1811 Currently there are no examples or documentation, but hopefully this
1812 will change.  See gnutlsxx.h for the API.
1814 *** Windows is a supported platform.
1815 There are, however, two know bugs.  One is related to select() in
1816 command line tools (not, nota bene, in the library), the other is a
1817 problem with libgcrypt that causes delays.  Help is needed to resolve
1818 those issues, so we feel we can't delay the release because of this.
1820 *** New APIs for custom push/pull function error reporting.
1821 The new APIs are gnutls_transport_set_errno and
1822 gnutls_transport_set_global_errno.  See the release notes for version
1823 1.5.4 for more information.
1825 *** Self tests are run under valgrind, if available.  See --disable-valgrind.
1827 * Version 1.5.5 (released 2006-11-16)
1829 ** Correctly bump shared library version after adding new APIs.
1830 This was forgotten in the last release.
1832 ** Fix unsigned vs signed problem in ex-x509-info.c example.
1833 Reported by Tim Kosse <tim.kosse@filezilla-project.org>.
1835 ** Fix the rsa-md5-collision self test to work for MinGW+Wine.
1837 ** Update of gnulib files.
1839 ** API and ABI modifications:
1840 No changes since last version.
1842 * Version 1.5.4 (released 2006-11-07)
1844 ** New API functions to set errno in push/pull functions.
1845 Under Windows, setting the errno variable in a push/pull replacement
1846 may end up setting the wrong errno variable, and GnuTLS send/recv
1847 functions become confused about the real errno returned from a failed
1848 push/pull function.  Therefor, we have added two APIs to set the errno
1849 variable used by GnuTLS.  The APIs can also help to keep things
1850 thread-safe, by avoiding potentially global variables.  Typically,
1851 instead of setting errno in your push/pull function, you will call one
1852 of these functions.  It is recommended to use
1853 gnutls_transport_set_errno, but if you don't have the session variable
1854 easily accessible in the push/pull replacement function, you can use
1855 gnutls_transport_set_global_errno.  Suggested by Tim Kosse
1856 <tim.kosse@filezilla-project.org>.
1858 void gnutls_transport_set_errno (gnutls_session_t session, int err);
1859 void gnutls_transport_set_global_errno (int err);
1861 ** When calling `recv' or `send' Windows errors are handled properly.
1862 The Windows recv/send functions doesn't use errno, and GnuTLS now use
1863 WSAGetLastError to access the error condition instead.
1865 ** Several OpenPGP API fixes.
1866 All suggested by ludovic.courtes@laas.fr (Ludovic Courtès).  The most
1867 important fix is to change the return value of
1868 gnutls_openpgp_privkey_get_pk_algorithm and
1869 gnutls_openpgp_key_get_pk_algorithm from 'int' to
1870 'gnutls_pk_algorithm_t', which is an enum type (and thus API/ABI
1871 compatible with 'int').
1873 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
1874 ** version, try to negotiate the highest version support by the GnuTLS server,
1875 ** instead of the lowest.
1876 Reported by <Pasi.Eronen@nokia.com>.
1878 ** Replace old constructs with use of gnulib modules.
1879 For example, we can now assume unistd.h, sys/stat.h, sys/socket.h in
1880 the code.  If the headers doesn't exist on the target system, gnulib
1881 will make sure its replacement header files are used instead.
1883 ** Fix SOVERSION computation for *.def files.
1884 This fixes build errors similar to "No rule to make target
1885 `libgnutls-`expr', needed by `all-am'." when building for Windows.
1887 ** gnutls_check-version uses strverscmp from gnulib.
1889 ** Update of gnulib files.
1891 ** API and ABI modifications:
1892 gnutls_transport_set_errno: ADD
1893 gnutls_transport_set_global_errno: ADD
1895 * Version 1.5.3 (released 2006-10-26)
1897 ** Add new self-test of RSA-MD5 signature chains.
1898 Note that we already, since GnuTLS 1.2.9, reject RSA-MD5 signatures
1899 when verifying X.509 chains.  The code is in tests/rsa-md5-collision/
1900 and is based on the work by Marc Stevens et al, see
1901 <http://www.win.tue.nl/hashclash/TargetCollidingCertificates/>.
1903 ** Re-factor self tests.
1905 ** The include copy of Libtasn1 is updated to version 0.3.7.
1907 ** The included copy of OpenCDK is updated to version 0.5.11.
1909 ** Fix the filename of the *.def file on Windows after library version bump.
1911 ** Separated the gnulib directory into one for LGPL modules and one for GPL.
1912 This allows the GPL'd part of GnuTLS to take advantage of the GPL'd
1913 gnulib modules.  Earlier we could only use the LGPL'ed module from
1914 gnulib, because two gnulib directories in the same project didn't
1915 work.
1917 ** API and ABI modifications:
1918 No changes since last version.
1920 * Version 1.5.2 (released 2006-10-03)
1922 ** Decrement the shared library version back to 13 (as in the 1.4.x branch).
1923 Note that if you installed 1.5.0 or 1.5.1, they will have a higher
1924 shared library version than this version, so you'll have to remove
1925 them and possibly relink your applications.  The reason for this is
1926 that no API/ABI changes have been made since the 1.4.x branch, and
1927 that incrementing the shared library version was a mistake.  Reported
1928 by Andreas Metzler <ametzler@downhill.at.eu.org>.
1930 ** Fix off-by-one error when computing length to malloc.
1931 The code is used by gnutls_openpgp_add_keyring_file and
1932 gnutls_openpgp_add_keyring_mem.  Reported by "Adam Langley"
1933 <agl@imperialviolet.org>.
1935 ** Add version script for the GnuTLS C++ library.
1936 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
1938 ** Fix the C++ compiler detection logic.
1939 Reported by Andreas Metzler <ametzler@downhill.at.eu.org>.
1941 ** Update of gnulib files.
1943 ** API and ABI modifications:
1944 No changes since last version.
1946 * Version 1.5.1 (released 2006-09-21)
1948 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
1949 ** Crypto 06 rump session attack.
1950 In particular, we check that the digestAlgorithm.parameters field is
1951 missing or empty, to avoid that it can contain "garbage" that may be
1952 used to alter the numeric properties of the signature.  See
1953 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
1954 not exactly the same as the problem we fix here).  Reported by Yutaka
1955 OIWA <y.oiwa@aist.go.jp>.
1957 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
1958 up to date information.
1960 ** Add self test to test for above flaw.
1962 ** Fix gnutls-cli-debug regarding resume support detection.
1963 Earlier, if the session-id from the server had a length of 0, it would
1964 indicate the the server supports resumption, which isn't the case.
1965 Reported by Kataja Kai <kai.kataja@op.fi>.
1967 ** Fix building of examples on FreeBSD by including netinet/in.h.
1968 Reported by Roman Bogorodskiy <novel@FreeBSD.org>.
1970 ** Fix certtool bug that caused the private key to not be loaded when
1971 generating a certificate with --load-request, which in turn triggered
1972 another unrelated bug in gnutls_x509_crt_sign2 (also fixed).  Reported
1973 by Sascha Ziemann <sascha.ziemann@secunet.com>.
1975 ** gnutls-cli and gnutls-serv works on Windows.
1976 The problem was the select() call that doesn't work on file
1977 descriptors (stdin) on Windows.  We borrowed some code from plibc to
1978 solve this.  It appears to be somewhat unreliable though.
1980 ** Autoconf 2.60 is now used.
1982 ** API and ABI modifications:
1983 No changes since last version.
1985 * Version 1.5.0 (released 2006-08-13)
1987 ** Change SRP and Cert-Type extensions to match IANA registry.
1989 ** Fixed bug in OpenPGP authentication handshake.
1991 ** Improvements for building under MinGW.
1992 Provides internal inet_ntop and inet_pton functions and arpa/inet.h
1993 header.  Calls WSAStartup and WSACleanup in gnutls_global_init and
1994 gnutls_global_deinit, respectively.  Loads getaddrinfo and getnameinfo
1995 at run-time from ws2_32.dll, and falls back on a simple replacement if
1996 it is not available.  Builds the library with -mms-bitfields
1997 -Wl,--enable-runtime-pseudo-reloc.  Links with --output-def, to
1998 create *.def files, which are installed.
2000 ** The examples now (conditionally) include config.h and link to gnulib.
2001 No other source changes were necessary, so the examples should
2002 continue to be possible to use stand-alone without any autoconf or
2003 gnulib stuff.
2005 ** Added C++ header "gnutlsxx.h" and library "libgnutlsxx".
2006 You may unconditionally disable it with --disable-cxx.  See
2007 includes/gnutls/gnutlsxx.h and lib/gnutlsxx.cpp for the
2008 implementation.
2010 ** Made command line tool '--version' behave according to GNU Standards.
2011 This enables 'make distcheck' to succeed.
2013 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
2015 ** Make --without-included-libtasn1 work.
2016 Reported by Daniel Black <dragonheart@gentoo.org>.
2018 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
2019 See http://www.gnu.org/software/gnutls/security.html regardging
2020 GNUTLS-SA-2006-2 for more up to date information.  Reported by
2021 satyakumar <satyam_kkd@hyd.hellosoft.com>.
2023 ** API and ABI modifications:
2024 No changes since last version.
2026 * Version 1.4.5 (released 2006-11-06)
2028 ** When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
2029 ** version, try to negotiate the highest version support by the GnuTLS server,
2030 ** instead of the lowest.
2031 Reported by <Pasi.Eronen@nokia.com>.
2033 ** Fix typo in doc/examples/ex-serv-pgp.c.
2034 Reported by Adam Langley" <agl@imperialviolet.org>.
2036 ** API and ABI modifications:
2037 No changes since last version.
2039 * Version 1.4.4 (released 2006-09-12)
2041 ** Relax the test that caught signatures that exploit the variant of
2042 ** Bleichenbacher's Crypto 06 rump session attack on our
2043 ** verification logic flaw.
2044 In particular, we now permit the digestAlgorithm.parameters field to
2045 be present but empty, whereas in 1.4.3 we actually checked that the
2046 field was absent.
2048 ** Revert the removal of debug information for the GNUTLS-SA-2006-3 problem.
2049 The messages are only printed in debug mode, which is not recommended
2050 for normal use, and thus logging this situation cannot be abused as an
2051 oracle in typical recommended situations.
2053 ** API and ABI modifications:
2054 No changes since last version.
2056 * Version 1.4.3 (released 2006-09-08)
2058 ** Fix PKCS#1 verification to avoid a variant of Bleichenbacher's
2059 ** Crypto 06 rump session attack.
2060 In particular, we check that the digestAlgorithm.parameters field is
2061 empty, to avoid that it can contain "garbage" that may be used to
2062 alter the numeric properties of the signature.  See
2063 <http://www.imc.org/ietf-openpgp/mail-archive/msg14307.html> (which is
2064 not exactly the same as the problem we fix here).  Reported by Yutaka
2065 OIWA <y.oiwa@aist.go.jp>.
2067 See GNUTLS-SA-2006-4 on http://www.gnutls.org/security.html for more
2068 up to date information.
2070 ** Fix PKCS#1 decryption to avoid Bleichenbacher's Crypto 98 attack.
2071 See <http://www.bell-labs.com/user/bleichen/papers/pkcs.ps.gz>.
2072 Reported by Werner Koch <wk@gnupg.org>.
2074 See GNUTLS-SA-2006-3 on http://www.gnutls.org/security.html for more
2075 up to date information.
2077 ** Fix crash in gnutls_x509_crt_sign2 if passed a NULL issuer_key.
2079 ** API and ABI modifications:
2080 No changes since last version.
2082 * Version 1.4.2 (released 2006-08-12)
2084 ** Fix a crash (strcmp() on a NULL value) in the certificate verification logic.
2085 This can happen if you call gnutls_certificate_verify_peers2 and have
2086 a certain mix of local CA certificates and the peer send special
2087 certificates, that together trigger certain behaviour.  It is not
2088 known at this point whether the crash can be triggered without the
2089 special local CA certificate, and thus turn this into a remote crash
2090 of clients that verify server certificates when they talk to a server
2091 with the special server certificate.  See GNUTLS-SA-2006-2 on
2092 http://www.gnu.org/software/gnutls/security.html for more up to date
2093 information.  Reported by satyakumar <satyam_kkd@hyd.hellosoft.com>.
2095 ** Change SRP and Cert-Type extensions to match IANA registry.
2097 ** OpenCDK updated to 0.5.9 to fix some problems with OpenPGP support.
2099 ** Make --without-included-libtasn1 work.
2100 Reported by Daniel Black <dragonheart@gentoo.org>.
2102 ** API and ABI modifications:
2103 No changes since last version.
2105 * Version 1.4.1 (released 2006-06-14)
2107 ** Replaced inactive ifdefs to enable openpgp support in test programs.
2109 ** Fixed bug in OpenPGP authentication handshake.
2111 ** Fixed typographical in man pages.
2113 ** Build fixes of the manual.
2115 ** Added Swedish translation.
2117 ** API and ABI modifications:
2118 No changes since last version.
2120 * Version 1.4.0 (released 2006-05-15)
2122 ** Remove GnuTLS 0.8.x compatibility functions.
2124 ** The libgcrypt RNG is initialized in gnutls_global_init().
2126 ** TLS/IA API changes from Emile van Bergen.
2127 A dummy credential structure is not needed now, if you wish to use the
2128 low-level TLS/IA API, simply call gnutls_ia_enable to enable TLS/IA on
2129 a session.
2131 ** The self-tests are now run under valgrind, if it is installed.
2133 ** Libtasn1 is updated to 0.3.4, and that version is now required.
2135 ** The command line tools now use getaddrinfo and support IPv6.
2137 ** API and ABI modifications:
2138 _gnutls_x509_get_raw_crt_activation_time,
2139 _gnutls_x509_get_raw_crt_expiration_time: Removed.
2140 gnutls_ia_require_inner_phase: Removed, replaced by gnutls_ia_enable.
2141 gnutls_ia_enable: Added.
2143 * Version 1.3.5 (released 2006-03-08)
2145 ** Error messages are now translated using GNU Gettext.
2147 ** The function gnutls_x509_crt_to_xml now return an internal error.
2148 This means that the code to convert X.509 certificates to XML format
2149 does not work any more.  The reason is that the function called
2150 libtasn1 internal functions.  It seems unclean for libtasn1 to export
2151 the APIs needed here.  Instead it would be better to implement XML
2152 support inside libtasn1 properly.  If you need this functionality
2153 strongly, please consider looking into implementing this suggested
2154 approach instead.  As a workaround, you may also modify lib/x509/xml.c
2155 (change '#if 1' to '#if 0') and build using --with-included-libtasn1.
2157 ** Libraries are now built with libtool's -no-undefined.
2158 This helps producing libraries for Windows using mingw32.
2160 ** Doc fixes to explain that gnutls_record_send can block.
2162 ** Libtasn1 0.3.1 or later is now required.
2163 The include copy has been updated too.
2165 ** gnutls-cli can now recognize services and port numbers with the -p option.
2167 ** API and ABI modifications:
2168 No changes since last version.
2170 * Version 1.3.4 (released 2006-02-09)
2172 ** Fix read of out bounds bug in DER parser.
2173 Reported by Evgeny Legerov <admin@gleg.net>, and debugging help from
2174 Protover SSL.  Libtasn1 0.2.18 is now required, which contains the
2175 previous bug fix.  The included libtasn1 version in GnuTLS has been
2176 updated.
2178 ** Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
2179 longer invalidate a session if the underlying send fails, but it will 
2180 prevent future writes. That is to allow reading the already received data.
2181 Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
2183 ** Corrected bugs in gnutls_certificate_set_x509_crl() and
2184 gnutls_certificate_set_x509_trust(), that caused memory corruption if 
2185 more than one certificates were added. Report and patch by Max Kellermann.
2187 ** Fix build problems of OpenCDK on AIX.
2188 Thanks to "Heiden, John" <JHeiden@UTNet.UToledo.Edu>.
2190 ** API and ABI modifications:
2191 No changes since last version.
2193 * Version 1.3.3 (released 2006-01-12)
2195 ** New API to access the TLS master secret.
2196 When possible, you should use the TLS PRF functions instead.
2197 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
2199 ** Improved handling when multiple libraries use GnuTLS at the same time.
2200 Now gnutls_global_init() can be called multiple times, and
2201 gnutls_global_deinit() will only deallocate the structure when it has
2202 been called as many times as gnutls_global_init() was called.
2204 ** Added a self test of TLS resume functionality.
2206 ** Fix crash in TLS resume code, caused by TLS/IA changes.
2208 ** Documentation fixes about thread unsafety, prompted by
2209 ** discussion with bryanh@giraffe-data.com (Bryan Henderson).
2210 In particular, gnutls_global_init() and gnutls_global_deinit() are not
2211 thread safe.  Careful callers may want to protect the call using a
2212 mutex.  The problem could also be ignored, which would cause a memory
2213 leak under rare conditions when two threads invoke the function
2214 roughly at the same time.
2216 ** Add 'const' keywords in various places, from Frediano ZIGLIO.
2218 ** The code was indented again, including the external header files.
2220 ** API and ABI modifications:
2221 New functions to retrieve the master secret value:
2222   gnutls_session_get_master_secret
2224 Add a 'const' keyword to existing API:
2225   gnutls_x509_crq_get_challenge_password
2227 * Version 1.3.2 (released 2005-12-15)
2229 ** GnuTLS now support TLS Inner application (TLS/IA).
2230 This is per draft-funk-tls-inner-application-extension-01.  This
2231 functionality is added to libgnutls-extra, so it is licensed under the
2232 GNU General Public License.
2234 ** New APIs to access the TLS Pseudo-Random-Function (PRF).
2235 The PRF is used by some protocols building on TLS, such as EAP-PEAP
2236 and EAP-TTLS.  One function to access the raw PRF and one to access
2237 the PRF seeded with the client/server random fields are provided.
2238 Suggested by Jouni Malinen <jkmaline@cc.hut.fi>.
2240 ** New APIs to acceess the client and server random fields in a session.
2241 These fields can be useful by protocols using TLS.  Note that these
2242 fields are typically used as input to the TLS PRF, and if this is your
2243 intended use, you should use the TLS PRF API that use the
2244 client/server random field directly.  Suggested by Jouni Malinen
2245 <jkmaline@cc.hut.fi>.
2247 ** Internal type cleanups.
2248 The uint8, uint16, uint32 types have been replaced by uint8_t,
2249 uint16_t, uint32_t.  Gnulib is used to guarantee the presence of
2250 correct types on platforms that lack them.  The uint type have been
2251 replaced by unsigned.
2253 ** API and ABI modifications:
2254 New functions to invoke the TLS Pseudo-Random-Function (PRF):
2255   gnutls_prf
2256   gnutls_prf_raw
2258 New functions to retrieve the session's client and server random values:
2259   gnutls_session_get_server_random
2260   gnutls_session_get_client_random
2262 New function, to perform TLS/IA handshake:
2263   gnutls_ia_handshake
2265 New function to decide whether to do a TLS/IA handshake:
2266   gnutls_ia_handshake_p
2268 New functions to allocate a TLS/IA credential:
2269   gnutls_ia_allocate_client_credentials
2270   gnutls_ia_free_client_credentials
2271   gnutls_ia_allocate_server_credentials
2272   gnutls_ia_free_server_credentials
2274 New functions to handle the AVP callback:
2275   gnutls_ia_set_client_avp_function
2276   gnutls_ia_set_client_avp_ptr
2277   gnutls_ia_get_client_avp_ptr
2278   gnutls_ia_set_server_avp_function
2279   gnutls_ia_set_server_avp_ptr
2280   gnutls_ia_get_server_avp_ptr
2282 New functions, to toggle TLS/IA application phases:
2283   gnutls_ia_require_inner_phase
2285 New function to mix session keys with inner secret:
2286   gnutls_ia_permute_inner_secret
2288 Low-level API (used internally by gnutls_ia_handshake):
2289   gnutls_ia_endphase_send
2290   gnutls_ia_send
2291   gnutls_ia_recv
2293 New functions that can be used after successful TLS/IA negotiation:
2294   gnutls_ia_generate_challenge
2295   gnutls_ia_extract_inner_secret
2297 Enum type with TLS/IA modes:
2298   gnutls_ia_mode_t
2300 Enum type with TLS/IA packet types:
2301   gnutls_ia_apptype_t
2303 Enum values for TLS/IA alerts:
2304   GNUTLS_A_INNER_APPLICATION_FAILURE
2305   GNUTLS_A_INNER_APPLICATION_VERIFICATION
2307 New error codes, to signal when an application phase has finished:
2308   GNUTLS_E_WARNING_IA_IPHF_RECEIVED
2309   GNUTLS_E_WARNING_IA_FPHF_RECEIVED
2311 New error code to signal TLS/IA verify failure:
2312   GNUTLS_E_IA_VERIFY_FAILED
2314 * Version 1.3.1 (released 2005-12-08)
2316 ** Support for DHE-PSK cipher suites has been added.
2317 This method offers perfect forward secrecy.
2319 ** Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
2320 Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
2322 ** Corrected a bug in certtool for 64 bit machines. Reported
2323 by Max Kellermann <max@duempel.org>.
2325 ** New function to set a X.509 private key and certificate pairs, and/or
2326 CRLs, from an PKCS#12 file, suggested by Emile van Bergen
2327 <emile@e-advies.nl>.
2329 The integrity of the PKCS#12 file is protected through a password
2330 based MAC; public-key based signatures for integrity protection are
2331 not supported.  PKCS#12 bags may be encrypted using password derived
2332 symmetric keys, public-key based encryption is not supported.  The
2333 PKCS#8 keys may be encrypted using passwords.  The API use the same
2334 password for all operations.  We believe that any more flexibility
2335 create too much complexity that would hurt overall security, but may
2336 add more PKCS#12 related APIs if real-world experience indicate
2337 otherwise.
2339 ** gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys,
2340 reported by Emile van Bergen <emile@e-advies.nl>.
2341 This will enable "certtool -k -8" to parse those keys.
2343 ** Certtool now generate keys in unencrypted PKCS#8 format for empty passwords.
2344 Use "certtool -p -8" and press press enter at the prompt.  Earlier,
2345 certtool would have encrypted the key using an empty password.
2347 ** Certtool now accept --password for --key-info and encrypted PKCS#8 keys.
2348 Earlier it would have prompted the user for it, even if --password was
2349 supplied.
2351 ** Added self test of PKCS#8 parsing.
2352 Unencrypted and encrypted (pbeWithSHAAnd3-KeyTripleDES-CBC and
2353 pbeWithSHAAnd40BitRC2-CBC) formats are tested.  The test is in
2354 tests/pkcs8.
2356 ** API and ABI modifications:
2357 New function to set X.509 credentials from a PKCS#12 file:
2358   gnutls_certificate_set_x509_simple_pkcs12_file
2360 New gnutls_kx_algorithm_t enum type:
2361   GNUTLS_KX_DHE_PSK
2363 New API to return session data (basically same as gnutls_session_get_data):
2364   gnutls_session_get_data2
2366 New API to set PSK Diffie-Hellman parameters:
2367   gnutls_psk_set_server_dh_params
2369 * Version 1.3.0 (2005-11-15)
2371 ** Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added.
2372 This add several new APIs, see below.  Read the updated manual for
2373 more information.  A new self test "pskself" has been added, that will
2374 test this functionality.
2376 ** The session resumption data are now system independent.
2378 ** The code has been re-indented to conform to the GNU coding style.
2380 ** Removed the RIPEMD ciphersuites.
2382 ** Added a discussion of the internals of gnutls in manual.
2384 ** Fixes for Tru64 UNIX 4.0D that lack MAP_FAILED, from Albert Chin.
2386 ** Remove trailing comma in enums, for IBM C v6, from Albert Chin.
2388 ** Make sure config.h is included first in a few files, from Albert Chin.
2390 ** Don't use C++ comments ("//") as they are invalid, from Albert Chin.
2392 ** Don't install SRP programs and man pages if --disable-srp-authentication,
2393 from Albert Chin.
2395 ** API and ABI modifications:
2396 New gnutls_kx_algorithm_t key exchange type: GNUTLS_KX_PSK
2398 New gnutls_credentials_type_t credential type:
2399   GNUTLS_CRD_PSK
2401 New credential types:
2402   gnutls_psk_server_credentials_t
2403   gnutls_psk_client_credentials_t
2405 New functions to allocate PSK credentials:
2406   gnutls_psk_allocate_client_credentials
2407   gnutls_psk_free_client_credentials
2408   gnutls_psk_free_server_credentials
2409   gnutls_psk_allocate_server_credentials
2411 New enum type for PSK key flags:
2412   gnutls_psk_key_flags
2414 New function prototypes for credential callback:
2415   gnutls_psk_client_credentials_function
2416   gnutls_psk_server_credentials_function
2418 New function to set PSK username and key:
2419   gnutls_psk_set_client_credentials
2421 New function to set PSK passwd file:
2422   gnutls_psk_set_server_credentials_file
2424 New function to extract PSK user in server:
2425   gnutls_psk_server_get_username
2427 New functions to set PSK callback:
2428   gnutls_psk_set_server_credentials_function
2429   gnutls_psk_set_client_credentials_function
2431 Use size_t instead of int for output size parameter:
2432   gnutls_srp_base64_encode
2433   gnutls_srp_base64_decode
2435 * Version 1.2.11 (2006-05-11)
2436 - The function gnutls_x509_crt_to_xml is not supported any more, and
2437   return an internal error.  The reason is that the function called
2438   internal libtasn1 functions which are no longer exported from
2439   libtasn1.
2440 - Updated libtasn1 requirement to 0.3.4 and refreshed internal mintiasn1.
2441 - Updated gnulib compatibility files.
2442 - Fixed _gnutls_x509_get_raw_crt_expiration_time and
2443   _gnutls_x509_get_raw_crt_activation_time to return (time_t)-1 on errors.
2444 - API and ABI modifications:
2445   No changes since last version.
2447 * Version 1.2.10 (2006-02-09)
2448 - Fix read out bounds bug in DER parser.  Reported by Evgeny Legerov
2449   <admin@gleg.net>, and debugging help from Protover SSL.
2450 - Libtasn1 0.2.18 is now required (contains the previous bug fix).
2451   The included version has been updated too.
2452 - Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
2453   Otto Maddox <ottomaddox@fastmail.fm> and Nozomu Ando <nand@mac.com>.
2454 - Corrected a bug in certtool for 64 bit machines. Reported
2455   by Max Kellermann <max@duempel.org>.
2456 - Corrected bugs in gnutls_certificate_set_x509_crl() and
2457   gnutls_certificate_set_x509_trust(), that caused memory corruption if
2458   more than one certificates were added. Report and patch by Max Kellermann.
2459 - Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no 
2460   longer invalidate a session if the underlying send fails, but it will 
2461   prevent future writes. That is to allow reading the already received data.
2462   Patches and bug reports by Yoann Vandoorselaere <yoann@prelude-ids.org>
2464 * Version 1.2.9 (2005-11-07)
2465 - Documentation was updated and improved.
2466 - RSA-MD2 is now supported for verifying digital signatures.
2467 - Due to cryptographic advances, verifying untrusted X.509
2468   certificates signed with RSA-MD2 or RSA-MD5 will now fail with a
2469   GNUTLS_CERT_INSECURE_ALGORITHM verification output.  For
2470   applications that must remain interoperable, you can use the
2471   GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 or GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5
2472   flags when verifying certificates.  Naturally, this is not
2473   recommended default behaviour for applications.  To enable the
2474   broken algorithms, call gnutls_certificate_set_verify_flags with the
2475   proper flag, to change the verification mode used by
2476   gnutls_certificate_verify_peers2.
2477 - Make it possible to send empty data through gnutls_record_send,
2478   to align with the send(2) API.
2479 - Some changes in the certificate receiving part of handshake to prevent
2480   some possible errors with non-blocking servers.
2481 - Added numeric version symbols to permit simple CPP-based feature
2482   tests, suggested by Daniel Stenberg <daniel@haxx.se>.
2483 - The (experimental) low-level crypto alternative to libgcrypt used
2484   earlier (Nettle) has been replaced with crypto code from gnulib.
2485   This leads to easier re-use of these components in other projects,
2486   leading to more review and simpler maintenance.  The new configure
2487   parameter --with-builtin-crypto replace the old --with-nettle, and
2488   must be used if you wish to enable this functionality.  See README
2489   under "Experimental" for more information.  Internally, GnuTLS has
2490   been updated to use the new "Generic Crypto" API in gl/gc.h.  The
2491   API is similar to the old crypto/gc.h, because the gnulib code were
2492   based on GnuTLS's gc.h.
2493 - Fix compiler warning in the "anonself" self test.
2494 - API and ABI modifications:
2495 gnutls_x509_crt_list_verify: Added 'const' to prototype in <gnutls/x509.h>.
2496                              This doesn't reflect a change in behaviour,
2497                              so we don't break backwards compatibility.
2498 GNUTLS_MAC_MD2: New gnutls_mac_algorithm_t value.
2499 GNUTLS_DIG_MD2: New gnutls_digest_algorithm_t value.
2500 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2,
2501 GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5: New gnutls_certificate_verify_flags values.
2502                                   Use when calling
2503                                   gnutls_x509_crt_list_verify,
2504                                   gnutls_x509_crt_verify, or
2505                                   gnutls_certificate_set_verify_flags.
2506 GNUTLS_CERT_INSECURE_ALGORITHM: New gnutls_certificate_status_t value,
2507                                 used when broken signature algorithms
2508                                 is used (currently RSA-MD2/MD5).
2509 LIBGNUTLS_VERSION_MAJOR,
2510 LIBGNUTLS_VERSION_MINOR,
2511 LIBGNUTLS_VERSION_PATCH,
2512 LIBGNUTLS_VERSION_NUMBER: New CPP symbols, indicating the GnuTLS
2513                           version number, can be used for feature existence
2514                           tests.
2516 * Version 1.2.8 (2005-10-07)
2517 - Libgcrypt 1.2.2 is required to fix a bug for forking GnuTLS servers.
2518 - Don't install the auxilliary libexamples library used by the
2519   examples in doc/examples/ on "make install", report and tiny patch
2520   from Thomas Klausner <tk@giga.or.at>.
2521 - If you pass a X.509 CA or PGP trust database to the command line
2522   tool, it will now abort the connection if the server certificate
2523   validation fails.  Use the parameter --insecure to continue even
2524   after certificate validation failures.  Inspired from discussion
2525   with Alexander Kotelnikov <sacha@myxomop.com>.
2526 - The test for socklen_t has been moved to gnulib.
2527 - Link failures for duplicate or missing "program_name" symbol has been fixed,
2528   patch from Martin Lambers <marlam@marlam.de>.
2529 - The command line tool and the examples no longer uses mmap or bzero,
2530   to make them more portable, patch from Martin Lambers
2531   <marlam@marlam.de>.
2532 - Made the PKCS #12 API handle null passwords. Based on patch by
2533   Anton Altaparmakov <aia21@cam.ac.uk>.
2534 - The GTK-DOC manual should build with current released tools.
2535   (But a copy of the output is included, so the tools are not required.)
2536 - The inet_ntop function is now used through gnulib.
2537 - API and ABI modifications:
2538   No changes since last version.
2540 * Version 1.2.7 (2005-09-09)
2541 - The GNUTLS and GNUTLS-EXTRA libraries are now built with versioned symbols.
2542 - Certtool now complains when reading out-of-range X.509 serial
2543   numbers, suggested by Fran <e_agf@yahoo.es>.
2544 - Certtool now uses the readline library (when available) when reading
2545   X.509 serial numbers.
2546 - Fixed build problems in getpass on uClibc and Mingw32 platforms.
2547 - Fixed compile warning regarding socklen_t on Mingw32, reported by
2548   Martin Lambers <marlam@marlam.de>.
2549 - Fixed examples in doc/examples/, suggested by Fran <e_agf@yahoo.es>.
2550 - Gnulib is now used for the core library, enabling future code cleanups.
2551 - The gnutls-cli tool now use gnutls_certificate_verify_peers2,
2552   suggested by Daniel Stenberg <daniel@haxx.se>.
2553 - Doc fixes for gnutls_transport_set_push and gnutls_transport_set_pull.
2554 - Minilibtasn1 is now 0.2.17 (removed optional use of C99 macros).
2555 - Disable zlib support if zlib.h is not present.
2556 - A number of internal cleanups.
2557 - API and ABI modifications:
2558   No changes since last version.
2560 * Version 1.2.6 (2005-07-16)
2561 - MiniLZO updated to version 2.01 and moved to separate directory.
2562 - Collision between system LZO header files and MiniLZO header file
2563   fixed, reported by Matthias Urlichs <smurf@smurf.noris.de>.
2564 - Will now test for liblzo functionality in liblzo2 too, reported by
2565   Thomas Klausner <tk@giga.or.at>.
2566 - Minilibtasn1 is now 0.2.14 (no code changes).
2567 - Some code changes to avoid GTK-DOC warnings.
2568 - API and ABI modifications:
2569   No changes since last version.
2571 * Version 1.2.5 (2005-07-03)
2572 - More builddir != srcdir fixes, reported by Mike Castle
2573   <dalgoda@ix.netcom.com>.
2574 - Fixed off-by-one bug in the size parameter of gnutls_x509_crt_get*_dn,
2575   reported by Adam Langley <alangley@gmail.com>.
2576 - Corrected some stuff in minilzo detection. Pointed out by 
2577   Sergey Lipnevich.
2578 - MiniLZO updated to version 2.00.
2579 - gnutls_x509_crt_list_import now accept a DER formatted CRL.
2580 - API and ABI modifications:
2581   No changes since last version.
2583 * Version 1.2.4 (2005-05-28)
2584 - Corrected some bugs that could affect 64 bit systems.
2585 - Some corrections in the header files to include the prototype
2586   of memmem properly (affected 64 bit systems). Report and patch
2587   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
2588 - Introduced the --fix-key option to certtool, which can be used to
2589   regenerate the (optional) parameters in a private key. It should
2590   be used together with --key-info.
2591 - Corrected a bug in certificate chain verification that could lead
2592   to marking a trusted chain as non trusted, if the last certificate in
2593   the chain was a self signed one.
2594 - Gnulib portability files were updated.
2595 - License were updated to reflect new FSF address.
2596 - API and ABI modifications:
2597   No changes since last version.
2599 * Version 1.2.3 (2005-04-28)
2600 - Corrected bug in record packet parsing that could lead
2601   to a denial of service attack.
2602 - Corrected bug in RSA key export. Previously exported keys
2603   can be fixed using certtool. Use certtool -k <infile >outfile
2604 - API and ABI modifications:
2605     gnutls_x509_privkey_fix(): Add.
2607 * Version 1.2.2 (2005-04-25)
2608 - gnutls_error_to_alert() now considers
2609   GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET.
2610 - Fixed error in session resuming that could cause a crash in a session.
2611 - Fixed pkcs12 friendly name and local key identifier decoding.
2612 - Internal cleanups, removed duplicate typedef/struct definitions,
2613   and made source code include external include file, to check
2614   function prototypes during compile time.
2615 - API and ABI modifications:
2616   No changes since last version.  At least not intentional, but due
2617   to the include header changes, there may be inadvertant changes,
2618   please let us know if you find any.
2620 * Version 1.2.1 (2005-04-04)
2621 - gnutls_bye() will no longer fail when RDWR is used and application
2622   data are available for reading.
2623 - Added more strict checks for the SRP parameters (g,n), when they
2624   are not in the included list.
2625 - Added warning to certtool when MD5 is being used for digital
2626   signatures.
2627 - Optimizations ("-O2 -finline-functions") are not enabled by default,
2628   instead the standard autoconf defaults are used.  Use `./configure
2629   CFLAGS="-O2 -finline-functions"' to get the old optimizations.
2630 - Added the option --get-dh-params to certtool, in order to get the
2631   parameters included in the library primes and generators.
2632 - Improved the semantics of GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, to
2633   allow only trusted Version 1 CAs and introduced
2634   GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT which has the old semantics.
2635 - Nettle self tests now build properly, reported by Pierre
2636   <pierre42d@9online.fr>.
2637 - Eliminated some memory leaks in DHE and RSA-EXPORT cipher suites.
2638   Reported by Yoann Vandoorselaere <yoann@prelude-ids.org>.
2639 - If the library has been compiled with features disabled, a warning is 
2640   issued during the compilation of any program.
2641 - API and ABI modifications:
2642     gnutls_x509_crt_list_import(): Add
2643     gnutls_x509_crq_get_attribute_by_oid(): Add.
2644     gnutls_x509_crq_set_attribute_by_oid(): Add
2645     gnutls_x509_crt_set_extension_by_oid(): Add.
2646     GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT: Modify semantics.
2647     GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT: Add, old behaviour.
2649 * Version 1.2.0 (2005-01-27)
2650 - Added the definitions and OIDs for the RIPEMD-160 hash algorithm.
2651 - Introduced gnutls_x509_crt_sign2(), gnutls_x509_crq_sign2() and 
2652   gnutls_x509_crl_sign2().
2653 - Fixed license header in source code files.
2655 * Version 1.1.23 (2005-01-18)
2656 - It is now possible to generate PKCS#12 structures without private
2657   keys using "certtool --to-p12", suggested by Fabian Fagerholm
2658   <fabbe@paniq.net>.
2659 - Certtool now prints information for the RSA and DSA parameters of
2660   certificates and private keys.
2661 - Corrected the write of CRL distribution points.
2662 - The certificate chain verification function now checks certificates
2663   in the reverse order to minimize the spent resources.
2664 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
2665 - The functions gnutls_x509_crl_get_issuer_dn, gnutls_x509_crq_get_dn,
2666   gnutls_x509_crt_get_issuer_dn, gnutls_x509_crt_get_dn, and
2667   gnutls_x509_rdn_get now set *sizeof_buf to the buffer length that is
2668   required, instead of the string length.  That is, the value has been
2669   incremented by 1 to account for the terminating zero. Reported by
2670   Martin Lambers <marlam@web.de>.
2671 - Debug output shouldn't crash on platforms that doesn't handle NULL
2672   printf %s values.  Reported by Michael.Ringe@aachen.utimaco.de.
2673 - Sync included copy of libtasn1 with version 0.2.13.
2674 - Client X.509 authenticated connections via gnutls-cli should now work again.
2676 * Version 1.1.22 (2004-11-04)
2677 - Replace GNU LD version script with Libtool -export-symbols-regex,
2678   from Joe Orton <joe@manyfish.co.uk>.
2679 - Documentation improvements.
2680 - Code indented using 'indent -i4 -kr'.
2681 - The API manual is included in Devhelp format.  (Was in last release too,
2682   but the NEWS entry was forgotten.)
2683 - The OpenSSL compatibility code now use the internal crypto interface.
2684 - Added simple self test of OpenSSL compatibility library.
2685 - Internally, libtool convenience libraries are used.
2686 - Cleanups to configure.ac.
2688 * Version 1.1.21 (2004-10-27)
2689 - Print DN of certificates with unknown characters in them, but in hexform
2690   only.
2691 - Added second precision to the X.509 parsing and generation functions.
2692 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
2693   actual OID.
2694 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
2695   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
2696 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
2697   <stephane.loeuillet@tiscali.fr>.
2698 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
2699   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
2700 - Add self test of PKCS#12 functionality in "certtool", based on test
2701   vectors from Joe Orton <joe@manyfish.co.uk>.
2702 - Fix library order in libgnutls*-config --libs output, to permit
2703   static linking, reported by Yoann Vandoorselaere
2704   <yoann@prelude-ids.org>.
2706 * Version 1.1.20 (2004-10-12)
2707 - Fix compile problem in gl/getpass.c on some systems.
2709 * Version 1.1.19 (2004-10-07)
2710 - Fix memory leak in gnutls_certificate_verify_peers and
2711   gnutls_certificate_free_credentials, report and patch by Simon
2712   Posnjak <simon.posnjak@cetrtapot.si>.
2713 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
2714   a key and no certificate to PKCS#12.
2715 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
2716   <gp@familiehaase.de>.
2717 - Fixes faulty getpass implementation in libextra/opencdk/, reported
2718   by Yoann Vandoorselaere <yoann@prelude-ids.org>.
2719 - Uses memmem instead of strnstr in lib/.
2720 - Using more GNULib portability files, although not yet inside lib/.
2721 - Added gnutls_certificate_verify_peers to gnutls/compat.h.
2722   Nikos deprecated gnutls_certificate_verify_peers in favor of
2723   gnutls_certificate_verify_peers2 earlier in the 1.1 branch.
2724 - Improvements to the manual.
2725 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
2726 - Known bug: the library require snprintf.  This has not yet been
2727   fixed, but will be handled via GNULib later on.
2729 * Version 1.1.18 (2004-08-24)
2730 - Corrected handling of certificate with dates after year 2038.
2731 - Corrected DER decoder which could incorrectly treat input as BER and fail.
2732 - Correct certtool --smime-to-p7 end of line character handling.
2733 - Added example client and server for anonymous authentication.
2734 - Added self test that tests anonymous TLS client and server.
2735 - Added self tests of Nettle and generic crypto layer.
2736 - Added API reference manual in HTML format in doc/reference/ using GTK-DOC.
2737   Online version at <http://www.gnu.org/software/gnutls/reference/>.
2738 - Assume C89 or better; removed checks for size_t, ptrdiff_t and time_t.
2739 - Man pages for API functions are included.
2741 * Version 1.1.17 (2004-08-18)
2742 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
2743   reported by Robey Pointer <robey@danger.com>.
2744 - Generic crypto interface for secret key ciphers, hashes and randomness added.
2745   See section "Experimental" within section "COMPILATION ISSUES" in README.
2746 - Removed length limit on passwords read by 'certtool'.
2747 - Documentation fixes.
2749 * Version 1.1.16 (2004-08-15)
2750 - Fix missing gnulib linker parameter when building certtool.
2751 - Add gnulib module 'progname', needed by module 'error'.
2752 - Improve building with srcdir != objdir.
2754 * Version 1.1.15 (2004-08-15)
2755 - Certtool has simplistic --smime-to-p7 to translate RFC 2633 messages into
2756   PKCS #7 format.
2757 - Ported to Mac OS X / Darwin.
2758 - Ported to FreeBSD.
2760 * Version 1.1.14 (2004-08-09)
2761 - Documentation converted to Texinfo format.
2762 - Bug fix of test suite.
2763 - Configure now print build information, used by Autobuild.
2765 * Version 1.1.13 (2004-08-05)
2766 - Added simple self test suite.
2768 * Version 1.1.12 (2004-08-02)
2769 - Updated the SRP authentication to conform to the
2770   latest (yet unreleased) draft. Unfortunately this breaks
2771   compatibility with previous versions.
2772 - Changed the makefiles to be more portable.
2773 - SRP ciphersuites were moved to the gnutls library.
2774 - Added some default limits in the verification of certificate
2775   chains, to avoid denial of service attacks. Also added 
2776   gnutls_certificate_set_verify_limits() to override them.
2777   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
2778 - Added gnutls_certificate_verify_peers2().
2780 * Version 1.1.11 (2004-07-16)
2781 - Added the '_t' suffix to all exported symbols.
2782 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
2783   <mak@greenhills.co.uk>.
2784 - Corrected a bug in certificate verification. Pointed out by
2785   Yoann Vandoorselaere <yoann@prelude-ids.org>
2786 - Added the GNUTLS_VERIFY_DO_NOT_ALLOW_SAME flags to the
2787   verification functions.
2788 - The ephemeral DH and RSA parameters are no longer stored in the
2789   session resume DB.
2790 - Do not free the SRP (prime and generator) parameters obtained from the 
2791   callback if they are the static ones defined in extra.h
2792 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
2794 * Version 1.1.10 (2004-06-12)
2795 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
2796 - Corrected bug in TLS renegotiation.
2797 - Corrected bug in OpenPGP key loading using a callback.
2798 - gnutls-srpcrypt was renamed to srptool
2799 - Allow handshake requests by the client.
2800 - Automatically disable certificate types that do not have corresponding
2801   certificates.
2802 - Added gnutls_auth_client_get_type() and gnutls_auth_server_get_type()
2803 - Opencdk library is being included if not found.
2804 - certtool can now add ip address SAN extension.
2805 - certtool has now support for more X.520 DN attribute types.
2806 - Better handling of EOF in gnutls_record_recv().
2807 - _gnutls_deinit() is no longer used. Sessions are not
2808   automatically removed any more, on abnormal termination.
2809 - Corrected session resuming in SRP ciphersuites.
2810 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
2811 - Added new functions to allow access to the ephemeral
2812   Diffie Hellman parameters.
2813 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
2814   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
2815 - Added the functions gnutls_dh_get_group(), gnutls_dh_get_pubkey() and
2816   gnutls_rsa_export_get_pubkey() to retrieve parameters of the DH or
2817   RSA-EXPORT key exchange.
2818 - Some fixes in the session resuming code.
2819 - Added gnutls_openpgp_keyring_check_id().
2821 * Version 1.1.9 (2004-04-14)
2822 - Added support for authority key identifier and the extended key usage
2823   X.509 extension fields. The certtoool was updated to support them.
2824 - The RC2 cipher is no more included. The one in libgcrypt is now used.
2825 - Added batch support to certtool. Now it can use templates.
2827 * Version 1.1.8 (2004-04-07)
2828 - Implemented all the tests for the SRP group parameters in
2829   client side. This may lead to incompatibility with very
2830   old gnutls servers.
2831 - Corrected bug in RSA parameters handling which could cause
2832   unexpected crashes.
2833 - Optimized the copying of rsa_params.
2835 * Version 1.1.7 (2004-03-29)
2836 - Added gnutls_certificate_set_params_function() and 
2837   gnutls_anon_set_params_function() that set the RSA or DH
2838   parameters using a callback.
2839 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
2840   and gnutls_x509_privkey_cpy().
2841 - Corrected a compilation issue when opencdk was installed in a
2842   non standard directory.
2843 - Deprecated: gnutls_srp_server_set_select_function(), 
2844   gnutls_certificate_client_set_select_function(), gnutls_srp_server_set_select_function().
2846 * Version 1.1.6 (2004-02-24)
2847 - Several bug fixes, by Arne Thomassen.
2848 - Fixed a bug where 'server name' extension was always sent.
2850 * Version 1.1.5 (2004-01-06)
2851 - Added the gnutls_sign_algorithm type.
2853 * Version 1.1.4 (2004-01-04)
2854 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
2855   If they are of highest priority then the abbreviated handshake
2856   is used.
2857 - Removed all references of missing files.
2858 - Changed handshake behaviour to send the lowest TLS version
2859   when an unsupported version was advertized. The current behaviour
2860   is to send the maximum version we support.
2861 - Corrected problem printing the DC attributes in a DN.
2863 * Version 1.1.3 (2003-12-30)
2864 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
2865   hack).
2867 * Version 1.1.2 (2003-12-28)
2868 - Added CRL verification functionality to certtool.
2869 - Corrected the CRL distribution point extension handling.
2871 * Version 1.1.1 (2003-12-26)
2872 - Added PKCS #7 support to certtool utility.
2873 - Added support for reading and generating CRL distribution
2874   points extensions in certificates.
2875 - Added support for generating CRLs in the library and the
2876   certtool utility.
2877 - Added support for the Subject Key ID PKIX extension.
2879 * Version 1.1.0 (2003-12-21)
2880 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
2881   are no longer returned by the handshake function. Ciphersuites that
2882   require temporary parameters are removed when such parameters do not exist.
2883 - Added the callbacks gnutls_certificate_client_retrieve_function() and
2884   gnutls_certificate_server_retrieve_function(), to allow a client or a server
2885   to specify certificates for the handshake without storing them to the
2886   credentials structure.
2887 - Added support for generating and exporting DSA private keys.
2888 - Added gnutls_x509_crt_set_key_usage() and certtool can now set the
2889   certificate's key usage.
2890 - Added gnutls_openpgp_key_get_key_usage().
2892 * Version 1.0.25 (2005-04-27)
2893 - Corrected bug in record packet parsing that could lead
2894   to a denial of service attack.
2895 - Corrected bug in RSA key export.
2897 * Version 1.0.24 (2005-01-18)
2898 - Corrected several bugs found by Marcin Garski <mgarski@post.pl>
2900 * Version 1.0.23 (2004-11-13)
2901 - Replace GNU LD version script with Libtool -export-symbols-regex,
2902   from Joe Orton <joe@manyfish.co.uk>.
2903 - Copy libtasn1 has been updated to version 0.2.11.
2904 - Corrected the write of CRL distribution points.
2905 - It is now possible to generate PKCS#12 structures without private
2906   keys using "certtool --to-p12", suggested by Fabian Fagerholm
2907   <fabbe@paniq.net>.
2909 * Version 1.0.22 (2004-10-28)
2910 - Print DN of certificates with unknown characters in them, but in hexform
2911   only.
2912 - Corrected bug in _gnutls_x509_get_dn_oid(), and returns the
2913   actual OID.
2914 - Added second precision to the X.509 parsing functions.
2915 - Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
2916   tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
2917 - Add pkg-config meta files, suggested by Stéphane LOEUILLET
2918   <stephane.loeuillet@tiscali.fr>.
2919 - Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
2920   tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
2921 - Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
2922 - Fix library order in libgnutls*-config --libs output, to permit
2923   static linking, reported by Yoann Vandoorselaere
2924   <yoann@prelude-ids.org>.
2926 * Version 1.0.21 (2004-10-07)
2927 - Fix memory leak in gnutls_certificate_verify_peers and
2928   gnutls_certificate_free_credentials, report and patch by Simon
2929   Posnjak <simon.posnjak@cetrtapot.si>.
2930 - Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
2931   a key and no certificate to PKCS#12.
2932 - Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
2933   <gp@familiehaase.de>.
2934 - Avoid redefining getpass if system already has it, reported by
2935   Yoann Vandoorselaere <yoann@prelude-ids.org>.
2936 - Add new example "ex-rfc2818" for certificate verification, from Nikos.
2937 - Known bug: the library require snprintf.
2939 * Version 1.0.20 (2004-08-18)
2940 - Bug fix of padding string in RSA PKCS#1 v1.5 type 2 encryption,
2941   reported by Robey Pointer <robey@danger.com>.
2943 * Version 1.0.19 (2004-08-09)
2944 - Bug fix of test suite.
2946 * Version 1.0.18 (2004-08-05)
2947 - Added simple self test suite.
2949 * Version 1.0.17 (2004-08-02)
2950 - Updated the SRP authentication to conform to the
2951   latest (yet unreleased) draft. Unfortunately this breaks
2952   compatibility with previous versions.
2953 - Changed the makefiles to be more portable.
2954 - Added some default limits in the verification of certificate
2955   chains, to avoid denial of service attacks. Also added 
2956   gnutls_certificate_set_verify_limits() to override them.
2957   Issue pointed out by Patrik Hornik <patrik@hornik.sk>.
2958 - Added gnutls_certificate_verify_peers2().
2960 * Version 1.0.16 (2004-07-10)
2961 - Do not free the SRP (prime and generator) parameters obtained from the 
2962   callback if they are the static ones defined in extra.h.
2963 - Eliminated some memory leaks. Reported by Yoann Vandoorselaere.
2964 - Some fixes in the makefiles.
2966 * Version 1.0.15 (2004-06-29)
2967 - Fixed bug in RSA encryption, report and patch by Martijn Koster 
2968   <mak@greenhills.co.uk>.
2969 - Corrected a bug in certificate verification. Pointed out by
2970   Yoann Vandoorselaere <yoann@prelude-ids.org>.
2972 * Version 1.0.14 (2004-06-12)
2973 - Automatically disable certificate types that do not have corresponding
2974   certificates.
2975 - Updates in the documentation.
2976 - certtool can now add ip address SAN extension.
2977 - certtool has now support for more X.520 DN attribute types.
2978 - Opencdk library is being included if not found.
2979 - Added gnutls_openpgp_keyring_check_id().
2980 - Corrected a serious bug in the included libtasn1 library.
2981 - Corrected session resuming in SRP ciphersuites.
2982 - Updated to conform to the latest srp draft (draft-ietf-tls-srp-07)
2983 - Added the functions gnutls_x509_crt_get_pk_rsa_raw() and
2984   gnutls_x509_crt_get_pk_dsa_raw() to retrieve parameters from certificates.
2985 - Some fixes in the session resuming code.
2987 * Version 1.0.13 (2004-04-29)
2988 - Some complilation fixes.
2989 - Added the --xml parameter to the certtool utility.
2991 * Version 1.0.12 (2004-04-23)
2992 - Corrected bug in OpenPGP key loading using a callback.
2993 - Renamed gnutls-srpcrypt to srptool
2994 - Allow handshake requests by the client.
2995 * Things backported from the development branch:
2996 - Added support for authority key identifier and the extended key usage
2997   X.509 extension fields. The certtoool was updated to support them.
2998 - Added batch support to certtool. Now it can use templates.
2999 - The RC2 cipher is no more included. The one in libgcrypt is now used.
3001 * Version 1.0.11 (2004-04-17)
3002 - Added gnutls_sign_algorithm_get_name() and gnutls_pk_algorithm_get_name()
3003 - Corrected bug in TLS renegotiation.
3005 * Version 1.0.10 (2004-04-03)
3006 - Corrected bug in RSA parameters handling which could cause
3007   unexpected crashes.
3008 - Corrected bug in SSL 3.0 authentication.
3010 * Version 1.0.9 (2004-03-29)
3011 - Added gnutls_certificate_set_params_function() and 
3012   gnutls_anon_set_params_function() that set the RSA or DH
3013   parameters using a callback.
3014 - Added functions gnutls_rsa_params_cpy(), gnutls_dh_params_cpy()
3015   and gnutls_x509_privkey_cpy().
3016 - Corrected a compilation issue when opencdk was installed in a
3017   non standard directory.
3018 - Documented the changes need in multi-threaded application due
3019   to the new libgcrypt.
3021 * Version 1.0.8 (2004-02-28)
3022 - Corrected bug in mutual certificate authentication in SSL 3.0.
3024 * Version 1.0.7 (2004-02-25)
3025 - Implemented TLS 1.1 (and also obsoleted the TLS 1.0 CBC protection
3026   hack).
3027 - Some updates in the documentation.
3029 * Version 1.0.6 (2004-02-12)
3030 * Backported things from the development branch (while maintaining
3031   backwards compatibility):
3032 - Improved gnutls-cli's SRP behaviour in SRP ciphersuites.
3033   If they are of highest priority then the abbreviated handshake
3034   is used.
3035 - The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
3036   are no longer returned by the handshake function. Ciphersuites that
3037   require temporary parameters are removed when such parameters do not exist.
3038 - Added the callbacks gnutls_certificate_client_retrieve_function() and
3039   gnutls_certificate_server_retrieve_function(), to allow a client or a server
3040   to specify certificates for the handshake without storing them to the
3041   credentials structure.
3042 - Added support for generating and exporting DSA private keys.
3044 * Version 1.0.5 (2004-02-11)
3045 - Fixed a bug where 'server name' extension was always sent.
3046 * Backported things from the development branch:
3047 - Added CRL verification functionality to certtool.
3048 - Corrected the CRL distribution point extension handling.
3049 - Added PKCS #7 support to certtool utility.
3050 - Added support for reading and generating CRL distribution
3051   points extensions in certificates.
3052 - Added support for generating CRLs in the library and the
3053   certtool utility.
3054 - Added support for the Subject Key ID PKIX extension.
3055 - Added the gnutls_sign_algorithm type.
3057 * Version 1.0.4 (2004-01-04)
3058 - Changed handshake behaviour to send the lowest TLS version
3059   when an unsupported version was advertized. The current behaviour
3060   is to send the maximum version we support.
3061 - certtool no longer asks the password in unencrypted private
3062   keys.
3063 - The source is now compiled to use the reentrant libc functions.
3065 * Version 1.0.3 (2003-12-21)
3066 - Corrected bug in gnutls_bye() which made it return an error code
3067   of INVALID_REQUEST instead of success.
3068 - Corrected a bug in the GNUTLS_KEY key usage definitions.
3070 * Version 1.0.2 (2003-12-18)
3071 - Corrected a bug in the RSA key generation. This was
3072   generating unusable RSA keys.
3074 * Version 1.0.1 (2003-12-10)
3075 - Some minor fixes in the makefiles. They now include CFLAGS
3076   from libgcrypt or opencdk if installed in a non standard directory.
3077 - Fixed the SRP detection test in gnutls-cli-debug.
3078 - Added gnutls_rsa_params_export_pkcs1() and gnutls_rsa_params_import_pkcs1().
3080 * Version 1.0.0 (2003-12-04)
3081 - Exported the static SRP group parameters.
3082 - Some fixes in the certificate authenticated SRP ciphersuites.
3083 - Improved the support for draft-ietf-tls-srp-05. The two-phase
3084   handshake is now fully supported without any interaction with
3085   the application layer (except for a callback).
3087 * Version 0.9.99 (2003-11-28)
3088 - Some fixes in the gnutls.h header for the gnutls_server_name_set()
3089   and gnutls_server_name_get() prototypes.
3090 - Exported the gnutls_x509_privkey_sign_data(), gnutls_x509_privkey_verify_data() 
3091   and gnutls_x509_crt_verify_data().
3092 - Some fixes in the openpgp authentication.
3093 - Removed the Twofish cipher.
3095 * Version 0.9.98 (2003-11-16)
3096 - The openssl compatibility layer was moved to gnutls-openssl
3097   library instead of being included in the gnutls-extra library.
3098 - Added the RIPEMD ciphersuites defined in draft-ietf-tls-openpgp-keys-04.
3099 - Building with openpgp support is now mandatory.
3100 - gnutls4 compatibility header is no longer included by default in
3101   gnutls.h.
3102 - gnutls8 function usage yelds a deprecation warning in gcc3.
3103 - gnutls_x509_*_set_dn_by_oid() and gnutls_x509_*_get_*_dn_by_oid()
3104   functions have a raw_flag parameter added.
3105 - Added gnutls_x509_*_get_dn_oid() and gnutls_x509_crt_get_extension_oid()
3106   functions which return the available OIDs.
3108 * Version 0.9.97 (2003-11-11)
3109 - The certtool utility can now generate PKCS #12 structures
3110   without specifying a certificate.
3111 - Added capability to read CRLs to certtool.
3112 - Corrected some functions which return GNUTLS_E_SHORT_MEMORY_BUFFER
3113   to properly set the required buffer size.
3114 - Corrected a bug in libgcrypt detection.
3116 * Version 0.9.96 (2003-11-09)
3117 - Some changes to allow compilation with mingw32.
3118 - Several code cleanups.
3120 * Version 0.9.95 (2003-11-02)
3121 - Improved the verification functions. Added new verification
3122   output flags and removed the unused and redundant ones.
3123 - Improved the OpenPGP key support.
3124 - The prime utility was removed, and its functionality was moved
3125   to certtool.
3127 * Version 0.9.94 (2003-10-30)
3128 - Added manpages for the included programs.
3129 - Documented and improved the certtool utility. 
3130 - Added PKCS #12 support to certtool utility.
3132 * Version 0.9.93 (2003-10-26)
3133 - Corrected some compilation issues.
3134 - Improved the certtool command line utility.
3136 * Version 0.9.92 (2003-10-25)
3137 - The RFC2818 hostname verification is now case insensitive.
3138 - Added support for generating X.509 certificates.
3139 - Added the certtool, a tool for generating X.509 certificates
3141 * Version 0.9.91 (2003-10-17)
3142 - Fixed a compilation issue in the openpgp authentication part.
3144 * Version 0.9.90 (2003-10-08)
3145 - Updated the openpgp key API (depends on the unreleased new
3146   opencdk).
3148 * Version 0.9.8 (2003-10-02)
3149 - Updated the SRP implementation to follow the latest draft
3150   (draft-ietf-tls-srp-05).
3151 - Improved the gnutls-cli behaviour in error handling,
3152   and added a check for the peer's hostname.
3153 - Use versioned symbols in the library (where available).
3154 - RIJNDAEL ciphersuites were renamed to AES.
3156 * Version 0.9.7 (2003-08-25)
3157 - The tex files are now included in the distribution.
3158 - The library can now decrypt PKCS #12 files encrypted with
3159   the RC2-40 cipher.
3160 - The missing rfc2818_hostname object is now included.
3161 - Several corrections and bug fixes in the library by 
3162   Arne Thomassen <arne@arne-thomassen.de>.
3163 - CR is now allowed in the base64 decoder.
3165 * Version 0.9.6 (2003-06-28)
3166 - Added gnutls_x509_privkey_get_key_id() and gnutls_x509_crt_get_key_id()
3167   functions which return a unique (per public key) ID. These can
3168   be used to check if the private key corresponds to a given certificate.
3169 - Corrections in the TLS layer openpgp certificate packet parser.
3170 - Corrected a bug in the record layer buffering, which affected
3171   the case where external pull function was used. Report and patch
3172   by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
3173 - Corrected a bug in gnutls-srpcrypt where a non allocated variable
3174   was freed.
3175 - SRP programs are now built by default.
3176 - Added API to read and write to PKCS #12 structures. Prototypes
3177   in gnutls/pkcs12.h.
3178 - The gnutls_transport_ptr type was changed to a pointer type (void*).
3180 * Version 0.9.5 (2003-04-06)
3181 - Several improvements in the PKCS #7 handling
3182 - Eliminated several hard coded constants in MPI parameters.
3184 * Version 0.9.4 (2003-03-28)
3185 - Corrected a parsing error in the Certificate request message.
3186 - Corrected behaviour when a certificate request message is received.
3187   Now a certificate packet is always sent, and in SSL 3.0 cipher suites
3188   a no_certificate alert is sent instead.
3189 - Added functionality to generate PKCS #7 structures (with certificates).
3191 * Version 0.9.3 (2003-03-24)
3192 - Support for MD2 was dropped. 
3193 - Improved the error logging functions, by adding a level, and
3194   by allowing debugging messages just by increasing the level.
3195 - The diffie Hellman ciphersuites are now of higher priority than
3196   the plain RSA.
3197 - The RSA premaster secret version check can no longer be disabled.
3198 - Implemented the counter measure discussed in the paper "Attacking
3199   RSA-based Sessions in SSL/TLS", against the attack described in the
3200   same paper.
3201 - Added the functions: gnutls_handshake_get_last_in(), 
3202   gnutls_handshake_get_last_out().
3203 - The gnutls_certificate_set_rsa_params() was renamed to 
3204   gnutls_certificate_set_rsa_export_params().
3205 - Added the new functions: gnutls_certificate_set_x509_key()
3206   gnutls_certificate_set_x509_trust(), gnutls_certificate_set_x509_crl(),
3207   gnutls_x509_crt_export(), gnutls_x509_crl_export().
3208 - Added support for encoding and decoding PKCS #8 2.0 encrypted 
3209   RSA private keys.
3211 * Version 0.9.2 (2003-03-15)
3212 - Some corrections in the memory mapping code (file is unmapped after 
3213   it is read).
3214 - Added support for PKCS#10 certificate requests generation.
3216 * Version 0.9.1 (2003-03-12)
3217 - Corrected a bug in 64 bit architectures, which affected the
3218   serial number calculation in the record layer.
3219 - Added gnutls_certificate_free_keys() which deletes all the
3220   private keys and certificates from the credentials structure.
3221 - Corrected a broken buffer check in _gnutls_io_read_buffered(),
3222   which caused some unexpected packet length errors. Report and patch
3223   by Ian Peters <itp@ximian.com>.
3224 - Added ability to generate RSA keys.
3225 - Increased the maximum parameter size in order to read some large keys
3226   by some CAs. Patch by Ian Peters <itp@ximian.com>.
3227 - Added an strnstr() function and the requirement in some functions to
3228   use null terminated PEM structures is no more.
3229 - Use mmap() if available to read files.
3230 - Fixed a memory leak in SRP code reported by Rupert Kittinger 
3231   <r.kittinger@efkon.com>.
3233 * Version 0.9.0 (2003-03-03)
3234 - This version is not binary compatible with the previous ones.
3235 - The library notifies the application on empty and illegal SRP usernames, 
3236   so that proper notification (via an alert) is sent to the peer.
3237 - Added ability to send some messages back to the application using
3238   the gnutls_global_set_log_function().
3239 - gnutls_dh_params_generate() and gnutls_rsa_params_generate() now use 
3240   gnutls_malloc() to allocate the output parameters.
3241 - Added support for MD2 algorithm in certificate signature verification.
3242 - The RSA and DH parameter generation interface was changed. Added
3243   ability to import and export from and to PKCS3 structures. This 
3244   was needed to read parameters generated using the openssl dhparam tool.
3245 - Several changes in the temporary (DH/RSA) parameter codebase. No DH 
3246   parameters are now included in the library. Also the credentials structure 
3247   can now hold only one temporary parameter of a kind.
3248 - Added a new Certificate, CRL, Private key and PKCS7 structures handling 
3249   API, defined in gnutls/x509.h
3250 - Added gnutls_certificate_set_verify_flags() function to allow setting the 
3251   verification flags in the credentials structure. They will be used in the
3252   *verify_peers functions.
3253 - Added protection against the new TLS 1.0 record layer timing attack.
3254 - Added support for Certificate revocation lists. Functions defined
3255   in gnutls/x509.h
3256 - The only functions that were removed are:
3257   gnutls_x509_certificate_to_xml()
3258   gnutls_x509_extract_dn_string()
3259 - Ported to libtasn1 0.2.x
3261 * Version 0.8.1 (2003-01-22)
3262 - Improved the SRP support, to prevent attackers guessing the
3263   available usernames by brute force.
3264 - Improved the SRP detection in gnutls-cli-debug
3265 - Some fixes which now allow compilation.
3267 * Version 0.8.0 (2003-01-20)
3268 - Added gnutls_x509_extract_dn_string() which returns a 
3269   distinguished name in a single string.
3270 - Added gnutls_openpgp_extract_key_name_string() which returns
3271   an openpgp user ID in a single string.
3272 - Added gnutls_x509_extract_certificate_ca_status() which returns
3273   the CA status of the given certificate.
3274 - Added SRP-6 support. Follows draft-ietf-tls-srp-04.
3275 - If libtasn1 is not present in the system, it is included in 
3276   the main gnutls library.
3277 - If liblzo is present in the system, then the included minilzo
3278   will not be used, and libgnutls-extra will depend on liblzo.
3279 - GNUTLS_E_PARSING_ERROR error code was replaced by GNUTLS_E_BASE64_DECODING_ERROR, 
3280   and GNUTLS_E_SRP_PWD_PARSING_ERROR. GNUTLS_E_ASCII_ARMOR_ERROR was also 
3281   replaced by GNUTLS_E_BASE64_DECODING_ERROR.
3283 * Version 0.6.0 (2002-12-08)
3284 - Added "gnutls/compat4.h" header. This is included in gnutls.h
3285   to emulate the old 0.4.x API.
3286 - Example programs are now stored in doc/examples/
3287 - Several improvements and updates in the documentation.
3288 - Added the certificate authenticated SRP cipher suites.
3289 - gnutls_x509_extract_certificate_dn_string() was updated to return
3290   an RFC2253 conforming string.
3291 - Added the SRP related functions:
3292    gnutls_srp_verifier()
3293    gnutls_srp_base64_encode()
3294    gnutls_srp_base64_decode()
3295 - Added the function gnutls_srp_set_server_credentials_function()
3296   to allow retrieving SRP parameters from an external backend - other
3297   than password files.
3298 - Added the function gnutls_openpgp_set_recv_key_function()
3299   which can be used to set a callback, to get OpenPGP keys.
3300 - Exported the functions:
3301    gnutls_malloc()
3302    gnutls_free()
3303   which should be used by callback functions.
3304 - Changed the semantics of gnutls_pem_base64_encode_alloc()
3305   and gnutls_pem_base64_decode_alloc(). In the default case
3306   were the gnutls library is used with malloc/realloc/free,
3307   these are binary compatible.
3309 * Version 0.5.11 (2002-11-05)
3310 - Some fixes in 'gnutls-cli' client program to prevent some segmentation 
3311   faults at exit.
3312 - Example programs found in the documentation can now be generated by
3313   running "make examples" in doc/tex directory.
3314 - Added more descriptive error strings, to gnutls_strerror().
3315 - Documented error codes, and the function reference list is now sorted.
3316 - Optimized buffering code.
3317 - gnutls_x509_extract_certificate_dn_string() was rewritten.
3318 - Added GNUTLS_E_SHORT_MEMORY_BUFFER error code, which is returned in the
3319   case where the memory buffer provided is not long enough.
3320 - Depends on the new OpenCDK 0.3.2.
3322 * Version 0.5.10 (2002-10-13)
3323 - Updated documentation.
3324 - Added server name extension. This allows clients to specify the
3325   name of the server they connect to. Useful to HTTPS.
3326 - Several corrections in the code base, mostly in signed/unsigned,
3327   checkings.
3329 * Version 0.5.9 (2002-10-10)
3330 - Corrected some code which worked fine in gcc 3.2, but not with any
3331   other compiler.
3332 - Updated 'gnutls-cli' with the '--starttls' option, to allow testing
3333   starttls implementations.
3334 - Added gnutls_x509_extract_key_pk_algorithm() function which extracts
3335   the private key type, of a DER encoded key.
3336 - Added gnutls_x509_extract_certificate_dn_string() which returns the 
3337   certificate's distinguished name in a single string.
3338 - Added gnutls_set_default_priority() and gnutls_set_default_export_priority()
3339   functions, to avoid calling all the *_priority() functions if the defaults
3340   are acceptable.
3341 - Added int gnutls_x509_check_certificates_hostname() which check whether
3342   the given hostname matches the owner of the given X.509 certificate.
3344 * Version 0.5.8 (2002-09-25)
3345 - Updated documentation.
3346 - Added gnutls_record_get_direction() which replaces the obsolete
3347   gnutls_handshake_get_direction().
3348 - Added function to convert error codes to alert descriptions
3349 - Added LZO compression
3351 * Version 0.5.7 (2002-09-11)
3352 - Some fixes in the memory allocation functions (realloc).
3353 - Improved the string functions used in XML certificate generation.
3354 - Removed dependency on libgdbm.
3355 - Corrected bug in gnutls_dh_params_set() which affected
3356   gnutls_dh_params_deinit().
3357 - Corrected bug in session resuming code in server side.
3359 * Version 0.5.6 (2002-09-06)
3360 - Corrected bugs in SRP implementation, which prevented gnutls 
3361   to interoperate with other implementations. (interoperability testing
3362   was done by David Taylor)
3363 - Corrected bug in cert_type extension.
3364 - Corrected extension type checks which used an 8 bit extension size,
3365   instead of 16 bits.
3366 - Added versioning in the XML output of certificate functions.
3367 - Removed the X.509 test suite.
3369 * Version 0.5.5 (2002-09-03)
3370 - Updated the SRP implementation to the latest draft. The blowfish
3371   crypt implementation was removed, since the new draft does not allow
3372   other hash algorithms except for the srpsha. 
3373 - Renamed all the constructed types in order to have more consistent
3374   names. 
3375 - Improved the certificate and key read functions. Now they can read 
3376   the certificate and the private key from the same file.
3377 - Updated and corrected documentation.
3379 * Version 0.5.4 (2002-08-27)
3380 - Fixes in TLS 1.0 PRF and SSL3 random functions.
3381 - gnutls_handshake_set_exportable_detection() was obsoleted.
3382 - Added gnutls_openpgp_extract_key_id() which returns the key ID.
3383 - Corrected bug in DHE key exchange
3384 - Added support for temporary RSA keys which are needed for the
3385   export cipher suites.
3386 - Added the TLS_RSA_EXPORT_ARCFOUR_40_MD5 ciphersuite.
3388 * Version 0.5.3 (2002-08-23)
3389 - No changes. Replaces the tarball of 0.5.2 which accidentally contained
3390   code from the unstable branch.
3392 * Version 0.5.2 (2002-08-22)
3393 - Added an error code that is returned in clients which connect
3394   to export only servers. This must be enabled using the
3395   gnutls_handshake_set_exportable_detection() function.
3396 - Updated openssl compatibility layer.
3397 - Added gnutls_handshake_get_direction() function which returns
3398   the state of the handshake when interrupted.
3400 * Version 0.5.1 (2002-07-17)
3401 - Corrected the m4 macros which used <gnutls.h> instead of
3402   <gnutls/gnutls.h>
3403 - Documentation fixes
3404 - Added gnutls_transport_set_ptr2() function, which accepts two
3405   different pointers, to be used while receiving, and 
3406   while sending data.
3407 - Semantic changes in gnutls_record_set_max_size(). The requested
3408   size is now immediately enforced at the output buffers.
3409 - gnutls_global_init_extra() now fails if the library versions do
3410   not match.
3411 - Fixes in client and server example programs. Null encryption can
3412   be used in these programs, to assist in debuging.
3413 - Fixes in zlib compression code.
3415 * Version 0.5.0 (2002-07-06)
3416 - Added X.509 certificate tests in tests/ directory
3417 - Removed stubs for SRP and Anonymous authentication. They served
3418   no purpose since they are always included, unless it was requested
3419   not to do so.
3420 - Added gnutls_handshake_set_private_extensions() function. This
3421   function can be used to enable private (gnutls specific) cipher suites
3422   and compression algorithms.
3423 - Added check for C99 macro support by the compiler.
3424 - Added functions gnutls_b64_encode_fmt2() and gnutls_b64_decode_fmt2()
3425 - Added the new libtasn1 library.
3426 - Removed the gdbm backend. Applications are now responsible for the
3427   session resuming backend. The gnutls-serv application contains an
3428   simple example on how to use gdbm for resuming.
3429 - Headers for the gnutls library are now installed in $(includedir)/gnutls
3430 - Added an OpenSSL compatible interface (with some limitations).
3431 - Added functions to convert DER encoded certificates to XML format.
3433 * Version 0.4.4 (2002-06-24)
3434 - Corrected bug in PKCS-1 RSA encryption which prevented gnutls to encrypt
3435   using keys of some specific size.
3437 * Version 0.4.3 (2002-05-23)
3438 - The gnutls-extra library now compiles fine, if the opencdk library is
3439   not present.
3440 - Several bug fixes.
3441 - Added gnutls_global_set_mem_func() function, to set the memory allocation
3442   functions, if other than the defaults are to be used.
3443 - The default memory allocation functions are now the ones in libc.
3445 * Version 0.4.2 (2002-05-21)
3446 - Separated ASN.1 structures parser documentation and TLS library
3447   documentation.
3448 - Added gnutls_handshake_set_rsa_pms() function, which disables the
3449   version check in RSA premaster secret.
3450 - Added gnutls_session_is_resumed() function, which reports if a session
3451   is a resumed one.
3452 - Added gnutls_state_set_ptr() and gnutls_state_get_ptr() functions, to
3453   assist in callback functions.
3454 - Replaced the included 1024 bit prime for Diffie Hellman, with a new
3455   random one.
3456 - Relicensed the library under the GNU Lesser General Public License
3457 - Added gnutls-extra library which contains the GPL covered code of gnutls.
3459 * Version 0.4.1 (2002-04-07)
3460 - Now uses alloca() for temporary variables
3461 - Optimized RSA signing
3462 - Added functions to return the peer's certificate activation and
3463   expiration time.
3464 - Corrected time function's behaviour (the time value returned no longer
3465   relate to local timezone).
3467 * Version 0.4.0 (2002-04-01)
3468 - Added support for RFC2630 (PKCS7) X.509 certificate sets
3469 - Added new functions: gnutls_x509_extract_certificate_pk_algorithm(),
3470   gnutls_openpgp_extract_key_pk_algorithm().
3471 - Several optimizations in the Handshake protocol
3472 - Several optimizations in RSA algorithm
3473 - Unified the return values because of small buffers.
3475 * Version 0.3.92 (2002-03-23)
3476 - Updated documentation
3477 - Combined error codes of ASN.1 parser and gnutls
3478 - Removed GNUTLS_CERT_TRUSTED from the CertificateStatus enumeration
3479 - Added protection against CBC chosen plaintext attack (disabled by default)
3480 - Improved and optimized compression support
3482 * Version 0.3.91 (2002-03-03)
3483 - Added gnutls-cli-debug program
3484 - Corrections in session resumption
3485 - Rehandshake can now handle negotiation of different authentication
3486   type.
3487 - gnutls-cli, gnutls-serv, gnutls-srpcrypt and gnutls-cli-debug are 
3488   now being installed.
3490 * Version 0.3.90 (2002-02-24)
3491 - Handshake messages are not kept in memory any more. Now we use 
3492   less memory during a handshake
3493 - Added support for certificates with DSA parameters
3494 - Added DHE_DSS cipher suites
3495 - Key exchange methods changed so they do not depend on the 
3496   certificate type. Added certificate type negotiation TLS extension.
3497 - Added openpgp key support (EXPERIMENTAL)
3498 - Improved Diffie Hellman key exchange support.
3499 - Bug fixes in the RSA key exchange.
3500 - Added check for the requested TLS extensions
3501 - TLS extensions now use a 16 bit type field.
3502 - Added a minimal string library to assist in ASN.1 parsing
3503 - Changes in ASN.1 parser to work with the new bison
3504 - Added gnutls_x509_extract_subject_alt_name(), which deprecates 
3505   gnutls_x509_extract_subject_dns_name()
3506 - gnutls_x509_set_trust_(file/mem) can now be called multiple times
3507 - gnutls_srp_server_set_cred_file() can now be called multiple times
3509 * Version 0.3.5 (2002-01-25)
3510 - Corrected the RSA key exchange method, to avoid attacks against
3511   PKCS-1 formating.
3513 * Version 0.3.4 (2002-01-20)
3514 - Corrected bugs in DHE_RSA key exchange method
3516 * Version 0.3.3 (2002-01-19)
3517 - Added gnutls_x509pki_verify_certificate()
3518 - Added gnutls_x509pki_set_trust_mem() and gnutls_x509pki_set_key_mem()
3519 - Bug fixes in srpcrypt (based on patch by Marc Huber)
3520 - Bug fixes in the Handshake protocol (based on patch by Guillaume Morin)
3521 - Corrected library versioning
3523 * Version 0.3.2 (2002-01-05)
3524 - Corrected bug which did not allow a client to accept multiple CA names
3525 - Added gnutls_fingerprint()
3526 - Added gnutls_x509pki_extract_certificate_serial()
3527 - Added gnutls_b64_encode_fmt() and gnutls_b64_decode_fmt()
3528 - Corrected behaviour in version advertizing
3529 - Updated documentation
3530 - Prefixed all types in gnutls.h with 'GNUTLS_' to avoid namespace collisions
3532 * Version 0.3.1 (2001-12-21)
3533 - Corrections in the configuration files
3534 - Fixes a bug in anonymous authentication
3536 * Version 0.3.0 (2001-12-17)
3537 - Corrected bug in new integer formatting (now we use the old format again)
3538 - Several corrections and usual cleanups
3540 * Version 0.2.91 (2001-12-10)
3541 - Fixes in MPI handling (fixes possible bug with signed integers)
3542 - Removed name indication extension
3543 - Added gnutls_transport_get_ptr() and gnutls_db_get_ptr()
3544 - Optimizations in server certificate callback.
3545 - Fixes in anonymous authentication
3546 - Corrections in client ciphersuite selection
3548 * Version 0.2.90 (2001-12-07)
3549 - gnutls_handshake(), gnutls_read() etc. functions no longer require
3550   the 'SOCKET cd' argument. This argument is set using the function
3551   gnutls_set_transport_ptr().
3552 - introduced gnutls_x509pki_get_peer_certificate_list(). This function returns
3553   a list containing peer's certificate and issuers DER encoded.
3554 - Updated X.509 certificate handling API
3555 - Added callback to select the server certificate
3556 - More consistent function naming (changes in several function names)
3557 - Buffer overflow checking in ASN.1 structures parser
3558 - Updated documentation
3560 * Version 0.2.11 (2001-11-16)
3561 - Changed the meaning of GNUTLS_E_REHANDSHAKE value. If this value
3562   is returned, then the caller should perform a handshake or send
3563   an alert to the peer.
3564 - Made receive buffer dynamic. Normally if no large chunks are received
3565   it occupies less space.
3566 - Added max_record_size extension
3567 - Bugfixes in session handling
3568 - Improved non blocking IO support in the Handshake Protocol
3569 - Usual bugfixes and cleanups
3570 - Documentation updated (includes ASN.1 documentation)
3572 * Version 0.2.10 (2001-11-05)
3573 - Corrected bugs and improved non blocking IO
3574 - Added hooks to use external database to store sessions
3575 - Usual cleanups
3577 * Version 0.2.9 (2001-10-27)
3578 - AUTH_INFO types and structures were moved to library internals
3579 - AUTH_FAILED is no longer returned in SRP authentication
3580   (any fatal error in SRP means auth failed)
3581 - Introduced GNUTLS_E_INTERRUPTED
3582 - Added support for non blocking IO
3583 - gnutls_recv() and gnutls_send() are now obsolete
3584 - Changed semantics of gnutls_rehandshake()
3586 * Version 0.2.4 (2001-10-12)
3587 - Better handling of X.509 certificate extensions
3588 - Added DHE_RSA ciphersuites
3589 - Updated the Name Indication (dnsname) extension
3590 - Improvements in Diffie Hellman primes handling
3592 * Version 0.2.3 (2001-09-19)
3593 - Memory optimizations in gnutls_recv()
3594 - Fixed several memory leaks
3595 - Added ability to specify callback for x509 client certificate selection
3596 - Better documentation
3598 * Version 0.2.2 (2001-08-21)
3599 - Several bugfixes (library and documentation)
3601 * Version 0.2.1 (2001-08-07)
3602 - SRP fixes
3604 * Version 0.2.0 (2001-08-07)
3605 - Partial support for X.509v3 Certificate extensions.
3606 - Added Internal memory handlers
3607 - Removed gnutls_x509_set_cn()
3608 - Added X.509 client authentication
3609 - Several bug fixes and protocol fixes
3611 * Version 0.1.9 (2001-07-30)
3612 - Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
3613 - SRP is updated to conform to the newest draft.
3614 - Added support for DNSNAME extension.
3615 - Reentracy fixes in ASN.1 Parsing.
3616 - Optimizations in hash/hmac functions
3617 - (Error) message handling has changed
3618 - Better Protocol Version handling
3619 - Added X.509 Certificate Verification
3620 - gnutls_read() semantics are now closer to read(2) - added EOF
3621 - Documented some part of gnutls in doc/tex/ using Latex
3623 * Version 0.1.4 (2001-06-22)
3624 - Corrected (srp) base64 encoding.
3625 - Changed bcrypt algorithm to include username.
3626 - Added RSA Ciphersuites (no certificate checking).
3627 - Fixes in SSL 2.0 client hello parsing.
3628 - Added ASN.1 and DER parsers.
3629 - Bugfixes in session resuming
3630 - Updated Ciphersuite selection algorithm
3631 - Added internal representation of X.509 structures.
3632 - Added global state
3634 * Version 0.1.3 (2001-06-01)
3635 - Updated API (and the way it is documented - we use inline documentation)
3636 - Added function to access alert messages.
3637 - Added support for renegotiating parameters.
3638 - Better and Faster Resume Database handling.
3639 - Several bugfixes
3641 * Version 0.1.2 (2001-05-14)
3642 - Updated API
3643 - Fixes in extension handling
3645 * Version 0.1.1 (2001-05-13)
3646 - Added compatibility with Stanford's libsrp library
3648 * Version 0.1.0 (2001-05-09)
3649 - Added SSL 2.0 client hello support
3650 - GNUTLS is a gnu library
3651 - Added support for TLS extensions.
3652 - Added support for SRP
3654 * Version 0.0.7 (2001-01-11)
3655 - Added server side session resuming (using gdbm)
3656 - Added twofish algorithm
3658 * Version 0.0.6 (2000-12-20)
3659 - Added client side session resuming
3660 - Better documentation (check doc/API)
3661 - Better socket handling (gnutls can be used with select())
3662 - Some primitive support for non blocking IO and socket options has been added.
3664 * Version 0.0.5 (2000-12-07)
3665 - Added Compression (using ZLIB)
3666 - Added SSL 3.0 support
3668 ----------------------------------------------------------------------
3669 Copying and distribution of this file, with or without modification,
3670 are permitted in any medium without royalty provided the copyright
3671 notice and this notice are preserved.