| 45 | } |
| 46 | |
| 47 | static void remove_credential(const struct credential *c, int match_password) |
| 48 | { |
| 49 | struct credential_cache_entry *e; |
| 50 | |
| 51 | int i; |
| 52 | for (i = 0; i < entries_nr; i++) { |
| 53 | e = &entries[i]; |
| 54 | if (credential_match(c, &e->item, match_password)) |
| 55 | e->expiration = 0; |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | static timestamp_t check_expirations(void) |
| 60 | { |
no test coverage detected