Do not query for CKA_ALWAYS_AUTHENTICATE if PKCS#11 Cryptoki version < 2.20

This commit is contained in:
Martin Willi
2010-11-18 08:56:12 +01:00
parent cfa18d14f1
commit b78ca4b04c
3 changed files with 12 additions and 3 deletions
@@ -794,6 +794,7 @@ static void check_features(private_pkcs11_library_t *this, CK_INFO *info)
if (has_version(info, 2, 20))
{
this->features |= PKCS11_TRUSTED_CERTS;
this->features |= PKCS11_ALWAYS_AUTH_KEYS;
}
}