diff --git a/ssl/dhparams b/ssl/dhparams
index a05473f5778dad000e7fd52f50a13c4d33bc90ac..ffc044f12c34eef5cd5814f24f8481cc5aa5031a 100755
--- a/ssl/dhparams
+++ b/ssl/dhparams
@@ -3,7 +3,7 @@
 
 fail ()
 {
-    echo "{\"failed\": true, \"msg\": \"$1\"}"
+    echo "{\"failed\": true, \"msg\": \"$1\" \"bits\": 0}"
     exit
 }