[git] KSBA - branch, master, updated. libksba-1.3.5-4-g3bb0c54

by Andre Heinecke cvs at cvs.gnupg.org
Thu Apr 20 13:55:26 CEST 2017


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 "KSBA is a library to access X.509 certificates and CMS data.".

The branch, master has been updated
       via  3bb0c54fe47eb72e1e7be93de8775b37045de34d (commit)
      from  561d03a008150c201ece22b29c97b24a1f6bf590 (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 3bb0c54fe47eb72e1e7be93de8775b37045de34d
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Thu Apr 20 13:47:33 2017 +0200

    tests: Open testfile in binary mode
    
    * tests/t-crl-parser.c (one_file): Read file in binary mode.
    
    --
    The tests are currently not even compiled for windows but
    this fixes t-crl-parser at least if run manually on windows.

diff --git a/tests/t-crl-parser.c b/tests/t-crl-parser.c
index 9fee61f..4b9e980 100644
--- a/tests/t-crl-parser.c
+++ b/tests/t-crl-parser.c
@@ -113,7 +113,7 @@ one_file (const char *fname)
 #endif
 
   printf ("*** checking `%s' ***\n", fname);
-  fp = fopen (fname, "r");
+  fp = fopen (fname, "rb");
   if (!fp)
     {
       fprintf (stderr, "%s:%d: can't open `%s': %s\n",

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

Summary of changes:
 tests/t-crl-parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
KSBA is a library to access X.509 certificates and CMS data.
http://git.gnupg.org




More information about the Gnupg-commits mailing list