pkcs11: Fixed a bug when creating public keys.

This commit is contained in:
Tobias Brunner 2011-11-09 17:39:24 +01:00
parent fe11d4bd64
commit 4de8f280e1
1 changed files with 1 additions and 1 deletions

View File

@ -810,7 +810,7 @@ static private_pkcs11_public_key_t *find_key_by_keyid(pkcs11_library_t *p11,
bool found = FALSE;
size_t keylen;
switch (type)
switch (key_type)
{
case KEY_RSA:
type = CKK_RSA;