diff options
Diffstat (limited to 'trust')
-rw-r--r-- | trust/save.c | 1 | ||||
-rw-r--r-- | trust/token.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/trust/save.c b/trust/save.c index 1533c08..acef483 100644 --- a/trust/save.c +++ b/trust/save.c @@ -543,7 +543,6 @@ cleanup_directory (const char *directory, remove = p11_dict_new (p11_dict_str_hash, p11_dict_str_equal, free, NULL); - /* We're within a global mutex, so readdir is safe */ while ((dp = readdir (dir)) != NULL) { if (p11_dict_get (cache, dp->d_name)) continue; diff --git a/trust/token.c b/trust/token.c index 0641619..c91acd2 100644 --- a/trust/token.c +++ b/trust/token.c @@ -260,7 +260,6 @@ loader_load_directory (p11_token *token, return 0; } - /* We're within a global mutex, so readdir is safe */ while ((dp = readdir (dir)) != NULL) { path = p11_path_build (directory, dp->d_name, NULL); return_val_if_fail (path != NULL, -1); |