[git] GCRYPT - branch, master, updated. libgcrypt-1.8.1-22-gc594f18

by NIIBE Yutaka cvs at cvs.gnupg.org
Tue Nov 14 01:03:17 CET 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 "The GNU crypto library".

The branch, master has been updated
       via  c594f187bd457b757112adc551ffa4db92962dc1 (commit)
      from  621f5c4e837347308a6b06a8cfbfc47ca9fae69e (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 c594f187bd457b757112adc551ffa4db92962dc1
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Tue Nov 14 09:01:50 2017 +0900

    tests: Add HAVE_MMAP check for MinGW.
    
    * tests/t-secmem.c (main): Conditionalize with HAVE_MMAP.
    
    --
    
    Thanks to: Andreas Metzler <ametzler at bebt.de>
    
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>

diff --git a/tests/t-secmem.c b/tests/t-secmem.c
index ecbc55a..baf013d 100644
--- a/tests/t-secmem.c
+++ b/tests/t-secmem.c
@@ -120,11 +120,13 @@ main (int argc, char **argv)
   long int pgsize_val = -1;
   size_t pgsize;
 
+#if HAVE_MMAP
 # if defined(HAVE_SYSCONF) && defined(_SC_PAGESIZE)
   pgsize_val = sysconf (_SC_PAGESIZE);
 # elif defined(HAVE_GETPAGESIZE)
   pgsize_val = getpagesize ();
 # endif
+#endif
   pgsize = (pgsize_val > 0)? pgsize_val : DEFAULT_PAGE_SIZE;
 
   pool_size = (MINIMUM_POOL_SIZE + pgsize - 1) & ~(pgsize - 1);

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

Summary of changes:
 tests/t-secmem.c | 2 ++
 1 file changed, 2 insertions(+)


hooks/post-receive
-- 
The GNU crypto library
http://git.gnupg.org


_______________________________________________
Gnupg-commits mailing list
Gnupg-commits at gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-commits




More information about the Gcrypt-devel mailing list