diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2022-02-15 22:03:17 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2022-02-17 08:28:56 +0100 |
commit | 6804b725dcc99437e8dc1330447330b08e3c39b8 (patch) | |
tree | 9f91ac26dcc516171fbf8bec99ee9c058d087afb /LICENSE-LGPL | |
parent | 4aae321f11e3087d4e4bf65f945e5800f1d4f2c5 (diff) | |
download | ouroboros-6804b725dcc99437e8dc1330447330b08e3c39b8.tar.gz ouroboros-6804b725dcc99437e8dc1330447330b08e3c39b8.zip |
ipcpd: Fix initialization of hash width in DHT
The width of the Kademlia hash function (dht->b) was set only after
the ID was created. This should have failed miserably, but the bytes
after were fine as they were just a randomized ID in the Kademlia
network. Nasty.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'LICENSE-LGPL')
0 files changed, 0 insertions, 0 deletions