From bc6346959ff3709f150f10f15fce86f6f8181c75 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Tue, 1 Dec 2015 13:58:10 +0200
Subject: [PATCH] Set bits to 0 when failing.

---
 ssl/dhparams | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ssl/dhparams b/ssl/dhparams
index a05473f..ffc044f 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
 }
 
-- 
GitLab