Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minidriver: Fix wrong hash selection in CardSignData if pszAlgId is NULL
According to CardSignData docs, if pszAlgId is NULL, OID should not be added to signature, but minidriver erroneously selects SC_ALGORITHM_RSA_HASH_MD5_SHA1. See: https://learn.microsoft.com/en-us/windows/win32/api/bcrypt/ns-bcrypt-bcrypt_pkcs1_padding_info
- Loading branch information