[git] GnuPG - branch, master, updated. gnupg-2.1.15-157-g4644c27

by Andre Heinecke cvs at cvs.gnupg.org
Tue Sep 20 14:02:18 CEST 2016


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  4644c27514f34f5efc555d43672a25088a611a72 (commit)
      from  b9b4ff857034df51e055ceddce567ca97e94e075 (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 4644c27514f34f5efc555d43672a25088a611a72
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Thu Aug 25 18:15:52 2016 +0200

    dirmngr: Open file CRL's in binary mode
    
    * dirmngr/crlcache.c (crl_cache_load): Open file in binary mode.
    
    --
    This fixes conversion bugs with binary CRL's on Windows.
    
    GnuPG-bug-id: issue2448
    Signed-off-by: Andre Heinecke <aheinecke at intevation.de>

diff --git a/dirmngr/crlcache.c b/dirmngr/crlcache.c
index 388754b..94d5f5f 100644
--- a/dirmngr/crlcache.c
+++ b/dirmngr/crlcache.c
@@ -2408,7 +2408,7 @@ crl_cache_load (ctrl_t ctrl, const char *filename)
   estream_t fp;
   ksba_reader_t reader;
 
-  fp = es_fopen (filename, "r");
+  fp = es_fopen (filename, "rb");
   if (!fp)
     {
       err = gpg_error_from_errno (errno);

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

Summary of changes:
 dirmngr/crlcache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list