[git] GCRYPT - branch, LIBGCRYPT-1.8-BRANCH, updated. libgcrypt-1.8.1-4-g334e1a1
by NIIBE Yutaka
cvs at cvs.gnupg.org
Tue Nov 14 01:03:43 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, LIBGCRYPT-1.8-BRANCH has been updated
via 334e1a1cfc8f59db765a0bff0ca29090aa11b0f6 (commit)
from da127f7505ff7681fc9dbfbf332121d2998e88aa (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 334e1a1cfc8f59db765a0bff0ca29090aa11b0f6
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
More information about the Gnupg-commits
mailing list