diff options
| author | miod <> | 2014-04-13 15:16:37 +0000 |
|---|---|---|
| committer | miod <> | 2014-04-13 15:16:37 +0000 |
| commit | 25175e3da5ec29dca5edfe32f588ea68b17071c9 (patch) | |
| tree | af609a7374a1d1f305a0380423258452f82a8cd7 /src/lib/libcrypto/rand/rand_win.c | |
| parent | adb31f466163d59ad933cf9d299ce6c610f1cff3 (diff) | |
| download | openbsd-25175e3da5ec29dca5edfe32f588ea68b17071c9.tar.gz openbsd-25175e3da5ec29dca5edfe32f588ea68b17071c9.tar.bz2 openbsd-25175e3da5ec29dca5edfe32f588ea68b17071c9.zip | |
Import OpenSSL 1.0.1g
Diffstat (limited to 'src/lib/libcrypto/rand/rand_win.c')
| -rw-r--r-- | src/lib/libcrypto/rand/rand_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rand/rand_win.c b/src/lib/libcrypto/rand/rand_win.c index 5d134e186b..34ffcd23f9 100644 --- a/src/lib/libcrypto/rand/rand_win.c +++ b/src/lib/libcrypto/rand/rand_win.c | |||
| @@ -750,7 +750,7 @@ static void readscreen(void) | |||
| 750 | int y; /* y-coordinate of screen lines to grab */ | 750 | int y; /* y-coordinate of screen lines to grab */ |
| 751 | int n = 16; /* number of screen lines to grab at a time */ | 751 | int n = 16; /* number of screen lines to grab at a time */ |
| 752 | 752 | ||
| 753 | if (GetVersion() < 0x80000000 && OPENSSL_isservice()>0) | 753 | if (check_winnt() && OPENSSL_isservice()>0) |
| 754 | return; | 754 | return; |
| 755 | 755 | ||
| 756 | /* Create a screen DC and a memory DC compatible to screen DC */ | 756 | /* Create a screen DC and a memory DC compatible to screen DC */ |
