aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cipher/ChangeLog4
-rw-r--r--cipher/rndw32.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/cipher/ChangeLog b/cipher/ChangeLog
index 17ef1f94e..3058881b6 100644
--- a/cipher/ChangeLog
+++ b/cipher/ChangeLog
@@ -1,3 +1,7 @@
+2002-09-17 Werner Koch <[email protected]>
+
+ * rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256.
+
2002-09-12 Stefan Bellon <[email protected]>
* rand-internal.h (rndriscos_gather_random): Added prototype.
diff --git a/cipher/rndw32.c b/cipher/rndw32.c
index 87aa20878..c5f855ca6 100644
--- a/cipher/rndw32.c
+++ b/cipher/rndw32.c
@@ -104,7 +104,9 @@ static int debug_me;
#define VER_PLATFORM_WIN32_WINDOWS 1
#endif
-#define SIZEOF_DISK_PERFORMANCE_STRUCT (6*8+5*4+8*2)
+/* This used to be (6*8+5*4+8*2), but Peter Gutmann figured a larger
+ value in a newer release. So we use a far larger value. */
+#define SIZEOF_DISK_PERFORMANCE_STRUCT 256
typedef struct {