summaryrefslogtreecommitdiff
path: root/ssh-pkcs11.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-pkcs11.c')
-rw-r--r--ssh-pkcs11.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c
index 70f06bffe..24bbc5873 100644
--- a/ssh-pkcs11.c
+++ b/ssh-pkcs11.c
@@ -200,15 +200,15 @@ static void
200pkcs11_k11_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, 200pkcs11_k11_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx,
201 long argl, void *argp) 201 long argl, void *argp)
202{ 202{
203 struct pkcs11_key *k11 = ptr; 203 struct pkcs11_key *k11 = ptr;
204 204
205 debug("%s: parent %p ptr %p idx %d", __func__, parent, ptr, idx); 205 debug("%s: parent %p ptr %p idx %d", __func__, parent, ptr, idx);
206 if (k11 == NULL) 206 if (k11 == NULL)
207 return; 207 return;
208 if (k11->provider) 208 if (k11->provider)
209 pkcs11_provider_unref(k11->provider); 209 pkcs11_provider_unref(k11->provider);
210 free(k11->keyid); 210 free(k11->keyid);
211 free(k11); 211 free(k11);
212} 212}
213 213
214/* find a single 'obj' for given attributes */ 214/* find a single 'obj' for given attributes */