aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-09-17 08:50:42 +0000
committerWerner Koch <[email protected]>2002-09-17 08:50:42 +0000
commit32a3f9ec4bd5006b25adaa3067706c649a823c6b (patch)
treeff9a80ed7ebce4d80ede8473d61a5d857e17ac32
parent* keyedit.c (menu_addrevoker): The direct key signature for revocation (diff)
downloadgnupg-32a3f9ec4bd5006b25adaa3067706c649a823c6b.tar.gz
gnupg-32a3f9ec4bd5006b25adaa3067706c649a823c6b.zip
* rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256.
-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 ebc7d2a7a..179ea6022 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-08-30 Werner Koch <[email protected]>
* random.c: Automagically detect the entropy gatherer when
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 {