summaryrefslogtreecommitdiff
path: root/src/ipcpd/common/enroll.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2022-02-15 22:03:17 +0100
committerSander Vrijders <sander@ouroboros.rocks>2022-02-17 08:28:56 +0100
commit6804b725dcc99437e8dc1330447330b08e3c39b8 (patch)
tree9f91ac26dcc516171fbf8bec99ee9c058d087afb /src/ipcpd/common/enroll.c
parent4aae321f11e3087d4e4bf65f945e5800f1d4f2c5 (diff)
downloadouroboros-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 'src/ipcpd/common/enroll.c')
0 files changed, 0 insertions, 0 deletions