[Gpg4win-commits] [git] Gpg4win - branch, master, updated. gpg4win-2.2.1-30-gdbbbc9e

by Andre Heinecke cvs at cvs.gnupg.org
Wed Aug 13 16:18:55 CEST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG for Windows".

The branch, master has been updated
       via  dbbbc9ef862625a6e52a6d591cdd3331b13d87a0 (commit)
      from  026df8cb210bf28d42362e891dde8d887ee59367 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit dbbbc9ef862625a6e52a6d591cdd3331b13d87a0
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Wed Aug 13 14:17:09 2014 +0000

    Don't set thread callbacks at all for gcrypt
    
        * patches/dirmngr-1.1.1/dirmngr-pth.patch: Skip threading
        initialization.
    
    --
        This should be no longer needed with gcrypt 1.6.1. As gcrypt
        does use Windows threads now on Windows pth support is no
        longer builtin.

diff --git a/patches/dirmngr-1.1.1/dirmngr-pth.patch b/patches/dirmngr-1.1.1/dirmngr-pth.patch
index bc33829..11c0fcd 100755
--- a/patches/dirmngr-1.1.1/dirmngr-pth.patch
+++ b/patches/dirmngr-1.1.1/dirmngr-pth.patch
@@ -2,20 +2,20 @@
 patch -p0 -l -f $* < $0
 exit $?
 
-Index: src/dirmngr.c
-===================================================================
---- src/dirmngr.c	(revision 348)
-+++ src/dirmngr.c	(working copy)
-@@ -665,8 +665,11 @@
-      the option parsing may need services of the libraries. */
+--- src/dirmngr.c.orig	2014-08-13 13:29:03.609026165 +0000
++++ src/dirmngr.c	2014-08-13 13:30:19.328411198 +0000
+@@ -668,12 +668,14 @@
+      Note that this will also do the pth_init. */
 
-   /* Libgcrypt requires us to register the threading model first.
--     Note that this will also do the pth_init. */
-+     Note that this will also do the pth_init for libgcrypt < 1.6 */
-
-+#if GCRYPT_VERSION_NUMBER >= 0x010600
-+  pth_init ();
-+#endif
    /* Init Libgcrypt. */
++#if GCRYPT_VERSION_NUMBER < 0x010600
    rc = gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pth);
    if (rc)
+     {
+       log_fatal ("can't register GNU Pth with Libgcrypt: %s\n",
+                  gpg_strerror (rc));
+     }
++#endif
+   gcry_control (GCRYCTL_DISABLE_SECMEM, 0);
+   if (!gcry_check_version (NEED_LIBGCRYPT_VERSION) )
+     {

-----------------------------------------------------------------------

Summary of changes:
 patches/dirmngr-1.1.1/dirmngr-pth.patch |   26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
GnuPG for Windows
http://git.gnupg.org



More information about the Gpg4win-commits mailing list