The following information relates to the original Base Provider. When enumerating algorithms by using a call to CryptGetProvParam (with parameter PP_ENUMALGS specified), the function reported, incorrectly, that the SHA hash algorithm was being used. This has been fixed in the Base Provider and now both providers correctly report SHA-1.
The flag CALG_SHA1 has been added to Wincrypt.h with the same value as CALG_SHA.