diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-11-09 17:39:24 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-11-09 17:39:24 +0100 |
commit | 4de8f280e1d73e6d9352d0c151e265a1e746a311 (patch) | |
tree | 884789ceb6312f08b00dd8172823cf31be56dab1 /src | |
parent | fe11d4bd6404e0608922226c1e1d799977a8ee97 (diff) | |
download | strongswan-4de8f280e1d73e6d9352d0c151e265a1e746a311.tar.bz2 strongswan-4de8f280e1d73e6d9352d0c151e265a1e746a311.tar.xz |
pkcs11: Fixed a bug when creating public keys.
Diffstat (limited to 'src')
-rw-r--r-- | src/libstrongswan/plugins/pkcs11/pkcs11_public_key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/pkcs11/pkcs11_public_key.c b/src/libstrongswan/plugins/pkcs11/pkcs11_public_key.c index d49a03856..f6782ba9f 100644 --- a/src/libstrongswan/plugins/pkcs11/pkcs11_public_key.c +++ b/src/libstrongswan/plugins/pkcs11/pkcs11_public_key.c @@ -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; |