diff options
author | Werner Koch <wk@gnupg.org> | 2002-09-17 10:53:07 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2002-09-17 10:53:07 +0200 |
commit | 1ad05d5728861bafb89fdad540b59ecf2cf0dc42 (patch) | |
tree | e539847a90079b5ee475722641df8ef717d91bbe /cipher | |
parent | From stable branch (diff) | |
download | gnupg2-1ad05d5728861bafb89fdad540b59ecf2cf0dc42.tar.xz gnupg2-1ad05d5728861bafb89fdad540b59ecf2cf0dc42.zip |
* rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256.
Diffstat (limited to 'cipher')
-rw-r--r-- | cipher/ChangeLog | 4 | ||||
-rw-r--r-- | cipher/rndw32.c | 4 |
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 <wk@gnupg.org> + + * rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256. + 2002-09-12 Stefan Bellon <sbellon@sbellon.de> * 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 { |