diff --git a/include/upnp/upnp_context.h b/include/upnp/upnp_context.h
index 11f7e29f6cb8afb925cf8edf52d89aab628496af..ead135f2179b85e7807ab35fdf0988ed2dda7792 100644
--- a/include/upnp/upnp_context.h
+++ b/include/upnp/upnp_context.h
@@ -45,8 +45,6 @@
 
 #include <cstdlib>
 
-using random_device = dht::crypto::random_device;
-
 using IgdFoundCallback = std::function<void()>;
 
 namespace dhtnet {