Hi, In common/mock.c:prefix_mechanism_init there's a line that says: } else if (method == CKA_VERIFY || CKA_VERIFY_RECOVER) { Presumably this should be: } else if (method == CKA_VERIFY || method == CKA_VERIFY_RECOVER) { (Found by compiling with clang.)