diff --git a/ChangeLog b/ChangeLog
index 7fe718b4..85e0702a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,845 +1,847 @@
 2003-09-04  Werner Koch  <wk@gnupg.org>
 
+	Released 1.1.43.
+
 	* configure.ac: Require libgpg-error 0.4 due to the prime interface.
 
 2003-08-29  Werner Koch  <wk@gnupg.org>
 
 	* acinclude.m4 (GNUPG_SYS_SYMBOL_UNDERSCORE): Re-implemented.
 	* configure.ac: Use it here.
 
 2003-08-07  Moritz Schulte  <moritz@g10code.com>
 
 	* configure.ac: Fail, if libgpg-error could not be found.
 
 2003-07-31  Werner Koch  <wk@gnupg.org>
 
 	Released 1.1.42.
 	
 	* configure.ac: Set LT version to 7/0/0.
 
 2003-07-30  Werner Koch  <wk@gnupg.org>
 
 	* AUTHORS (Maintainer): Assigned Moritz as Maintainer.
 
 2003-07-30  Moritz Schulte  <moritz@g10code.com>
 
 	* NEWS: Include much more complete list of `Interface changes
 	relative to the 1.1.12 release'.
 
 2003-07-14  Moritz Schulte  <moritz@g10code.com>
 
 	* configure.ac: Bumbed version number up to 1.1.42-cvs.
 
 2003-07-09  Moritz Schulte  <moritz@g10code.com>
 
 	* configure.ac: Reintroduce --disable-asm, since it is needed by
 	mpi/config.links.
 
 2003-07-05  Moritz Schulte  <moritz@g10code.com>
 
 	* README: Few changes, mention libgpg-error.
 	
 2003-06-18  Moritz Schulte  <moritz@g10code.com>
 
 	* configure.ac (available_ciphers): Removed Serpent, hrrm.
 
 2003-06-17  Moritz Schulte  <moritz@g10code.com>
 
 	* acinclude.m4: Removed macro definitions: GNUPG_CHECK_FAQPROG,
 	GNUPG_CHECK_ENDIAN, GNUPG_CHECK_CACHE, GNUPG_CHECK_PIC,
 	GNUPG_CHECK_EXPORTDYNAMIC, GNUPG_CHECK_IPC, GNUPG_PROG_NM,
 	GNUPG_SYS_SYMBOL_UNDERSCORE, GNUPG_FUNC_MKDIR_TAKES_ONE_ARG,
 	GPH_PROG_DB2ANY.
 	Added macro definitions: AM_PATH_GPG_ERROR.
 	
 	* configure.ac: Use alternative approach for building based on
 	conditional sources, which does not make automake eat all your
 	memory, etc.
 	Removed unused tests.
 	Renamed --enable-static-rnd to --enable-random.
 	Use Autoconf's AC_C_BIGENDIAN macro instead of our own.
 	Re-organized the whole file.
 
 2003-06-16  Moritz Schulte  <moritz@g10code.com>
 
 	* configure.ac (AC_CONFIG_FILES): Removed doc/version.sgml.
 
 2003-06-11  Moritz Schulte  <moritz@g10code.com>
 
 	* configure.ac: Remove --enable-libgpg-error flag.
 	Ue AC_PATH_GPG_ERROR.
 
 2003-06-09  Moritz Schulte  <moritz@g10code.com>
 
 	* NEWS: Mention API changes and libgpg-error.
 
 2003-05-25  Moritz Schulte  <moritz@g10code.com>
 
 	* configure.ac (USE_LIBGPG_ERROR): Implementation of the
 	--enable-libgpg-error switch.
 	Define USE_LIBGPG_ERROR in LIBGCRYPT_CONFIG_FLAGS, in case
 	libgpg-error is used.
 
 2003-05-22  Moritz Schulte  <moritz@g10code.com>
 
 	* configure.ac (AC_CHECK_HEADERS): Removed unused headers:
 	termio.h, langinfo.h.
 	(AC_CHECK_FUNCS): Removed unused functions: strsep, strlwr,
 	tcgetattr, setrlimit, strftime, nl_langinfo, sigaction,
 	sigprocmask, fopen64, fstat64.
 
 2003-04-27  Moritz Schulte  <moritz@g10code.com>
 
 	* README: Documented new configure switches.
 	Mention the --enable-maintainer-switch.
 
 	* configure.ac: Merged some code from GnuPG's configure.ac for
 	disabling sha512/tiger in case no 64 data types are available.
 
 2003-04-17  Moritz Schulte  <moritz@g10code.com>
 
 	* configure.ac: Include support for sha512.
 
 2003-04-17  Moritz Schulte  <moritz@g10code.com>
 
 	* AUTHORS: Updated.
 
 2003-04-16  Moritz Schulte  <moritz@g10code.com>
 
 	* configure.ac: Implement command line switches: --enable-ciphers,
 	--enable-pubkey-ciphers and --enable-digests.
 	Set Automake conditionals and config.h symbols depending on the
 	selected ciphers, pubkey-ciphers, digests and random-modules.
 
 	* acinclude.m4 (LIST_MEMBER): New macro.
 
 	* configure.ac: Simplified, removed code for parsing
 	EXTRA_PROGRAMS from Makefile.am.
 
 2003-04-08  Moritz Schulte  <moritz@g10code.com>
 
 	* configure.ac: Merged random-module selection code from GnuPG's
 	configure.ac.
 
 2003-04-07  Moritz Schulte  <moritz@g10code.com>
 
 	* configure.ac: Removed code for generating contruct.c.
 	Remove digest modules from the static_modules list, only handle
 	random module selection.
 	
 
 2003-03-24  Moritz Schulte  <moritz@g10code.com>
 
 	* NEWS: Mention new CBC_MAC flag.
 
 	* AUTHORS (Maintainer): Update entry for Simon Josefsson.
 
 2003-03-04  Moritz Schulte  <moritz@g10code.com>
 
 	* TODO: Remove item about resetting handles, since
 	gcry_cipher_reset is implemented by now.
 
 	* NEWS: Mentioned gcry_cipher_reset.
 
 2003-01-21  Werner Koch  <wk@gnupg.org>
 
 	* README (Configure options): New. 
 	* configure.ac (have_ld_version_script): New option
 	--enable-ld-version-script.
 
 2003-01-20  Simon Josefsson  <jas@extundo.com>
 
 	* configure.ac (MODULES_IN_CIPHER): Add crc.
 
 2003-01-20  Werner Koch  <wk@gnupg.org>
 
 	Released 1.1.12.
 	
 	* configure.ac (LIBGCRYPT_LT_REVISION): Bumbed up.
 
 2002-12-21  Werner Koch  <wk@gnupg.org>
 
 	Released 1.1.11.
 	
 	* configure.ac (LIBGCRYPT_LT_CURRENT: Bumbed to 6/5/0 due to a new
 	interface
 
 2002-12-19  Werner Koch  <wk@gnupg.org>
 
 	* configure.ac (have_pthread): Check for pthreads in libc.
 	(have_ld_version_script): New.
 
 2002-11-10  Werner Koch  <wk@gnupg.org>
 
 	* configure.ac (MODULES_IN_CIPHER): Add md4.c.  By Simon Josefsson.
 
 2002-09-20  Werner Koch  <wk@gnupg.org>
 
 	Released 1.1.10.
 
 	* configure.ac (HAVE_DEV_RANDOM_IOCTL): Don't check for it; it is
 	not used.
 	(AS_CHECK_HEADERS): Check for sys/select.h.
 	* Makefile.am (DIST_SUBDIRS): New to include the w32-dll directory
 
 2002-09-18  Timo Schulz  <ts@winpt.org>
 
 	* configure.ac: Added makefile for the W32 DLL.
 	
 2002-09-17  Werner Koch  <wk@gnupg.org>
 
 	* configure.ac: Check for Pth and Pthreads.
 
 2002-08-23  Werner Koch  <wk@gnupg.org>
 
 	Released 1.1.9.
 	
 	* configure.ac (LIBGCRYPT_CONFIG_CFLAGS): Renamed from
 	LIBGCRYPT_CFLAGS and removed the libpath because it is set by the
 	config script.
 	(LIBGCRYPT_LT_REVISION): Set LT version to 5/4/1.
 
 2002-06-25  Werner Koch  <wk@gnupg.org>
 
 	Released 1.1.8.
 	
 	* configure.ac: Set LT version to 5/4/0. 
 
 2002-05-21  Werner Koch  <wk@gnupg.org>
 
 	Released 1.1.7.
 	
 	* configure.ac: Set LT version to 4/3/0.
 
 2002-05-17  Werner Koch  <wk@gnupg.org>
 
 	* configure.ac: Removed all the dynamic loading stuff.
 
 2002-05-16  Werner Koch  <wk@gnupg.org>
 
 	* configure.ac: Reordered the C_CHECK_FUNCS.
 
 2002-05-15  Werner Koch  <wk@gnupg.org>
 
 	* configure.ac: Adjusted for new MPI module stuff.
 
 2002-05-14  Werner Koch  <wk@gnupg.org>
 
 	Changed license to the LGPL.
 
 2002-05-02  Werner Koch  <wk@gnupg.org>
 
 	* jnlib/: Removed.
 	* Makefile.am (SUBDIRS): Removed jnlib.
 	* configure.ac (jnlib/Makefile): Removed.
 
 	* configure.ac: Define _REENTRANT.
 	
 2002-02-18  Werner Koch  <wk@gnupg.org>
 
 	* configure.ac (MPI_EXTRA_ASM_OBJS): Use .lo suffix.
 	(AC_CANONICAL_TARGET): Added.
 
 2002-02-07  Werner Koch  <wk@gnupg.org>
 
 	Released 1.1.6. 
 
 2002-01-24  Werner Koch  <wk@gnupg.org>
 
 	* jnlib/: Replaced by a fresh copy from GnuPG (actually the NewPG
 	development branch).  Adjusted Makefile.am and jnlib-config.h
 	accordingly.
 
 2001-12-18  Werner Koch  <wk@gnupg.org>
 
 	Released 1.1.5.
 
 	* Makefile.am (dist-hook): Only look in mpi and scripts for
 	distfiles; this way we don't include those of a stale "make dist"
 	directory.
 
 	* acinclude.m4 (GNUPG_FIX_HDR_VERSION): Make it work with the new
 	automake.
 	* configure.ac: Don't chmod db2any.
 
 2001-08-06  Werner Koch  <wk@gnupg.org>
 
 	* configure.ac: Removed cross compiling hacks.
 
 2001-08-03  Werner Koch  <wk@gnupg.org>
 
 	Released 1.1.4.
 
 	* acinclude.m4 (GNUPG_CHECK_TYPEDEF): Define GNU Source.
 	
         Migrated to autoconf 2.52.
 	* acinclude.m4: Removed GNUPG_LINK_FILES and converted.
 	* acconfig.h: Removed
 	* configure.in: Replaced by...
 	* configure.ac: and modified for use with autoconf 2.52.  Replaced
 	GNUPG_LINK_FILES with AC_CONFIG_LINKS and moved some informational
 	messages to the end. Removed --enable-m-debug
 
 	* tests/: New.
 	* Makefile.am: Included tests directory
 	
 	* configure.in (DYNLINK_MOD_CFLAGS): Use -shared with dec-osf.
 	Reported by Chris Adams.  Merged some cases.
 
 2001-05-31  Werner Koch  <wk@gnupg.org>
 
 	Released 1.1.3.
 
 	* configure.in: Use _gcry_ prefix when creating the cipher constructor.
 
 	* acconfig.h (_GCRYPT_IN_LIBGCRYPT): Define it here.
 
 2001-05-28  Werner Koch  <wk@gnupg.org>
 
 	* acinclude.m4 (GPH_PROG_DOCBOOK): Removed.
 	(GPH_PROG_DB2ANY): New. Taken from GPH.
 	* configure.in: Use it here.
 
 2000-12-19  Werner Koch  <wk@gnupg.org>
 
 	Major change:
 	Removed all GnuPG stuff and renamed this piece of software
 	to gcrypt.  The directory gcrypt has been renamed to src.
 
 2000-11-14  Werner Koch  <wk@gnupg.org>
 
 	Version 1.1.2 released.
 
 2000-11-13  Werner Koch  <wk@gnupg.org>
 
 	* acinclude.m4 (GNUPG_FIX_HDR_VERSION): VPATH build fix.
 
 2000-10-10  Werner Koch  <wk@gnupg.org>
 
 	* Makefile.am (dist-hook): Create the version file.
 	* configure.in: Set the libtool version here, removed the need
 	for the version file.
 
 Mon Sep 18 16:35:45 CEST 2000  Werner Koch  <wk@openit.de>
 
         * acinclude.m4 (GNUPG_CHECK_MLOCK):  Removed that silly mkdir().
 
         * configure.in:  Changes to allow for Solaris random device.
         By Nils Ellmenreich.
         (--with-egd-socket): New.
 
         * configure.in (GNUPG_HOMEDIR): New.
 
         * configure.in: Check for fstat64 and fopen64
 
         * acinclude.m4 (GNUPG_CHECK_FAQPROG): New.
         * configure.in: Test for this.
 
         * configure.in (DYNLINK_MOD_CFLAGS): Fix by David Champion.
 
 Tue Aug 22 14:31:15 CEST 2000  Werner Koch  <wk@openit.de>
 
         Version 1.1.1
 
 Fri Aug 18 14:27:14 CEST 2000  Werner Koch  <wk@openit.de>
 
   * agent/: New.
   * Makefile.am, configure.in: Support for the new directory.
 
 Mon Jul 17 16:35:47 CEST 2000  Werner Koch  <wk@>
 
   * configure.in (mingw32): Changes to allow for mingw32msvc
 
 Fri Jul 14 19:38:23 CEST 2000  Werner Koch  <wk@>
 
   The big merge between this one and the stable branch 1.0.  Still need
   to merge TNANKS, AUTHORS and such.  It probaly does not compile yet.
 
   * acinclude.m4 (GNUPG_CHECK_MLOCK): Fixed syntax error in C code.
 
   * configure.in: Add check for termio.h, wait unctiosn and sigaction.
 
   * acinclude.m4, configure.in (GNUPG_CHECK_GNUMAKE): New.
 
   * acinclude.m4 (MKDIR_TAKES_ONE_ARG): Check some headers. By Ga�l Qu�ri.
 
   * configure.in (AM_INIT_AUTOMAKE): Use this now. By Ga�l.
 
   * acinclude.m4 (GNUPG_CHECK_EXPORTDYNAMIC): Replacement for
   GNUPG_CHECK_RDYNAMIC which should handle gcc with non GNU ld nicer.
   Contributed by Dave Dykstra.
   * configure.in (GNYPG_CHECK_RDYNAMIC): Replaced by the new check.
 
   * configure.in: Add a test for unisgned long long.
 
   * configure.in (DYNLINK_MOD_CFLAGS): Set different for NetBSD.
 
   * configure.in: Add check for clock_gettime
 
   * configure.in (ALL_LINGUAS): Add nl.
   * configure.in (ALL_LINGUAS): Add Esperanto.
   * configure.in (ALL_LINGUAS): Add sv and ja.
 
   * configure.in: Use /usr/local for CFLAGS and LDFLAGS when
   target is freebsd.  By R�mi.
 
   * configure.in: Do not set development version when the version has
   a dash in it.  Suggested by Dave Dykstra.
 
   * configure.in: Removed substitution for doc/gph/Makefile.
   Do all the gcc warning only in maintainer mode.
 
   * configure.in (dlopen): Use CHECK_FUNC for a test of dlopen in libc.
   Suggested by Alexandre Oliva.
   (-Wall): Moved the settting of gcc warning options near to the end
   so that tests don't get confused.  Suggested by Paul D. Smith.
 
   * acinclude.m4 (GNUPG_SYS_NM_PARSE): Added BSDI support.
   (GNUPG_CHECK_RDYNAMIC): Ditto.
 
   * acinclude.m4 (GNUPG_CHECK_MLOCK): Changed the way to test for
   librt.  Test suggested by Jeff Long.
 
   * acinclude.m4 (GNUPG_CHECK_MLOCK): Do librt check only when
   we can't link a test program.  This way GNU systems don't need
   to link against linrt.
   (GNUPG_CHECK_IPC): Fixed use of TRY_COMPILE macro.  From Tim Mooney.
 
   * acinclude.m4 (GNUPG_SYS_SYMBOL_UNDERSCORE): Add support for
   DJGPP.
   (GNUPG_CHECK_MLOCK): Check whether mlock sits in librt.
 
   * acinclude.m4 (GNUPG_CHECK_RDYNAMIC): Add NetBSD. By Thomas Klausner.
 
   * acconfig.h (HAVE_MLOCK): Added
 
 Mon Mar 13 19:22:46 CET 2000  Werner Koch  <wk@openit.de>
 
 	* configure.in: Now uses the Docbook M4s from GPH.
 
 Mon Jan 31 17:46:35 CET 2000  Werner Koch  <wk@>
 
 	* Makefile.am: Re-added tools. By R�mi.
 
 Mon Jan 31 16:37:34 CET 2000  Werner Koch  <wk@gnupg.de>
 
 	* configure.in: Create a symlink for types.h in gcrypt/.
 
 Thu Jan 27 18:00:44 CET 2000  Werner Koch  <wk@gnupg.de>
 
 	* configure.in (g10defs.h): Replaced by gnupg-defs.h
 
 Mon Jan 24 13:04:28 CET 2000  Werner Koch  <wk@gnupg.de>
 
 	* jnlib/ : New.
 
 	* configure.in: Do set development version when the version has
 	a dash in it.  Suggested by Dave Dykstra.
 
 Thu Dec  9 17:22:27 CET 1999  Werner Koch  <wk@gnupg.de>
 
 	* acinclude.m4 (GNUPG_FIX_HDR_VERSION): New.
 	* configure.in: Check and fix the version number of gcrypt/gcrypt.h
 	so that it is always the save as VERSION.
 
 Thu Oct 28 16:17:46 CEST 1999  Werner Koch  <wk@gnupg.de>
 
 	* Started with development series 1.1 on 1999-10-26
 
 Tue Oct 26 14:10:21 CEST 1999  Werner Koch  <wk@gnupg.de>
 
 	* README-alpha: New
 
 	* configure.in: Fixed quoting in test for development version.
 
 	* THANKS: Add entries for Michael, Brenno and J Horacio who did
 	very nice Howto documents - I apoligize for forgetting to mention them
 	earlier.
 
 Fri Sep 17 12:56:42 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 
 	* configure.in: Add "-lcap" when capabilities are requested.
 	Add the conditional CROSS_COMPILING.
 	* Makefile.am: Don't use checks when CROSS_COMPILING.
 
 
 Wed Sep 15 16:22:17 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 
 	* configure.in (ALL_LINGUAS): Add pt_PT.
 
 	* configure.in: Some tweaks for cross compiling under MingW32
 	* acconfig.h (USE_STATIC_RNDW32): New.
 
 Tue Sep  7 17:08:10 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 
 	* VERSION: Set to 1.0.0.
 
 Mon Sep  6 19:59:08 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 
 	* configure.in: Create makefile in doc/gph
 
 	* acinclude.m4 (GNUPG_FUNC_MKDIR_TAKES_ONE_ARG): New
 	* configure.in: use the above.
 
 Thu Sep  2 16:40:55 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 
 	* VERSION: Set to 0.9.11.
 
 Tue Aug 31 17:20:44 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in: Minor changes to the OS/2 and Mingw32 system labels.
 	Add a printable name for Hurd.
 
 Mon Aug 30 20:38:33 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in: Some support for DJGPP (Mark Elbrecht)
 
 Wed Aug  4 10:34:46 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* VERSION: Set to 0.9.10.
 
 Mon Jul 26 09:34:46 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* acinclude.m4 (GNUPG_SYS_SYMBOL_UNDERSCORE): remove init of ac_cv_...
 
 	* Makefile.am (DISCLEANFILES): New
 
 Fri Jul 23 13:53:03 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* VERSION: Set to 0.9.9.
 
 	* configure.in: Print a notice when rndunix is used.
 
 Thu Jul 15 10:15:35 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* acinclude.m4 (GNUPG_SYS_SYMBOL_UNDERSCORE): Fixed last modification.
 
 Wed Jul  7 13:08:40 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* Makefile.am: Support for libtool.
 	* configure.in: Ditto.
 
 Tue Jun 29 21:44:25 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in (use_local_zlib): The lost dollar is back.
 
 	* acinclude.m4 (GNUPG_SYS_SYMBOL_UNDERSCORE): Add EMX case.
 	* configure.in: Another variant of the MX vendor string
 
 	* configure.in (--with-capabilities): Some test code (Remi).
 
 Sat Jun 26 12:15:59 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* acinclude.m4 (GNUPG_CHECK_RDYNAMIC): Support for HPUX and IRIX.
 	* configure.in (HAVE_DL_SHL_LOAD): New for HPUX (Dave Dykstra).
 
 	* VERSION: Now 0.9.8
 
 Wed Jun 16 20:16:21 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in: Add test for docbook-to-man
 
 Tue Jun 15 12:21:08 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* acinclude.m4 (GNUPG_SYS_NM_PARSE): Support for {net,free}bsd,
 
 Thu Jun 10 14:18:23 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in (ZLIB,GDBM): Check both, header and lib.
 
 Sat Jun  5 15:30:33 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* pkclist.c (key_present_in_pk_list): New (Michael).
 
 Tue May 25 19:50:32 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in (IS_DEVELOPMENT_VERSION): Fixed detection.
 
 Sun May 23 14:20:22 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* acinclude.m4 (GNUPG_SYS_SYMBOL_UNDERSCORE): assume yes when
 	cross-compiling.
 
 Mon May 17 21:54:43 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in (socket): Fix for Unisys by Katsuhiro Kondou.
 
 Sat May  8 19:28:08 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* NEWS: Add a marker line which I forgot to do for 0.9.6.
 
 Thu May  6 14:18:17 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* README: Minor updates
 
 	* VERSION: Now 0.9.6
 
 Thu Apr  8 09:35:53 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* acinclude.m4 (GNUPG_CHECK_RDYNAMIC): Fix for
 					       amiga-openbsd (Peter Reich)
 	(GNUPG_PROG_NM): Ditto
 
 Wed Apr  7 20:51:39 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* Makefile.am (g10defs.h): Removed.
 	* configure.in (AC_OUTPUT_COMMANDS): Create g10defs.h
 
 Sat Mar 20 12:55:33 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* VERSION: Now 0.9.5
 
 Sun Mar 14 19:34:36 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* acinclude.m4 (AM_SYS_SYMBOL_UNDERSCORE): Removed because it is
 	now in the latest libtool.
 
 Thu Mar 11 16:39:46 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in: Removed the need for libtool
 
 Mon Mar  8 20:47:17 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in (DLSYM_NEEDS_UNDERSCORE): Replaced.
 	* acinclude.in (AM_SYS_SYMBOL_UNDERSCORE): New.
 
 	* VERSION: Now 0.9.4
 
 Sun Feb 28 19:11:00 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in (dld): Test disabled.
 
 Fri Feb 26 17:55:41 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* encode.c (encode_simple): temporary fix.
 
 Wed Feb 24 11:07:27 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in: New option --enable-static-rnd.
 
 Mon Feb 22 20:04:00 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* BUGS: Now we assign bug numbers.
 	* OBUGS: New to keep rack o fixed bugs (CVS only)
 
 Fri Feb 19 18:01:54 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* VERSION: Released 0.9.3
 
 Fri Feb 19 15:49:15 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* acinclude.m4: Removed gettext macros.
 
 Tue Feb 16 14:10:02 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in (socket): Check for -lsocket and -lnsl.
 	(osf4): Disable all warnings for DEC's cc.
 	(-Wall): Add more warning options for gcc
 
 Sat Feb 13 12:04:43 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in: Changed detection of compiler flags.
 	* intl/ : Removed directory
 
 Wed Feb 10 17:15:39 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* acinclude.m4 (GNUPG_CHECK_RDYNAMIC): Fix for freebsd 2.2
 
 	* configure.in: a lot of changes to allow selection of modules.
 	Add support for OS/2.
 
 	* acinclude.m4: add some more caching
 
 	* README: Spelling and grammar corrections (John A. Martin)
 	* INSTALL: Ditto.
 
 Wed Jan 20 21:40:21 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in: --enable-m-guard is now default
 
 Wed Jan 13 12:49:36 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* INSTALL: Applied new information how to build rpms by Fabio Coatti
 	* Makefile.in (gnupg.spec): Changed the names.
 
 Tue Jan 12 11:17:18 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* config.links (m68k-atari-mint): New
 
 Tue Jan 12 09:17:19 CET 1999  Ga�l Qu�ri <gqueri@mail.dotcom.fr>
 
 	* all: Fixed typos all over the place
 
 Sat Jan  9 16:02:23 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in: Add a way to statically link rndunix
 
 Sun Jan  3 15:28:44 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* acinclude.m4 (GNUPG_CHECK_RDYNAMIC): New.
 	* configure.in (DYNLOAD_CFLAGS): Use result from CHECK_RDYNAMIC
 
 Wed Dec 23 13:18:14 CET 1998  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* README: Replaced the command overview with a short intro.
 
 Sat Dec 12 18:40:32 CET 1998  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* configure.in: Add check for dlopen in libc (Greg Troxel)
 	and a new define
 	* acconfig.h (DLSYM_NEEDS_UNDERSCORE): New.
 
 Thu Dec 10 20:15:36 CET 1998  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* acinclude.m (GNUPG_CHECK_PIC): New
 	* configure.in, acinclude.m4: Renamed all WK_ to GNUPG_
 
 Tue Dec  8 15:09:29 CET 1998  Werner Koch  <wk@isil.d.shuttle.de>
 
 	* VERSION: Set to 0.4.5
 
 Wed Nov 25 12:38:29 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in (USE_RNDLINUX): New.
 
 Fri Nov 20 19:34:57 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* VERSION: Released 0.4.4
 
 	* configure.in (try_asm_modules): For option --disable-asm
 
 Tue Nov 10 19:32:40 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in (MPI_SFLAGS): New.
 
 Tue Nov 10 13:44:53 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* ABOUT-NLS: New
 	* configure.in (AC_REVISION): New.
 
 Sun Nov  8 18:20:35 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* VERSION: Set to 0.4.3
 
 Sun Oct 25 19:49:37 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* Makefile.am (g10defs.h): New macro GNUPG_DATADIR.
 
 Wed Oct 21 17:24:24 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in: Removed gettext kludge
 	* acinclude.m4: Add patched AM_WITH_NKS macro
 
 Tue Oct 20 19:03:36 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in: Kludge to make AM_GNU_GETTEXT work,
 	changed some macors to more modern versions. Also
 	changeg the all makefiles to remove duplicate ../intl.
 	* acinclude.m4: Removed the gettext stuff, as this
 	already comes with automake now.
 
 Wed Oct 14 12:11:34 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in (NAME_OF_DEV_RANDOM): New.
 	(DYNLINK_MOD_CFLAGS): New.
 
 Thu Oct  8 10:55:15 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* Makefile.am (g10defs.h): creates include file
 	* acconfig.h: now includes g10defs.h
 	* configure.in: Removed G10_LOCALEDIR and GNUPG_LIB
 
 Thu Sep 17 18:49:40 1998  Werner Koch  (wk@(none))
 
 	* Makefile.am (dist-hook): Now creates RPM file.
 	* scripts/gnupg.spec: New template file for RPMs
 
 Thu Jul 30 19:17:07 1998  Werner Koch  (wk@(none))
 
 	* acinclude.h (WK_CHECK_IPC): New
 	* configure.in : Add checks for SysV IPC
 
 Thu Jun 25 11:18:49 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in (--disable-dynload): New.
 
 Wed Jun 10 07:48:59 1998  Werner Koch,mobil,,,	(wk@tobold)
 
 	* configure.in (GNUPG_LIBDIR): New.
 
 Mon May 25 19:10:59 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* rand-unix.c (fast_random_poll): fixed syntax bug.
 
 Mon May 11 10:21:31 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in (PRINTABLE_OS_NAME): Linux is now GNU/Linux
 
 Tue Apr 14 19:08:05 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* [all files]: Applied Matthew Skala's typo and grammar fixes.
 
 Wed Mar  4 10:32:40 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in (getrusage,gettimeofday): New tests.
 
 Fri Feb 27 13:14:17 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in (--disable-m-guard): New.
 
 Thu Feb 26 17:09:27 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in, acinclude.m4, intl/, po/: New macros taken
 	from GNOME, switched to automake 1.2f
 
 Thu Feb 26 09:05:46 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in (doc/Makefile): New
 
 Thu Feb 26 07:40:47 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in: Changed gettext stuff
 
 Wed Feb 25 11:44:10 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* checks/*test : restructured the directory.
 
 Tue Feb 24 15:59:12 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in: Changed the name of the package to GNUPG and
 	chnaged several other names too.
 
 Wed Feb 18 17:36:45 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* Makefile.am (checks): New.
 
 Sat Feb 14 15:37:55 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in (mpi_config_done): Removed asm links caching.
 
 Sat Feb 14 14:02:20 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in (PRINTABLE_OS_NAME): New.
 	* acconfig.h: Likewise.
 
 Fri Feb 13 19:43:41 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
 	* configure.in : Fixed zlib stuff
 	* Makefile.am: Likewise
 
 	
  Copyright 1998,1999,2000,2001,2002,2003 Free Software Foundation, Inc.
 
  This file is free software; as a special exception the author gives
  unlimited permission to copy and/or distribute it, with or without
  modifications, as long as this notice is preserved.
 
  This file is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 		
diff --git a/NEWS b/NEWS
index 1da7bf6f..46deb471 100644
--- a/NEWS
+++ b/NEWS
@@ -1,296 +1,296 @@
-Noteworthy changes in version 1.1.43 (unreleased)
+Noteworthy changes in version 1.1.43 (2003-09-04)
 -------------------------------------------------
 
- * Bug fixes and internal code cleanups
+ * Bug fixes and internal code cleanups.
 
  * Support for the Serpent cipher algorithm.
 
  * Interface changes relative to the 1.1.42 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gcry_prime_generate             NEW
 gcry_prime_check                NEW
 
 
 Noteworthy changes in version 1.1.42 (2003-07-31)
 -------------------------------------------------
 
  * Major API cleanup.  Applications need to be converted to the new
    API.  See README.apichanges for hints on how to do that.  Backward
    compatibility is provided where it was possible without too much
    effort and did not collide with the overall sanitization effort.
    However, this is only for ease of transition.  NO DEPRECATED
    FUNCTION OR DATA TYPE IS CONSIDERED A PART OF THE API OR ABI AND
    WILL BE DROPPED IN THE FUTURE WITHOUT CHANGING THE SONAME OF THE
    LIBRARY. 
 
  * If gcrypt.h is included in sources compiled by GCC 3.1 or later,
    deprecated attributes will warn about use of obsolete functions and
    type definitions.  You can suppress these warnings by passing
    -Wno-deprecated-declarations to the gcc command.
 
  * gcry_check_version must be called from now on to initialize the
    library, it is not longer optional.
 
  * Removed `libgcrypt errno' concept.
 
  * Libgcrypt depends on libgpg-error, a library that provides error
    codes and according functions for all GnuPG components.  Functions
    that used to return error codes asa `int' have been changed to
    return a code of type `gcry_error_t'.  All GCRYERR_* error symbols
    have been removed, since they are now contained in libgpg-error
    (GPG_ERR_*). All functions and types in libgpg-error have also been
    wrapped in Libgcrypt. The new types are gcry_err_code_t and
    gcry_err_source_t.  The new functions are gcry_err_code,
    gcry_err_source, gcry_error, gcry_err_make, gcry_error_from_errno,
    gcry_err_make_from_errno, gcry_err_code_from_errno,
    gcry_err_code_to_errno, gcry_strsource.
 
  * New function gcry_mpi_dump to help in debugging. 
 
  * Added alternative interface for asymmetric cryptography.
 
  * CRC-32, CRC-32 a'la RFC 1510, CRC-24 a'la RFC 2440 are now
    supported.
 
  * SHA-256, SHA-384 and SHA-512 are now supported.
 
  * 128 bit Twofish is now supported.
 
  * The random module won't print the "not enough random bytes
    available" anymore.  A new progress status is issued instead.
 
  * CBC-MAC for block ciphers is now supported, by using a
    GCRY_CIPHER_CBC_MAC cipher flag.
 
  * CTR mode for block ciphers is now supported.
 
  * The public RSA exponent can now be specified in key generation. 
 
  * RSA blinding is now supported and is used automatically for RSA
    decryption.  It can be explicitely disabled by using the
    `no-blinding' symbol in the `flags' S-Expression or by using the
    GCRY_AC_FLAG_DATA_NO_BLINDING flag when using the ac interface.
 
  * gcry_sexp_canon_len does not use a `historically encoded' error
    code anymore.
 
 
  * Interface changes relative to the 1.1.12 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GCRY_MPI			DEPRECATED; Use: gcry_mpi_t
 GcryMPI				DEPRECATED; Use: gcry_mpi_t
 GCRY_SEXP			DEPRECATED; Use: gcry_sexp_t
 GcrySexp			DEPRECATED; Use: gcry_sexp_t
 GCRY_CIPHER_HD			DEPRECATED; Use: gcry_cipher_hd_t
 GcryCipherHd			DEPRECATED; Use: gcry_cipher_hd_t
 GCRY_MD_HD			DEPRECATED; Use: gcry_md_hd_t
 GcryMDHd			DEPRECATED; Use: gcry_md_hd_t
 gcry_error_t			NEW
 gcry_err_code_t			NEW
 gcry_err_source_t		NEW
 gcry_err_make			NEW
 gcry_error			NEW
 gcry_err_code			NEW
 gcry_err_source			NEW
 gcry_err_code_from_errno	NEW
 gcry_err_code_to_errno		NEW
 gcry_err_make_from_errno	NEW
 gcry_error_from_errno		NEW
 gcry_strsource			NEW
 GCRYERR_{some error code}	REMOVED; Use GPG_ERR_*
                                          from libgpg-error instead.
 gcry_errno                      REMOVED
 gcry_sexp_canon_len		CHANGED
 gcry_sexp_build_array		NEW
 gcry_mpi_scan			CHANGED: New argument to separate in/out args.
 gcry_mpi_print			CHANGED: Ditto.
 gcry_mpi_dump			NEW
 gcry_cipher_open		CHANGED
 gcry_cipher_reset		NEW
 gcry_cipher_register		NEW
 gcry_cipher_unregister		NEW
 gcry_cipher_list		NEW
 gcry_cipher_algo_keylen		REPLACED macro with function.
 gcry_cipher_algo_blklen		REPLACED macro with function.
 gcry_pk_register		NEW
 gcry_pk_unregister		NEW
 gcry_pk_list			NEW
 gcry_pk_decrypt			ENHANCED: Allows flag to return
                                           complete S-expression.
 gcry_md_open			CHANGED
 gcry_md_copy			CHANGED
 gcry_md_is_enabled		NEW
 gcry_md_is_secure		NEW
 gcry_md_register		NEW
 gcry_md_unregister		NEW
 gcry_md_list			NEW
 gcry_ac_data_t			NEW
 gcry_ac_key_t			NEW
 gcry_ac_key_pair_t		NEW
 gcry_ac_handle_t		NEW
 gcry_ac_key_spec_rsa_t		NEW
 gcry_ac_data_new		NEW
 gcry_ac_data_destroy		NEW
 gcry_ac_data_set		NEW
 gcry_ac_data_copy		NEW
 gcry_ac_data_length		NEW
 gcry_ac_data_get_name		NEW
 gcry_ac_data_get_index		NEW
 gcry_ac_data_clear		NEW
 gcry_ac_open			NEW
 gcry_ac_close			NEW
 gcry_ac_key_init		NEW
 gcry_ac_key_pair_generate	NEW
 gcry_ac_key_pair_extract	NEW
 gcry_ac_key_data_get		NEW
 gcry_ac_key_test		NEW
 gcry_ac_key_get_nbits		NEW
 gcry_ac_key_get_grip		NEW
 gcry_ac_key_destroy		NEW
 gcry_ac_key_pair_destroy	NEW
 gcry_ac_data_encrypt		NEW
 gcry_ac_data_decrypt		NEW
 gcry_ac_data_sign		NEW
 gcry_ac_data_verify		NEW
 gcry_ac_id_to_name		NEW
 gcry_ac_name_to_id		NEW
 gcry_handler_progress_t		NEW
 gcry_handler_alloc_t		NEW
 gcry_handler_secure_check_t	NEW
 gcry_handle_realloc_t		NEW
 gcry_handler_free_t		NEW
 gcry_handler_no_mem_t		NEW
 gcry_handler_error_t		NEW
 gcry_handler_log_t		NEW
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 Noteworthy changes in version 1.1.12 (2003-01-20)
 -------------------------------------------------
 
  * gcry_pk_sign, gcry_pk_verify and gcry_pk_encrypt can now handle an
    optional pkcs1 flags parameter in the S-expression.  A similar flag
    may be passed to gcry_pk_decrypt but it is only syntactically
    implemented.
 
  * New convenience macro gcry_md_get_asnoid.
 
  * There is now some real stuff in the manual.
 
 
 Noteworthy changes in version 1.1.11 (2002-12-21)
 -------------------------------------------------
 
  * Don't export internal symbols anymore (currently only for GNU systems)
 
  * New algorithm: MD4
 
  * Implemented ciphertext stealing.
 
  * Smaller bugs fixes and a few new OIDs.
 
  * Interface changes relative to the 1.1.8 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gcry_cipher_cts                   NEW
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
 Noteworthy changes in version 1.1.10 (2002-09-20)
 -------------------------------------------------
 
  * Fixed shared library builds for i386, PPC and Sparc.
 
  * Added simple benchmark tool.
 
  * Replaced the internal mutexes by code which automatically adapts to
    the used threading library.  Currently Pth and Pthread are
    supported.  For non-ELF systems the GNU toolchain is now required..
 
  * Added untested support to build Windows DLLs.
 
 Noteworthy changes in version 1.1.9 (2002-08-23)
 ------------------------------------------------
 
  * Support for plain old DES.
 
 
 Noteworthy changes in version 1.1.8 (2002-06-25)
 ------------------------------------------------
 
  * Minor cleanups and exported a few new functions.
 
  * Interface changes relative to the 1.1.7 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gcry_mpi_div                      NEW
 gcry_mpi_mod                      NEW
 gcry_mpi_invm                     NEW
 gcry_mpi_swap                     NEW
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 Noteworthy changes in version 1.1.7 (2002-05-21)
 ------------------------------------------------
 
 * Libgcrypt is now distributed under the terms of the GNU Lesser
   General Public License; see the README file for details.    
   
 * It is possible to use libgcrypt w/o intialized secure memory.
 
 * Libgcrypt should now be thread safe after the initialization.
   gcry_control (GCRYCRL_INITIALIZATION_FINISHED,NULL,0) should have
   been called before creating additional threads.
 
  * Interface changes relative to the 1.1.6 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GCRYCTL_DISABLE_INTERNAL_LOCKING  NEW
 GCRYCTL_DISABLE_SECMEM            NEW
 GCRYCTL_INITIALIZATION_FINISHED   NEW
 GCRYCTL_INITIALIZATION_FINISHED_P NEW
 GCRYCTL_ANY_INITIALIZATION_P      NEW
 gcry_strdup                       NEW
 gcry_sexp_create                  NEW
 gcry_sexp_new                     NEW
 gcry_set_progress_handler         NEW
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 Noteworthy changes in version 1.1.6 (2002-02-07)
 ------------------------------------------------
 
   * Enhanced the S-expression conversion functions.
         
 Noteworthy changes in version 1.1.5 (2001-12-18)
 ------------------------------------------------
 
   * gcry_{cipher,md}_map_name are now able to map stringified object IDs.
 
   * New functions gcry_sexp_canon_len and gcry_cipher_mode_from_oid.
 
   * Closed some memory leaks.
 
 
 Noteworthy changes in version 1.1.4 (2001-08-03)
 ------------------------------------------------
 
   * Arcfour does now work.                   
 
   * Some minor fixes.
 
   * Added a first test program
 
   * Migrated to autoconf 2.52.
 
 
 Noteworthy changes in version 1.1.3 (2001-05-31)
 ------------------------------------------------
 
   * First release of Libgcrypt which is a result of splitting GnuPG
     into into libgcrypt and GnuPG.
 
 
-Copyright 2001, 2002 Free Software Foundation, Inc.
+Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
 
 This file is free software; as a special exception the author gives
 unlimited permission to copy and/or distribute it, with or without
 modifications, as long as this notice is preserved.
 
 This file is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/README b/README
index abde09e7..3b858ac1 100644
--- a/README
+++ b/README
@@ -1,128 +1,128 @@
 		    libgcrypt - The GNU crypto library
 		   ------------------------------------
-  			    Version 1.1.42
+  			    Version 1.1.43
 
     Copyright 2000, 2002, 2003 Free Software Foundation, Inc.
 
     This file is free software; as a special exception the author gives
     unlimited permission to copy and/or distribute it, with or without
     modifications, as long as this notice is preserved.
 
     This file is distributed in the hope that it will be useful, but
     WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
     implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 
     THIS IS A DEVELOPMENT VERSION, THE FIRST STABLE VERSION WILL BE 1.2.0.
 
 
     Overview
     --------
 
     Libgcrypt is a general purpose crypto library based on the code
     used in GnuPG.  We can't start with a new version number because
     libgcrypt was part of gnupg 1.1 and some applications already used
     it and tested for the version number. We believe that the API can
     stay as it is, except that new functions may be added in the
     future.
 
     Libgcrypt depends on the library `libgpg-error', which must be
     installed correctly before Libgcrypt is to be built.
 
 
     CVS
     ---
 
     If you are using the CVS version, make sure that you have the
     latest GNU build tools installed and run ./autogen.sh before
     trying to build the library.  Instead of running autogen.sh,
     something like `autoreconf -i --symlink' can be used to prepare
     the tree for building as well.
 
     You also need to enable maintainer mode at configure time with the
     `--enable-maintainer-mode' configure switch; without this switch,
     the documentation can not be build, since the file `version.texi',
     which is needed for building the documentation, will only be
     generated, if maintainer mode is enabled.
 
 
     Mailing List
     ------------
 
     You may want to join the developer's mailing list
     gcrypt-devel@gnupg.org by sending mail with a subject of
     "subscribe" to gcrypt-devel-request@gnupg.org.  An archive of this
     list is available at http://lists.gnupg.org .
 
 
     License
     -------
     
     Most of this library is distributed under the terms of the GNU
     Lesser General Public License (LGPL); see the file COPYING.LIB for
     the actual terms.  However some parts are distributed under the
     GNU General Public License (GPL) so if you configure Libgcrypt to
     include these modules, you have to comply with the conditions of
     the GPL as found in the file COPYING.  The modules under the GPL
     are:
 
       rndunix - Entropy gatherer for Unices without a /dev/random
       rndw32  - Entropy gatherer for MS Windows
 
     The documentation is available under the terms of the GNU Free
     Documentation License; see the file COPYING.DOC for the terms.
 
     This library used to be available under the GPL - this was changed
     with version 1.1.7 with the rationale that there are now many free
     crypto libraries available and many of them come with capabilities
     similar to Libcrypt.  We decided that to foster the use of
     cryptography in Free Software an LGPLed library would make more
     sense because it avoids problems due to license incompatibilities
     between some Free Software licenses and the GPL. 
 
     Please note that in many cases it is better for a library to be
     licensed under the GPL, so that it provides an advantage for free
     software projects.  The Lesser GPL is so named because it does
     less to protect the freedom of the users of the code that it
     covers.  See http://www.gnu.org/philosophy/why-not-lgpl.html for
     more explanation.
 
 
     Configure options 
     -----------------
     Here is a list of configure options which are sometimes useful 
     for installation.
 
      --enable-m-guard
                      Enable the integrated malloc checking code. Please
                      note that this feature does not work on all CPUs
                      (e.g. SunOS 5.7 on UltraSparc-2) and might give
                      you a bus error.
 
      --disable-asm
                      Do not use assembler modules.  It is not possible 
                      to use this on some CPU types.
                     
      --enable-ld-version-script
                      Libgcrypt tries to build a library where internal
                      symbols are not exported.  This requires support
                      from ld and is currently enabled for a few OSes.
                      If you know that your ld supports the so called
                      ELF version scripts, you can use this option to
                      force its use.  OTOH, if you get error message
                      from the linker, you probably want to use this
                      option to disable the use of version scripts.
                      Note, that you should never ever use an
                      undocumented symbol or one which is prefixed with
                      an underscore.
 
      --enable-ciphers=list
      --enable-pubkey-ciphers=list
      --enable-digests=list
                      If not otherwise specified, all algorithms
                      included in the libgcrypt source tree are built.
 		     An exception are algorithms, which depend on
 		     features not provided by the system, like 64bit
 		     data types.  With these switches it is possible
                      to select exactly those algorithm modules, which
 		     should be built.
diff --git a/configure.ac b/configure.ac
index bb676b4d..cab34195 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,820 +1,820 @@
 # Configure.ac script for Libgcrypt
 # Copyright (C) 1998, 1999, 2000, 2001, 2002
 #               2003 Free Software Foundation, Inc.
 #
 # This file is part of Libgcrypt.
 #
 # Libgcrypt is free software; you can redistribute it and/or modify
 # it under the terms of the GNU Lesser general Public License as
 # published by the Free Software Foundation; either version 2.1 of
 # the License, or (at your option) any later version.
 #
 # Libgcrypt is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU Lesser General Public License for more details.
 #
 # You should have received a copy of the GNU Lesser General Public
 # License along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 #
 # (Process this file with autoconf to produce a configure script.)
 AC_REVISION($Revision$)
 AC_PREREQ(2.52)
 
 # Version number: Remember to change it immediately *after* a release
 # but remove a "-cvs" prefix right *before* a release and append it
 # soon later.
 
-AC_INIT(libgcrypt, 1.1.43-cvs, bug-libgcrypt@gnupg.org)
+AC_INIT(libgcrypt, 1.1.43, bug-libgcrypt@gnupg.org)
 
 # LT Version numbers, remember to change them just *before* a release.
 #   (Interfaces removed:    CURRENT++, AGE=0, REVISION=0)
 #   (Interfaces added:      CURRENT++, AGE++, REVISION=0)
 #   (No interfaces changed:                   REVISION++)
-LIBGCRYPT_LT_CURRENT=7
-LIBGCRYPT_LT_AGE=0
+LIBGCRYPT_LT_CURRENT=8
+LIBGCRYPT_LT_AGE=1
 LIBGCRYPT_LT_REVISION=0
 
 NEED_GPG_ERROR_VERSION=0.4
 
 
 PACKAGE=$PACKAGE_NAME
 VERSION=$PACKAGE_VERSION
 
 AC_CONFIG_SRCDIR([src/gcrypt.h])
 AC_CONFIG_AUX_DIR(scripts)
 AC_CANONICAL_TARGET()
 AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
 AM_CONFIG_HEADER(config.h)
 AM_MAINTAINER_MODE
 
 AH_TOP([
 /* need this, because some autoconf tests rely on this (e.g. stpcpy)
  * and it should be used for new programs  */
 #define _GNU_SOURCE  1
 ])
 
 AH_BOTTOM([
 #include "gcrypt-defs.h"
 #define _GCRYPT_IN_LIBGCRYPT 1
 ])
 
 AH_VERBATIM([_REENTRANT],
 [/* To allow the use of Libgcrypt in multithreaded programs we have to use
     special features from the library. */
 #ifndef _REENTRANT
 # define _REENTRANT 1
 #endif
 ])
 
 AC_SUBST(LIBGCRYPT_LT_CURRENT)
 AC_SUBST(LIBGCRYPT_LT_AGE)
 AC_SUBST(LIBGCRYPT_LT_REVISION)
 AC_SUBST(PACKAGE)
 AC_SUBST(VERSION)
 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of this package])
 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version of this package])
 
 ##########################
 ## General definitions. ##
 ##########################
 
 # Used by libgcrypt-config
 LIBGCRYPT_CONFIG_LIBS="-lgcrypt"
 LIBGCRYPT_CONFIG_CFLAGS=""
 LIBGCRYPT_CONFIG_LIBS_PTHREAD="-lgcrypt-pthread"
 LIBGCRYPT_CONFIG_CFLAGS_PTHREAD=""
 LIBGCRYPT_CONFIG_LIBS_PTH="-lgcrypt-pth"
 LIBGCRYPT_CONFIG_CFLAGS_PTH=""
 
 # Definitions for symmetric ciphers.
 available_ciphers="arcfour blowfish cast5 des aes twofish serpent"
 enabled_ciphers=""
 
 # Definitions for public-key ciphers.
 available_pubkey_ciphers="dsa elgamal rsa"
 enabled_pubkey_ciphers=""
 
 # Definitions for message digests.
 available_digests="crc md4 md5 rmd160 sha1 sha256"
 available_digests_64="sha512 tiger"
 enabled_digests=""
 
 # Definitions for random modules.
 available_random_modules="linux egd unix"
 auto_random_modules="$available_random_modules"
 
 # Supported thread backends.
 LIBGCRYPT_THREAD_MODULES=""
 
 # Other definitions.
 print_egd_notice=no
 
 # Setup some stuff depending on host/target.
 case "${target}" in
     *-*-mingw32*)
       available_random_modules="w32"
       ac_cv_have_dev_random=no
       AC_DEFINE(USE_ONLY_8DOT3,1,
                 [set this to limit filenames to the 8.3 format])
       AC_DEFINE(HAVE_DRIVE_LETTERS,1,
                 [defined if we must run on a stupid file system])
       AC_DEFINE(HAVE_DOSISH_SYSTEM,1,
                 [defined if we run on some of the PCDOS like systems 
                  (DOS, Windoze. OS/2) with special properties like
                   no file modes])
       ;;
 
     i?86-emx-os2 | i?86-*-os2*emx)
         # OS/2 with the EMX environment
         ac_cv_have_dev_random=no
         AC_DEFINE(HAVE_DRIVE_LETTERS)
         AC_DEFINE(HAVE_DOSISH_SYSTEM)
         ;;
 
     i?86-*-msdosdjgpp*)
         # DOS with the DJGPP environment
         ac_cv_have_dev_random=no
         AC_DEFINE(HAVE_DRIVE_LETTERS)
         AC_DEFINE(HAVE_DOSISH_SYSTEM)
         ;;
 
     *-*-freebsd*)
        # FreeBSD
        CPPFLAGS="$CPPFLAGS -I/usr/local/include"
        LDFLAGS="$LDFLAGS -L/usr/local/lib"
        ;;
 
     *-*-hpux*)
         if test -z "$GCC" ; then
             CFLAGS="$CFLAGS -Ae -D_HPUX_SOURCE"
         fi
         ;;
     *-dec-osf4*)
         if test -z "$GCC" ; then
             # Suppress all warnings
             # to get rid of the unsigned/signed char mismatch warnings.
             CFLAGS="$CFLAGS -w"
         fi
         ;;
     m68k-atari-mint)
         ;;
     *)
       ;;
 esac
 
 # For now we hardcode the use of version scripts.  It would be better
 # to write a text for this or even implement this within libtool
 have_ld_version_script=no
 case "${target}" in
     *-*-mingw32*)
         PRINTABLE_OS_NAME="MingW32"
         ;;
 
     i?86-emx-os2 | i?86-*-os2*emx )
         PRINTABLE_OS_NAME="OS/2"
         ;;
 
     i?86-*-msdosdjgpp*)
         PRINTABLE_OS_NAME="MSDOS/DJGPP"
         ;;
 
     *-linux*)
         PRINTABLE_OS_NAME="GNU/Linux"
         have_ld_version_script=yes
         ;;
 
 # let that after linux to avoid gnu-linux problems
     *-gnu*)
         PRINTABLE_OS_NAME="GNU/Hurd"
         have_ld_version_script=yes
         ;;
 
     *)
         PRINTABLE_OS_NAME=`uname -s || echo "Unknown"`
         ;;
 esac
 
 case "${target}" in
     *-openbsd* | *-netbsd*)
         # FIXME: Are these the best flags for OpenBSD?
         NAME_OF_DEV_RANDOM="/dev/srandom"
         NAME_OF_DEV_URANDOM="/dev/urandom"
 #       DYNLINK_MOD_CFLAGS="-shared -rdynamic $CFLAGS_PIC -Wl,-Bshareable -Wl,-x"
         ;;
 
     *-solaris* | *-irix* | *-dec-osf* )
         NAME_OF_DEV_RANDOM="/dev/random"
         NAME_OF_DEV_URANDOM="/dev/random"
 #       DYNLINK_MOD_CFLAGS="-shared $CFLAGS_PIC"
         ;;
 
     *)
         NAME_OF_DEV_RANDOM="/dev/random"
         NAME_OF_DEV_URANDOM="/dev/urandom"
         # -shared is a gcc-ism.  Find pic flags from GNUPG_CHECK_PIC.
 #        if test -n "$GCC" ; then
 #           DYNLINK_MOD_CFLAGS="-shared $CFLAGS_PIC"                            
 #        else
 #           DYNLINK_MOD_CFLAGS="$CFLAGS_PIC"
 #        fi
         ;;
 esac
 
 
 AC_C_BIGENDIAN
 
 AC_CHECK_SIZEOF(unsigned short, 2)
 AC_CHECK_SIZEOF(unsigned int, 4)
 AC_CHECK_SIZEOF(unsigned long, 4)
 AC_CHECK_SIZEOF(unsigned long long, 0)
 
 if test "$ac_cv_sizeof_unsigned_short" = "0" \
    || test "$ac_cv_sizeof_unsigned_int" = "0" \
    || test "$ac_cv_sizeof_unsigned_long" = "0"; then
     AC_MSG_WARN([Hmmm, something is wrong with the sizes - using defaults]);
 fi
 
 # Do we have any 64-bit data types?
 if test "$ac_cv_sizeof_unsigned_int" != "8" \
    && test "$ac_cv_sizeof_unsigned_long" != "8" \
    && test "$ac_cv_sizeof_unsigned_long_long" != "8" \
    && test "$ac_cv_sizeof_uint64_t" != "8"; then
     AC_MSG_WARN([No 64-bit types.  Disabling TIGER/192, SHA-384, and SHA-512])
 else
   available_digests="$available_digests $available_digests_64"
 fi
 
 # If not specified otherwise, all available algorithms will be
 # included.
 default_ciphers="$available_ciphers"
 default_pubkey_ciphers="$available_pubkey_ciphers"
 default_digests="$available_digests"
 
 ############################
 ## Command line switches. ##
 ############################
 
 # Implementation of the --enable-ciphers switch.
 AC_ARG_ENABLE(ciphers,
 	      AC_HELP_STRING([--enable-ciphers=ciphers],
 			     [select the symmetric ciphers to include]),
 	      [enabled_ciphers=$(echo $enableval | tr , ' ' | tr '[A-Z]' '[a-z]')],
 	      [enabled_ciphers=""])
 if test "x$enabled_ciphers" = "x" \
    -o "$enabled_ciphers" = "yes"  \
    -o "$enabled_ciphers" = "no"; then
    enabled_ciphers=$default_ciphers
 fi
 AC_MSG_CHECKING([which symmetric ciphers to include])
 for cipher in $enabled_ciphers; do
     LIST_MEMBER($cipher, $available_ciphers)
     if test "$found" = "0"; then
        AC_MSG_ERROR([unsupported cipher specified])
     fi
 done
 AC_MSG_RESULT([$enabled_ciphers])
 
 # Implementation of the --enable-pubkey-ciphers switch.
 AC_ARG_ENABLE(pubkey-ciphers,
 	      AC_HELP_STRING([--enable-pubkey-ciphers=ciphers],
 			     [select the public-key ciphers to include]),
 	      [enabled_pubkey_ciphers=$(echo $enableval | tr , ' ' | tr '[A-Z]' '[a-z]')],
 	      [enabled_pubkey_ciphers=""])
 if test "x$enabled_pubkey_ciphers" = "x" \
    -o "$enabled_pubkey_ciphers" = "yes"  \
    -o "$enabled_pubkey_ciphers" = "no"; then
    enabled_pubkey_ciphers=$default_pubkey_ciphers
 fi
 AC_MSG_CHECKING([which public-key ciphers to include])
 for cipher in $enabled_pubkey_ciphers; do
     LIST_MEMBER($cipher, $available_pubkey_ciphers)
     if test "$found" = "0"; then
        AC_MSG_ERROR([unsupported public-key cipher specified])
     fi
 done
 AC_MSG_RESULT([$enabled_pubkey_ciphers])
 
 # Implementation of the --enable-digests switch.
 AC_ARG_ENABLE(digests,
 	      AC_HELP_STRING([--enable-digests=digests],
 			     [select the message digests to include]),
 	      [enabled_digests=$(echo $enableval | tr , ' ' | tr '[A-Z]' '[a-z]')],
 	      [enabled_digests=""])
 if test "x$enabled_digests" = "x" \
    -o "$enabled_digests" = "yes"  \
    -o "$enabled_digests" = "no"; then
    enabled_digests=$default_digests
 fi
 AC_MSG_CHECKING([which message digests to include])
 for digest in $enabled_digests; do
     LIST_MEMBER($digest, $available_digests)
     if test "$found" = "0"; then
        AC_MSG_ERROR([unsupported message digest specified])
     fi
 done
 AC_MSG_RESULT([$enabled_digests])
 
 # Implementation of the --enable-random switch.
 AC_ARG_ENABLE(random,
 	      AC_HELP_STRING([--enable-random=name],
 	                     [select which random number generator to use]),
 	      [random=$(echo $enableval | tr '[A-Z]' '[a-z]')],
 	      [])
 if test "x$random" = "x" -o "$random" = "yes" -o "$random" = "no"; then
     random=default
 fi
 AC_MSG_CHECKING([which random module to use])
 if test "$random" != "default" -a "$random" != "auto"; then
     LIST_MEMBER($random, $available_random_modules)
     if test "$found" = "0"; then
        AC_MSG_ERROR([unsupported random module specified])
     fi
 fi
 AC_MSG_RESULT($random)
 
 # Implementation of the --disable-dev-random switch.
 AC_MSG_CHECKING([whether use of /dev/random is requested])
 AC_ARG_ENABLE(dev-random,
 [  --disable-dev-random    disable the use of dev random],
     try_dev_random=$enableval, try_dev_random=yes)
 AC_MSG_RESULT($try_dev_random)
 
 # Implementation of the --with-egd-socket switch.
 AC_ARG_WITH(egd-socket,
     [  --with-egd-socket=NAME  Use NAME for the EGD socket)],
             egd_socket_name="$withval", egd_socket_name="" )
 AC_DEFINE_UNQUOTED(EGD_SOCKET_NAME, "$egd_socket_name",
                    [Define if you don't want the default EGD socket name.
                     For details see cipher/rndegd.c])
 
 # Implementation of --disable-asm.
 AC_MSG_CHECKING([whether assembler modules are requested])
 AC_ARG_ENABLE([asm],
               AC_HELP_STRING([--disable-asm],
 	                     [Disable assembler modules]),
               [try_asm_modules=$enableval],
               [try_asm_modules=yes])
 AC_MSG_RESULT($try_asm_modules)
 
 # Implementation of the --enable-m-guard switch.
 AC_MSG_CHECKING([whether memory guard is requested])
 AC_ARG_ENABLE(m-guard,
     [  --enable-m-guard        enable memory guard facility],
     use_m_guard=$enableval, use_m_guard=no)
     AC_MSG_RESULT($use_m_guard)
 if test "$use_m_guard" = yes ; then
     AC_DEFINE(M_GUARD,1,[Define to use the (obsolete) malloc guarding feature])
 fi
 
 # Implementation of the --with-capabilities switch.
 # Check whether we want to use Linux capabilities
 AC_MSG_CHECKING([whether use of capabilities is requested])
 AC_ARG_WITH(capabilities,
     [  --with-capabilities     use linux capabilities [default=no]],
 [use_capabilities="$withval"],[use_capabilities=no])
 AC_MSG_RESULT($use_capabilities)
 
 ##############################
 #### Checks for programs. ####
 ##############################
 
 AC_PROG_MAKE_SET
 missing_dir=`cd $ac_aux_dir && pwd`
 AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
 AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
 AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
 AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
 # AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
 AC_PROG_CC
 AC_PROG_CPP
 AM_PROG_AS
 AC_ISC_POSIX
 AC_PROG_INSTALL
 AC_PROG_AWK
 
 AM_PROG_LIBTOOL
 
 AC_DEFINE_UNQUOTED(PRINTABLE_OS_NAME, "$PRINTABLE_OS_NAME",
                    [A human readable text with the name of the OS])
 AC_ARG_ENABLE([ld-version-script],
               AC_HELP_STRING([--enable-ld-version-script],
                              [enable/disable use of linker version script.
                               (default is system dependent)]),
               [have_ld_version_script=$enableval],
               [ : ] )
 AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$have_ld_version_script" = "yes")
 
 AC_DEFINE_UNQUOTED(NAME_OF_DEV_RANDOM, "$NAME_OF_DEV_RANDOM",
                    [defined to the name of the strong random device])
 AC_DEFINE_UNQUOTED(NAME_OF_DEV_URANDOM, "$NAME_OF_DEV_URANDOM",
                    [defined to the name of the weaker random device])
 
 ###############################
 #### Checks for libraries. ####
 ###############################
 
 AM_PATH_GPG_ERROR("$NEED_GPG_ERROR_VERSION")
 if test "x$GPG_ERROR_LIBS" = "x"; then
   AC_MSG_ERROR([libgpg-error is needed])
 fi
 
 AC_DEFINE(GPG_ERR_SOURCE_DEFAULT, GPG_ERR_SOURCE_GCRYPT,
           [The default error source for libgcrypt.])
 
 # Solaris needs -lsocket and -lnsl. Unisys system includes
 # gethostbyname in libsocket but needs libnsl for socket.
 AC_CHECK_LIB(nsl, gethostbyname)
 AC_CHECK_LIB(socket, socket, ac_need_libsocket=1, ac_try_nsl=1)
 if test x$ac_need_libsocket = x1; then
     LIBS="$LIBS -lsocket"
 fi
 if test x$ac_try_nsl = x1; then
     AC_CHECK_LIB(nsl, gethostbyname, ac_need_libnsl=1)
     if test x$ac_need_libnsl = x1
     then
         LIBS="$LIBS -lnsl"
     fi
 fi
 
 ##################################
 #### Checks for header files. ####
 ##################################
 
 AC_HEADER_STDC
 AC_CHECK_HEADERS(unistd.h sys/select.h)
 
 ##########################################
 #### Checks for typedefs, structures, ####
 ####  and compiler characteristics.   ####
 ##########################################
 
 AC_C_CONST
 AC_C_INLINE
 AC_TYPE_SIZE_T
 AC_TYPE_SIGNAL
 AC_DECL_SYS_SIGLIST
 
 GNUPG_CHECK_TYPEDEF(byte, HAVE_BYTE_TYPEDEF)
 GNUPG_CHECK_TYPEDEF(ushort, HAVE_USHORT_TYPEDEF)
 GNUPG_CHECK_TYPEDEF(ulong, HAVE_ULONG_TYPEDEF)
 GNUPG_CHECK_TYPEDEF(u16, HAVE_U16_TYPEDEF)
 GNUPG_CHECK_TYPEDEF(u32, HAVE_U32_TYPEDEF)
 
 #######################################
 #### Checks for library functions. ####
 #######################################
 
 AC_FUNC_VPRINTF
 # We have replacements for these in src/missing-string.c
 AC_CHECK_FUNCS(stpcpy strcasecmp)
 # We have replacements for these in src/g10lib.h
 AC_CHECK_FUNCS(strtoul memmove stricmp atexit raise)
 # Other checks
 AC_CHECK_FUNCS(strerror rand mmap getpagesize waitpid wait4)
 AC_CHECK_FUNCS(gettimeofday getrusage gethrtime clock_gettime)
 
 GNUPG_CHECK_MLOCK
 
 # Check which thread libraries are supported by the system.
 have_pth=no
 have_pthread=no
 
 AC_CHECK_LIB(pth,pth_version,have_pth=yes)
 if test "$have_pth" = yes; then
   LIBGCRYPT_CONFIG_LIBS_PTH="$LIBGCRYPT_CONFIG_LIBS_PTH -lpth"
   LIBGCRYPT_THREAD_MODULES="$LIBGCRYPT_THREAD_MODULES pth"
   AC_DEFINE(HAVE_PTH, ,[Define if we have Pth.])
 fi
 
 AC_CHECK_LIB(pthread,pthread_create,have_pthread=yes)
 if test "$have_pthread" = yes; then
   LIBGCRYPT_CONFIG_LIBS_PTHREAD="$LIBGCRYPT_CONFIG_LIBS_PTHREAD -lpthread"
 else
   AC_CHECK_LIB(c,pthread_create,have_pthread=yes)
 fi
 if test "$have_pthread" = yes; then
   LIBGCRYPT_THREAD_MODULES="$LIBGCRYPT_THREAD_MODULES pthread"
   AC_DEFINE(HAVE_PTHREAD, ,[Define if we have pthread.])
 fi
 
 AM_CONDITIONAL(HAVE_PTH, test "$have_pth" = "yes")
 AM_CONDITIONAL(HAVE_PTHREAD, test "$have_pthread" = "yes")
 
 # Check whether we can use Linux capabilities as requested.
 if test "$use_capabilities" = "yes" ; then
 use_capabilities=no
 AC_CHECK_HEADERS(sys/capability.h)
 if test "$ac_cv_header_sys_capability_h" = "yes" ; then
   AC_CHECK_LIB(cap, cap_init, ac_need_libcap=1)
   if test "$ac_cv_lib_cap_cap_init" = "yes"; then
      AC_DEFINE(USE_CAPABILITIES,1,
                [define if capabilities should be used])
      LIBS="$LIBS -lcap"
      use_capabilities=yes
   fi
 fi
 if test "$use_capabilities" = "no" ; then
     AC_MSG_WARN([[
 ***
 *** The use of capabilities on this system is not possible.
 *** You need a recent Linux kernel and some patches:
 ***   fcaps-2.2.9-990610.patch      (kernel patch for 2.2.9)
 ***   fcap-module-990613.tar.gz     (kernel module)
 ***   libcap-1.92.tar.gz            (user mode library and utilities)
 *** And you have to configure the kernel with CONFIG_VFS_CAP_PLUGIN
 *** set (filesystems menu). Be warned: This code is *really* ALPHA.
 ***]])
 fi
 fi
 
 # Check whether a random device is available.
 if test "$try_dev_random" = yes ; then
     AC_CACHE_CHECK(for random device, ac_cv_have_dev_random,
     [if test -r "$NAME_OF_DEV_RANDOM" && test -r "$NAME_OF_DEV_URANDOM" ; then
       ac_cv_have_dev_random=yes; else ac_cv_have_dev_random=no; fi])
     if test "$ac_cv_have_dev_random" = yes; then
         AC_DEFINE(HAVE_DEV_RANDOM,1,
                  [defined if the system supports a random device] )
     fi
 else
     AC_MSG_CHECKING(for random device)
     ac_cv_have_dev_random=no
     AC_MSG_RESULT(has been disabled)
 fi
 
 # Figure out the random modules for this configuration.
 if test "$random" = "default"; then
 
     # Select default value.
     if test "$ac_cv_have_dev_random" = yes; then
         # Try Linuxish random device.
         random_modules="linux"
     else
         case "${target}" in
         *-*-mingw32*|*-*-cygwin*)
           # Windows random device.
           random_modules="w32"
           ;;
         *)
           # Build everything, allow to select at runtime.
           random_modules="$auto_random_modules"
           ;;
         esac    
     fi
 else
     if test "$random" = "auto"; then
         # Build everything, allow to select at runtime.
         random_modules="$auto_random_modules"
     fi
 fi
 
 
 #
 # Setup assembler stuff.
 #
 GNUPG_SYS_SYMBOL_UNDERSCORE()
 AC_MSG_CHECKING(for mpi assembler functions)
 if test -f $srcdir/mpi/config.links ; then
     . $srcdir/mpi/config.links
     AC_CONFIG_LINKS("$mpi_ln_list")
     ac_cv_mpi_mod_list="$mpi_mod_list"
     ac_cv_mpi_sflags="$mpi_sflags"
     ac_cv_mpi_config_done="yes"
     AC_MSG_RESULT(done)
 else
     AC_MSG_RESULT(failed)
     AC_MSG_ERROR([mpi/config.links missing!])
 fi
 MPI_MOD_LIST_LO=""
 MPI_MOD_LIST_O=""
 if test "$ac_cv_mpi_mod_list" != ""; then
   for i in $ac_cv_mpi_mod_list; do
       MPI_MOD_LIST_LO="$MPI_MOD_LIST_LO $i.lo"
       MPI_MOD_LIST_O="$MPI_MOD_LIST_O $i.o"
   done
 fi
 AC_SUBST(MPI_MOD_LIST_LO)
 AC_SUBST(MPI_MOD_LIST_O)
 MPI_SFLAGS="$ac_cv_mpi_sflags"
 AC_SUBST(MPI_SFLAGS)
 
 # Allow users to append something to the version string without
 # flagging it as development version.  The user version part is
 # considered everything after a dash.
 changequote(,)#
 tmp_pat='[a-zA-Z]'
 changequote([,])#
 if echo "$VERSION" | sed 's/-.*//' | grep "$tmp_pat" >/dev/null ; then
     AC_DEFINE(IS_DEVELOPMENT_VERSION,1,
               [Defined if this is not a regular release])
 fi
 
 AM_CONDITIONAL(CROSS_COMPILING, test x$cross_compiling = xyes)
 
 GNUPG_CHECK_GNUMAKE
 
 if test "$GCC" = yes; then
     if test "$MAINTAINER_MODE" = "yes"; then
         CFLAGS="$CFLAGS -Wall -Wcast-align -Wshadow -Wstrict-prototypes"
     else
         CFLAGS="$CFLAGS -Wall"
     fi
 fi
 
 #
 # Make the version number in src/gcrypt.h the same as the one here.
 # (this is easier than to have a *.in file just for one substitution)
 #
 GNUPG_FIX_HDR_VERSION([src/gcrypt.h], GCRYPT_VERSION)
 
 AC_SUBST(LIBGCRYPT_CONFIG_LIBS)
 AC_SUBST(LIBGCRYPT_CONFIG_CFLAGS)
 AC_SUBST(LIBGCRYPT_CONFIG_LIBS_PTHREAD)
 AC_SUBST(LIBGCRYPT_CONFIG_CFLAGS_PTHREAD)
 AC_SUBST(LIBGCRYPT_CONFIG_LIBS_PTH)
 AC_SUBST(LIBGCRYPT_CONFIG_CFLAGS_PTH)
 AC_SUBST(LIBGCRYPT_THREAD_MODULES)
 
 AC_CONFIG_COMMANDS([gcrypt-defs],[[
 chmod +x src/libgcrypt-config
 cat >gcrypt-defs.tmp <<G10EOF
 /* Generated automatically by configure */
 #ifdef HAVE_DRIVE_LETTERS
   #define GNUPG_LOCALEDIR "c:/lib/gnupg/locale"
   #define GNUPG_LIBDIR  "c:/lib/gnupg"
   #define GNUPG_DATADIR "c:/lib/gnupg"
   #define GNUPG_HOMEDIR "c:/gnupg-test"
 #else
   #define GNUPG_LOCALEDIR "${prefix}/${DATADIRNAME}/locale"
   #define GNUPG_LIBDIR  "${libdir}/gnupg"
   #define GNUPG_DATADIR "${datadir}/gnupg"
   #ifdef __VMS
     #define GNUPG_HOMEDIR "/SYS\$LOGIN/gnupg" 
   #else
     #define GNUPG_HOMEDIR "~/.gnupg-test" 
   #endif
 #endif
 G10EOF
 if cmp -s gcrypt-defs.h gcrypt-defs.tmp 2>/dev/null; then
     echo "gcrypt-defs.h is unchanged"
     rm -f gcrypt-defs.tmp
 else
     rm -f gcrypt-defs.h
     mv gcrypt-defs.tmp gcrypt-defs.h
     echo "gcrypt-defs.h created"
 fi
 ]],[[
 prefix=$prefix
 exec_prefix=$exec_prefix
 libdir=$libdir
 datadir=$datadir
 DATADIRNAME=$DATADIRNAME
 ]])
 
 #####################
 #### Conclusion. ####
 #####################
 
 # Define conditional sources and config.h symbols depending on the
 # selected ciphers, pubkey-ciphers, digests and random modules.
 
 LIST_MEMBER(arcfour, $enabled_ciphers)
 test "$found" = "1" && GCRYPT_CIPHERS="$GCRYPT_CIPHERS arcfour.lo"
 AC_DEFINE_UNQUOTED(USE_ARCFOUR, $found, [Defined if this module should be included])
 LIST_MEMBER(blowfish, $enabled_ciphers)
 test "$found" = "1" && GCRYPT_CIPHERS="$GCRYPT_CIPHERS blowfish.lo"
 AC_DEFINE_UNQUOTED(USE_BLOWFISH, $found, [Defined if this module should be included])
 LIST_MEMBER(cast5, $enabled_ciphers)
 test "$found" = "1" && GCRYPT_CIPHERS="$GCRYPT_CIPHERS cast5.lo"
 AC_DEFINE_UNQUOTED(USE_CAST5, $found, [Defined if this module should be included])
 LIST_MEMBER(des, $enabled_ciphers)
 test "$found" = "1" && GCRYPT_CIPHERS="$GCRYPT_CIPHERS des.lo"
 AC_DEFINE_UNQUOTED(USE_DES, $found, [Defined if this module should be included])
 LIST_MEMBER(aes, $enabled_ciphers)
 test "$found" = "1" && GCRYPT_CIPHERS="$GCRYPT_CIPHERS rijndael.lo"
 AC_DEFINE_UNQUOTED(USE_AES, $found, [Defined if this module should be included])
 LIST_MEMBER(twofish, $enabled_ciphers)
 test "$found" = "1" && GCRYPT_CIPHERS="$GCRYPT_CIPHERS twofish.lo"
 AC_DEFINE_UNQUOTED(USE_TWOFISH, $found, [Defined if this module should be included])
 LIST_MEMBER(serpent, $enabled_ciphers)
 test "$found" = "1" && GCRYPT_CIPHERS="$GCRYPT_CIPHERS serpent.lo"
 AC_DEFINE_UNQUOTED(USE_SERPENT, $found, [Defined if this module should be included])
 
 LIST_MEMBER(dsa, $enabled_pubkey_ciphers)
 test "$found" = "1" && GCRYPT_PUBKEY_CIPHERS="$GCRYPT_PUBKEY_CIPHERS dsa.lo"
 AC_DEFINE_UNQUOTED(USE_DSA, $found, [Defined if this module should be included])
 LIST_MEMBER(rsa, $enabled_pubkey_ciphers)
 test "$found" = "1" && GCRYPT_PUBKEY_CIPHERS="$GCRYPT_PUBKEY_CIPHERS rsa.lo"
 AC_DEFINE_UNQUOTED(USE_RSA, $found, [Defined if this module should be included])
 LIST_MEMBER(elgamal, $enabled_pubkey_ciphers)
 test "$found" = "1" && GCRYPT_PUBKEY_CIPHERS="$GCRYPT_PUBKEY_CIPHERS elgamal.lo"
 AC_DEFINE_UNQUOTED(USE_ELGAMAL, $found, [Defined if this module should be included])
 
 LIST_MEMBER(crc, $enabled_digests)
 test "$found" = "1" && GCRYPT_DIGESTS="$GCRYPT_DIGESTS crc.lo"
 AC_DEFINE_UNQUOTED(USE_CRC, $found, [Defined if this module should be included])
 LIST_MEMBER(md4, $enabled_digests)
 test "$found" = "1" && GCRYPT_DIGESTS="$GCRYPT_DIGESTS md4.lo"
 AC_DEFINE_UNQUOTED(USE_MD4, $found, [Defined if this module should be included])
 LIST_MEMBER(md5, $enabled_digests)
 test "$found" = "1" && GCRYPT_DIGESTS="$GCRYPT_DIGESTS md5.lo"
 AC_DEFINE_UNQUOTED(USE_MD5, $found, [Defined if this module should be included])
 LIST_MEMBER(sha1, $enabled_digests)
 test "$found" = "1" && GCRYPT_DIGESTS="$GCRYPT_DIGESTS sha1.lo"
 AC_DEFINE_UNQUOTED(USE_SHA1, $found, [Defined if this module should be included])
 LIST_MEMBER(sha256, $enabled_digests)
 test "$found" = "1" && GCRYPT_DIGESTS="$GCRYPT_DIGESTS sha256.lo"
 AC_DEFINE_UNQUOTED(USE_SHA256, $found, [Defined if this module should be included])
 LIST_MEMBER(sha512, $enabled_digests)
 test "$found" = "1" && GCRYPT_DIGESTS="$GCRYPT_DIGESTS sha512.lo"
 AC_DEFINE_UNQUOTED(USE_SHA512, $found, [Defined if this module should be included])
 LIST_MEMBER(tiger, $enabled_digests)
 test "$found" = "1" && GCRYPT_DIGESTS="$GCRYPT_DIGESTS tiger.lo"
 AC_DEFINE_UNQUOTED(USE_TIGER, $found, [Defined if this module should be included])
 
 # rmd160 should be included always.
 GCRYPT_DIGESTS="$GCRYPT_DIGESTS rmd160.lo"
 AM_CONDITIONAL(USE_RMD160, true)
 AC_DEFINE_UNQUOTED(USE_RMD160, 1, [Defined if this module should be included])
 
 LIST_MEMBER(linux, $random_modules)
 test "$found" = "1" && GCRYPT_RANDOM="$GCRYPT_RANDOM rndlinux.lo"
 AC_DEFINE_UNQUOTED(USE_RNDLINUX, $found, [Defined if the /dev/random based RNG should be used.])
 
 LIST_MEMBER(unix, $random_modules)
 test "$found" = "1" && GCRYPT_RANDOM="$GCRYPT_RANDOM rndunix.lo"
 AC_DEFINE_UNQUOTED(USE_RNDUNIX, $found, [Defined if the default Unix RNG should be used.])
 if test "$found" = "1"; then
    print_egd_notice=yes
 fi
 
 LIST_MEMBER(egd, $random_modules)
 test "$found" = "1" && GCRYPT_RANDOM="$GCRYPT_RANDOM rndegd.lo"
 AC_DEFINE_UNQUOTED(USE_RNDEGD, $found, [Defined if the EGD based RNG should be used.])
 
 LIST_MEMBER(w32, $random_modules)
 test "$found" = "1" && GCRYPT_RANDOM="$GCRYPT_RANDOM rndw32.lo"
 AC_DEFINE_UNQUOTED(USE_RNDW32, $found, [Defined if the Windows specific RNG should be used.])
 
 AC_SUBST([GCRYPT_CIPHERS])
 AC_SUBST([GCRYPT_PUBKEY_CIPHERS])
 AC_SUBST([GCRYPT_DIGESTS])
 AC_SUBST([GCRYPT_RANDOM])
 
 AC_SUBST(LIBGCRYPT_CIPHERS, $enabled_ciphers)
 AC_SUBST(LIBGCRYPT_PUBKEY_CIPHERS, $enabled_pubkey_ciphers)
 AC_SUBST(LIBGCRYPT_DIGESTS, $enabled_digests)
 
 AC_CONFIG_FILES([
 Makefile
 mpi/Makefile
 cipher/Makefile
 doc/Makefile
 src/Makefile
 src/libgcrypt-config
 tests/Makefile
 w32-dll/Makefile
 ])
 AC_OUTPUT
 
 # Give some feedback
 echo
 
 if test "$print_egd_notice" = "yes"; then
 cat <<G10EOF
   
    The performance of the Unix random gatherer module (rndunix) is not
    very good and it does not keep the entropy pool over multiple
    invocations of GnuPG.  The suggested way to overcome this problem is
    to use the
   
                  Entropy Gathering Daemon (EGD)
   
    which provides a entropy source for the whole system.  It is written
    in Perl and available at the GnuPG FTP servers.  To enable EGD you
    should rerun configure with the option "--enable-static-rnd=egd".
    For more information consult the GnuPG webpages:
   
              http://www.gnupg.org/download.html#egd
 
 G10EOF
 fi
 
 warn=""
 for file in "random_modules"; do
   case "$file" in rndunix | rndw32) warn="$warn $file";; esac
 done
 if test -n "$warn"; then
   echo "Please note that you are building a version of Libgcrypt with"
   echo "  $warn"
   echo "included.  These parts are licensed under the GPL and thus the"
   echo "use of this library has to comply with the conditions of the GPL."
 fi
 
 # Give some feedback
 echo   "                Configured for: $PRINTABLE_OS_NAME ($target)"
 echo