summaryrefslogtreecommitdiff
path: root/src/secmem.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-01-21 21:36:43 +0000
committerWerner Koch <wk@gnupg.org>2010-01-21 21:36:43 +0000
commitb299da47a6f733c2e28fd98b8f2e19261f3b2608 (patch)
treedaf8da2d3dcbe142e03010fc9dc643b02c280a5b /src/secmem.c
parentc9a727088a4a763ff368e4f10d98d3a0c3a8d3b2 (diff)
downloadlibgcrypt-b299da47a6f733c2e28fd98b8f2e19261f3b2608.tar.gz
Support WindowsCE.
Diffstat (limited to 'src/secmem.c')
-rw-r--r--src/secmem.c19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/secmem.c b/src/secmem.c
index a12af58a..48150d5f 100644
--- a/src/secmem.c
+++ b/src/secmem.c
@@ -319,18 +319,23 @@ lock_pool (void *p, size_t n)
/* QNX does not page at all, so the whole secure memory stuff does
* not make much sense. However it is still of use because it
* wipes out the memory on a free().
- * Therefore it is sufficient to suppress the warning
- */
+ * Therefore it is sufficient to suppress the warning. */
+ (void)p;
+ (void)n;
#elif defined (HAVE_DOSISH_SYSTEM) || defined (__CYGWIN__)
/* It does not make sense to print such a warning, given the fact that
- * this whole Windows !@#$% and their user base are inherently insecure
- */
+ * this whole Windows !@#$% and their user base are inherently insecure. */
+ (void)p;
+ (void)n;
#elif defined (__riscos__)
- /* no virtual memory on RISC OS, so no pages are swapped to disc,
+ /* No virtual memory on RISC OS, so no pages are swapped to disc,
* besides we don't have mmap, so we don't use it! ;-)
- * But don't complain, as explained above.
- */
+ * But don't complain, as explained above. */
+ (void)p;
+ (void)n;
#else
+ (void)p;
+ (void)n;
log_info ("Please note that you don't have secure memory on this system\n");
#endif
}