aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/ChangeLog4
-rw-r--r--util/secmem.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/util/ChangeLog b/util/ChangeLog
index 8aee8a72b..956387baf 100644
--- a/util/ChangeLog
+++ b/util/ChangeLog
@@ -1,3 +1,7 @@
+2000-10-23 Werner Koch <[email protected]>
+
+ * secmem.c (lock_pool): Don't print warnbing for Windows.
+
2000-10-16 Werner Koch <[email protected]>
* secmem.c (lock_pool): Fixed error checking for Linux.
diff --git a/util/secmem.c b/util/secmem.c
index 1420597e8..ec74aeffd 100644
--- a/util/secmem.c
+++ b/util/secmem.c
@@ -159,6 +159,10 @@ lock_pool( void *p, size_t n )
* wipes out the memory on a free().
* Therefore it is sufficient to suppress the warning
*/
+ #elif defined (HAVE_DOSISH_SYSTEM)
+ /* It does not make sense to print such a warning, given the fact that
+ * this whole Windows !@#$% and their user base are inherently insecure
+ */
#else
log_info("Please note that you don't have secure memory on this system\n");
#endif