aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-09-17 08:53:07 +0000
committerWerner Koch <[email protected]>2002-09-17 08:53:07 +0000
commit1ad05d5728861bafb89fdad540b59ecf2cf0dc42 (patch)
treee539847a90079b5ee475722641df8ef717d91bbe
parentFrom stable branch (diff)
downloadgnupg-1ad05d5728861bafb89fdad540b59ecf2cf0dc42.tar.gz
gnupg-1ad05d5728861bafb89fdad540b59ecf2cf0dc42.zip
* rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256.
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 {