]> granicus.if.org Git - curl/commit
Windows: Fix VerifyVersionInfo calls
authorJay Satiro <raysatiro@yahoo.com>
Wed, 22 Jul 2015 05:52:17 +0000 (01:52 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 22 Jul 2015 05:55:43 +0000 (01:55 -0400)
commit40c921f8b825c80bfe0d34f3137f1ece122369c6
tree53641d69efe537ea92b0b22fd59a0c275d9fefa8
parent7a8e861a56ab0ef0a3a621f53b5f5ba999b27576
Windows: Fix VerifyVersionInfo calls

- Fix the VerifyVersionInfo calls, which we use to test for the OS major
version, to also test for the minor version as well as the service pack
major and minor versions.

MSDN: "If you are testing the major version, you must also test the
minor version and the service pack major and minor versions."

https://msdn.microsoft.com/en-us/library/windows/desktop/ms725492.aspx

Bug: https://github.com/bagder/curl/pull/353#issuecomment-123493098
Reported-by: Marcel Raad <MarcelRaad@users.noreply.github.com>
lib/connect.c
lib/curl_sspi.c