[git] GnuPG - branch, master, updated. gnupg-2.1.9-4-g3de5ef7
by NIIBE Yutaka
cvs at cvs.gnupg.org
Wed Oct 14 12:01:13 CEST 2015
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 "The GNU Privacy Guard".
The branch, master has been updated
via 3de5ef759895837fe499cff7fb1fa7798e6d5754 (commit)
from 0b4ebc398cc8aad3f25f84034cd6b129e55f1368 (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 3de5ef759895837fe499cff7fb1fa7798e6d5754
Author: NIIBE Yutaka <gniibe at fsij.org>
Date: Wed Oct 14 18:57:26 2015 +0900
cleanup: Fix confusion between gpg_error_t and gpg_err_code_t.
* dirmngr/crlcache.c (hash_dbfile): Use gpg_error_t for ERR.
* kbx/keybox-update.c (keybox_set_flags): Call
gpg_err_code_from_syserror.
diff --git a/dirmngr/crlcache.c b/dirmngr/crlcache.c
index a0a5104..64836e2 100644
--- a/dirmngr/crlcache.c
+++ b/dirmngr/crlcache.c
@@ -994,7 +994,7 @@ hash_dbfile (const char *fname, unsigned char *md5buffer)
char *buffer;
size_t n;
gcry_md_hd_t md5;
- gpg_err_code_t err;
+ gpg_error_t err;
buffer = xtrymalloc (65536);
fp = buffer? es_fopen (fname, "rb") : NULL;
diff --git a/kbx/keybox-update.c b/kbx/keybox-update.c
index 4b14b2f..2eaae86 100644
--- a/kbx/keybox-update.c
+++ b/kbx/keybox-update.c
@@ -603,7 +603,7 @@ keybox_set_flags (KEYBOX_HANDLE hd, int what, int idx, unsigned int value)
ec = 0;
if (fseeko (fp, off, SEEK_SET))
- ec = gpg_error_from_syserror ();
+ ec = gpg_err_code_from_syserror ();
else
{
unsigned char tmp[4];
-----------------------------------------------------------------------
Summary of changes:
dirmngr/crlcache.c | 2 +-
kbx/keybox-update.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
The GNU Privacy Guard
http://git.gnupg.org
More information about the Gnupg-commits
mailing list