A dummy function to call on handshake success. It should never be called * since the fuzzer should not be able to brute force a valid handshake. */
| 145 | /* A dummy function to call on handshake success. It should never be called |
| 146 | * since the fuzzer should not be able to brute force a valid handshake. */ |
| 147 | static struct io_plan * |
| 148 | success(struct io_conn *conn UNUSED, const struct pubkey *them UNUSED, |
| 149 | const struct wireaddr_internal *addr UNUSED, struct crypto_state *cs, |
| 150 | struct oneshot *timeout UNUSED, enum is_websocket is_websocket UNUSED, |
| 151 | struct timemono starttime UNUSED, |
| 152 | void *unused UNUSED) |
| 153 | { |
| 154 | assert(false && "handshake unexpectedly succeeded"); |
| 155 | } |
| 156 | |
| 157 | static struct io_plan *do_handshake(struct io_conn *conn, void *side) |
| 158 | { |
no outgoing calls
no test coverage detected