diff options
Diffstat (limited to 'cipher/rndw32.c')
-rw-r--r-- | cipher/rndw32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher/rndw32.c b/cipher/rndw32.c index d4d7d22e4..63b78791c 100644 --- a/cipher/rndw32.c +++ b/cipher/rndw32.c @@ -561,7 +561,8 @@ slow_gatherer_windowsNT( void (*add)(const void*, size_t, int), int requester ) log_debug ("rndw32#slow_gatherer_nt: check product options\n" ); status = RegQueryValueEx (hKey, "ProductType", 0, NULL, szValue, &dwSize); - if (status == ERROR_SUCCESS && stricmp (szValue, "WinNT")) { + if (status == ERROR_SUCCESS + && ascii_strcasecmp (szValue, "WinNT")) { /* Note: There are (at least) three cases for ProductType: * WinNT = NT Workstation, ServerNT = NT Server, LanmanNT = * NT Server acting as a Domain Controller */ |