Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpc: Tighten attribute array check with manual enumeration
CKF_ARRAY_ATTRIBUTE is not sufficient to tell if the attribute is an array of attributes, because the flag is also set for CKA_ALLOWED_MECHANISMS, which is an array of CK_MECHANISM_TYPE (unsigned long). Moreover, our vendor prefix 0x58444700UL masks the bit. Signed-off-by: Daiki Ueno <[email protected]>
- Loading branch information