From 3013b56d16958fab5f5c7948379e077590ba3e84 Mon Sep 17 00:00:00 2001
From: str4d <str4d@mail.i2p>
Date: Thu, 26 Apr 2012 23:01:12 +0000
Subject: [PATCH] Fixed server tunnel wizard bug - pass a value for privKeyFile

---
 apps/i2ptunnel/jsp/wizard.jsp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/apps/i2ptunnel/jsp/wizard.jsp b/apps/i2ptunnel/jsp/wizard.jsp
index 74afb65a28..1e8a8e1a45 100644
--- a/apps/i2ptunnel/jsp/wizard.jsp
+++ b/apps/i2ptunnel/jsp/wizard.jsp
@@ -501,7 +501,8 @@ http://stats.i2p/cgi-bin/jump.cgi?a=
 http://i2jump.i2p/" /><%
                 } /* httpclient */
               } else { /* Server-only defaults */
-            %><input type="hidden" name="encrypt" value="" />
+            %><input type="hidden" name="privKeyFile" value="<%=editBean.getPrivateKeyFile(-1)%>" />
+            <input type="hidden" name="encrypt" value="" />
             <input type="hidden" name="encryptKey" value="" />
             <input type="hidden" name="accessMode" value="0" />
             <input type="hidden" name="accessList" value="" />
-- 
GitLab