]> git.meshlink.io Git - meshlink/commit
Include our own key in REQ_PUBKEY requests.
authorGuus Sliepen <guus@meshlink.io>
Fri, 15 May 2020 21:12:34 +0000 (23:12 +0200)
committerGuus Sliepen <guus@meshlink.io>
Fri, 15 May 2020 21:12:34 +0000 (23:12 +0200)
commit307a2e9833748d147b34e935ef7680015af0772d
treebe532a8048fe49e5c59c8c61ac34858d13c41b6b
parentf13b47a184094c6c9c22faf22c4e6b1117a1d758
Include our own key in REQ_PUBKEY requests.

If we don't know a peer's public key, it most likely means the peer
doesn't know our public key, so proactively send it along with the
REQ_PUBKEY request.
src/protocol_key.c