diff --git a/lib/hcrypto/evp-w32.c b/lib/hcrypto/evp-w32.c index a72af16a5..8557a5f51 100644 --- a/lib/hcrypto/evp-w32.c +++ b/lib/hcrypto/evp-w32.c @@ -44,8 +44,6 @@ #include #include -#if NTDDI_VERSION >= NTDDI_VISTA - #include static LONG wincng_available = -1; @@ -102,13 +100,6 @@ _hc_w32crypto_DllMain(HINSTANCE hinstDLL, return hc_EVP_hcrypto_ ##name (); \ } -#else - -#define EVP_W32CRYPTO_PROVIDER(type, name) \ - EVP_W32CRYPTO_PROVIDER_CNG_UNAVAILABLE(type, name) - -#endif /* NTDDI_VERSION >= NTDDI_VISTA */ - #define EVP_W32CRYPTO_PROVIDER_CNG_UNAVAILABLE(type, name) \ \ const type *hc_EVP_w32crypto_ ##name (void) \ diff --git a/lib/hcrypto/evp-wincng.c b/lib/hcrypto/evp-wincng.c index 1e1605468..5c610481c 100644 --- a/lib/hcrypto/evp-wincng.c +++ b/lib/hcrypto/evp-wincng.c @@ -35,8 +35,6 @@ #include #include -#if NTDDI_VERSION >= NTDDI_VISTA - #include #include @@ -706,5 +704,3 @@ void _hc_wincng_cleanup(void) wincng_md_algorithm_cleanup(); wincng_cipher_algorithm_cleanup(); } - -#endif /* NTDDI_VERSION >= NTDDI_VISTA */