diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-21 07:36:45 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-21 07:36:45 +0000 |
commit | aa8bd9308ea05cd501348ae5f17447253b92ac5c (patch) | |
tree | d9eaa0ad2dd9b431802661a686d79feac4a491c5 /src/transport/gnunet-service-transport_neighbours.h | |
parent | 89812cb07bbdf334afdfd341512d54426bb2db2b (diff) | |
download | gnunet-aa8bd9308ea05cd501348ae5f17447253b92ac5c.tar.gz gnunet-aa8bd9308ea05cd501348ae5f17447253b92ac5c.zip |
fixing 1792: validate signature in disconnect request
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.h')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.h b/src/transport/gnunet-service-transport_neighbours.h index 2f6962a67..27f7aae31 100644 --- a/src/transport/gnunet-service-transport_neighbours.h +++ b/src/transport/gnunet-service-transport_neighbours.h | |||
@@ -232,6 +232,17 @@ GST_neighbours_handle_connect (const struct GNUNET_MessageHeader *message, | |||
232 | const struct GNUNET_ATS_Information *ats, | 232 | const struct GNUNET_ATS_Information *ats, |
233 | uint32_t ats_count); | 233 | uint32_t ats_count); |
234 | 234 | ||
235 | /** | ||
236 | * We received a disconnect message from the given peer, | ||
237 | * validate and process. | ||
238 | * | ||
239 | * @param peer sender of the message | ||
240 | * @param msg the disconnect message | ||
241 | */ | ||
242 | void | ||
243 | GST_neighbours_handle_disconnect_message (const struct GNUNET_PeerIdentity *peer, | ||
244 | const struct GNUNET_MessageHeader *msg); | ||
245 | |||
235 | 246 | ||
236 | #endif | 247 | #endif |
237 | /* end of file gnunet-service-transport_neighbours.h */ | 248 | /* end of file gnunet-service-transport_neighbours.h */ |