Check HCRYPTO_FALLBACK in W32 backend

This commit is contained in:
Nicolas Williams
2016-04-19 13:40:24 -05:00
parent c6c858c0ca
commit ca0dff891b

View File

@@ -96,8 +96,10 @@ _hc_w32crypto_DllMain(HINSTANCE hinstDLL,
{ \
if (wincng_check_availability()) \
return hc_EVP_wincng_ ##name (); \
else \
else if (HCRYPTO_FALLBACK) \
return hc_EVP_hcrypto_ ##name (); \
else \
return NULL; \
}
#define EVP_W32CRYPTO_PROVIDER_CNG_UNAVAILABLE(type, name) \