| 55 | }; |
| 56 | |
| 57 | static struct sent *find_sent_by_secret(const struct secret *pathsecret) |
| 58 | { |
| 59 | struct sent *i; |
| 60 | |
| 61 | list_for_each(&sent_list, i, list) { |
| 62 | if (i->reply_secret && secret_eq_consttime(i->reply_secret, pathsecret)) |
| 63 | return i; |
| 64 | } |
| 65 | return NULL; |
| 66 | } |
| 67 | |
| 68 | /* Hack to suppress warnings when we finish a different command */ |
| 69 | static void discard_result(struct command_result *ret) |
no test coverage detected