From 8e8acf1ff6dd4b9694f15a0a3baece068b9e4945 Mon Sep 17 00:00:00 2001 From: Viktor Tarasov Date: Sun, 12 Aug 2012 21:19:57 +0200 Subject: [PATCH] pkcs11-tool: implement 'find mechanism from the given list' and use it when testing signature --- src/tools/pkcs11-tool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/pkcs11-tool.c b/src/tools/pkcs11-tool.c index 8b77cb92..967c80bf 100644 --- a/src/tools/pkcs11-tool.c +++ b/src/tools/pkcs11-tool.c @@ -3304,6 +3304,7 @@ static int test_signature(CK_SESSION_HANDLE sess) CKM_SHA1_RSA_PKCS, CKM_MD5_RSA_PKCS, CKM_RIPEMD160_RSA_PKCS, + CKM_SHA256_RSA_PKCS, 0xffffff }; size_t mechTypes_num = sizeof(mechTypes)/sizeof(CK_MECHANISM_TYPE);