diff --git a/contrib/src/opendht/SHA512SUMS b/contrib/src/opendht/SHA512SUMS
index 4d56aa5b073497c62d937be567c6207034e91c0c..f247a30c0d6238715f4ebdedfd151d9248cbea8f 100644
--- a/contrib/src/opendht/SHA512SUMS
+++ b/contrib/src/opendht/SHA512SUMS
@@ -1 +1 @@
-a7b5f1e05b1adb72ca547af217b7c67d94ebe91fbaa015e089490a371722476c76bf6a61698ab42d6e139f9bdf4a765b2d3cdf89807f06da598e91d00ad4d4dd  opendht-c564810b8cd60b3ccbbeb9b9d5e294248fed9b5b.tar.gz
+ec649cd38aacaf580a18244a9da67cf64d2535a052a05ddf15ef2479a0378b4605b4a8fd30702609a771394946480d4c24f16348a6b5141f92866596fa12c9b0  opendht-6f87e9dbc3ec9ef2609d338175fab0fcb4d7e70b.tar.gz
diff --git a/contrib/src/opendht/fetch_and_patch.bat b/contrib/src/opendht/fetch_and_patch.bat
index 5c172652c36ef8fab1f41e5c22836cdd012ec921..f0132c0c1ebcdc4c928de6e2bca720a0f686e362 100644
--- a/contrib/src/opendht/fetch_and_patch.bat
+++ b/contrib/src/opendht/fetch_and_patch.bat
@@ -1,6 +1,6 @@
 set BUILD=%SRC%..\build
 
-set OPENDHT_VERSION=c564810b8cd60b3ccbbeb9b9d5e294248fed9b5b
+set OPENDHT_VERSION=6f87e9dbc3ec9ef2609d338175fab0fcb4d7e70b
 set OPENDHT_URL=https://github.com/savoirfairelinux/opendht/archive/%OPENDHT_VERSION%.tar.gz
 
 mkdir %BUILD%
diff --git a/contrib/src/opendht/rules.mak b/contrib/src/opendht/rules.mak
index 54d27e5deb9d1d451f62610f860a65f5c771fb77..e3782b8fb25697697d5f522bd6999f8f4db6e342 100644
--- a/contrib/src/opendht/rules.mak
+++ b/contrib/src/opendht/rules.mak
@@ -1,5 +1,5 @@
 # OPENDHT
-OPENDHT_VERSION := c564810b8cd60b3ccbbeb9b9d5e294248fed9b5b
+OPENDHT_VERSION := 6f87e9dbc3ec9ef2609d338175fab0fcb4d7e70b
 OPENDHT_URL := https://github.com/savoirfairelinux/opendht/archive/$(OPENDHT_VERSION).tar.gz
 
 PKGS += opendht