diff options
author | Stef Walter <stef@thewalter.net> | 2014-01-08 15:04:57 +0100 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2014-01-08 15:05:37 +0100 |
commit | ae7c79d466deff4c37587f11531327c8fa5f534c (patch) | |
tree | f28967137fe6c38cb455152bd3aa7da61aa1e1e1 /common | |
parent | 157941cbd75492b0c74ff21f95de3093cf6d4aca (diff) |
Fix typo in mock.c
Reported-by: Tijl Coosemans <tijl@FreeBSD.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/mock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/mock.c b/common/mock.c index f1d1c03..51b32b6 100644 --- a/common/mock.c +++ b/common/mock.c @@ -2526,7 +2526,7 @@ prefix_mechanism_init (CK_SESSION_HANDLE session, if (method == CKA_SIGN || method == CKA_SIGN_RECOVER) { if (key != MOCK_PRIVATE_KEY_PREFIX) return CKR_KEY_HANDLE_INVALID; - } else if (method == CKA_VERIFY || CKA_VERIFY_RECOVER) { + } else if (method == CKA_VERIFY || method == CKA_VERIFY_RECOVER) { if (key != MOCK_PUBLIC_KEY_PREFIX) return CKR_KEY_HANDLE_INVALID; } else { |