diff options
-rw-r--r-- | trust/token.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/trust/token.c b/trust/token.c index 427c1d5..eeebb82 100644 --- a/trust/token.c +++ b/trust/token.c @@ -137,10 +137,14 @@ loader_gone_file (p11_token *token, CK_RV rv; + p11_index_load (token->index); + /* Remove everything at this origin */ rv = p11_index_replace_all (token->index, origin, CKA_INVALID, NULL); return_if_fail (rv == CKR_OK); + p11_index_finish (token->index); + /* No longer track info about this file */ loader_not_loaded (token, filename); } |