From c09bfa0a2696a652618239104af9e4db7da3c800 Mon Sep 17 00:00:00 2001 From: zzz Date: Mon, 27 Feb 2017 14:09:46 +0000 Subject: [PATCH] i2ptunnel: Fix generation of advanced authentication strings --- apps/i2ptunnel/jsp/register.jsp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/i2ptunnel/jsp/register.jsp b/apps/i2ptunnel/jsp/register.jsp index d0f090bcd..b2a972db6 100644 --- a/apps/i2ptunnel/jsp/register.jsp +++ b/apps/i2ptunnel/jsp/register.jsp @@ -162,7 +162,7 @@ input.default { width: 1px; height: 1px; visibility: hidden; } String oldb64 = pkf2.getDestination().toBase64(); if (!b64.equals(oldb64)) { // disallow dup - olddest = b64; + olddest = oldb64; spk2 = pkf2.getSigningPrivKey(); } } catch (I2PSessionException ise) { @@ -217,6 +217,7 @@ input.default { width: 1px; height: 1px; visibility: hidden; } <% props.remove(HostTxtEntry.PROP_SIG); + props.remove(HostTxtEntry.PROP_OLDNAME); %>