diff --git a/src/security/tls_session.cpp b/src/security/tls_session.cpp
index d1f15e124af79b9c7d11956b06886120ffc94ea8..eb992f0ea7c1d558719d896071fd7b41da7bcc92 100644
--- a/src/security/tls_session.cpp
+++ b/src/security/tls_session.cpp
@@ -788,7 +788,6 @@ DhParams
 DhParams::generate()
 {
     using clock = std::chrono::high_resolution_clock;
-    return {};
 
     auto bits = gnutls_sec_param_to_pk_bits(GNUTLS_PK_DH, /* GNUTLS_SEC_PARAM_HIGH */ GNUTLS_SEC_PARAM_HIGH);
     RING_DBG("Generating DH params with %u bits", bits);