diff options
author | Martin Willi <martin@revosec.ch> | 2010-07-15 12:22:36 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-08-04 09:26:20 +0200 |
commit | 36c852a08be2b4373bd62d7cfb1862d28e818505 (patch) | |
tree | 0ea437131fabb04662c3c45efb4031ea15265205 /src/libstrongswan/plugins/pkcs11/pkcs11_creds.c | |
parent | fe876b24d9ddd34194d35dff9f8ea5290e93ee5a (diff) | |
download | strongswan-36c852a08be2b4373bd62d7cfb1862d28e818505.tar.bz2 strongswan-36c852a08be2b4373bd62d7cfb1862d28e818505.tar.xz |
Added enumerator for PKCS#11 tokens
Diffstat (limited to 'src/libstrongswan/plugins/pkcs11/pkcs11_creds.c')
-rw-r--r-- | src/libstrongswan/plugins/pkcs11/pkcs11_creds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/pkcs11/pkcs11_creds.c b/src/libstrongswan/plugins/pkcs11/pkcs11_creds.c index 5f79775b9..978bb8103 100644 --- a/src/libstrongswan/plugins/pkcs11/pkcs11_creds.c +++ b/src/libstrongswan/plugins/pkcs11/pkcs11_creds.c @@ -279,7 +279,7 @@ pkcs11_creds_t *pkcs11_creds_create(pkcs11_library_t *p11, CK_SLOT_ID slot) if (!load_certificates(this)) { - free(this); + destroy(this); return NULL; } |