mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-07-21 00:22:08 +00:00
detect and check imcompatible crypto between local destination and LeaseSet
This commit is contained in:
@@ -529,9 +529,12 @@ namespace http {
|
||||
<< "<td>" << it.first.ToBase32 () << "</td>"
|
||||
<< "<td><a class=\"button\" href=\"" << webroot << "?cmd=" << HTTP_COMMAND_EXPIRELEASE<< "&b32=" << dest->GetIdentHash ().ToBase32 ()
|
||||
<< "&lease=" << it.first.ToBase32 () << "&token=" << token << "\" title=\"" << tr("Expire LeaseSet") << "\"> ✘ </a></td>"
|
||||
<< "<td>" << (int)it.second->GetStoreType () << "</td>"
|
||||
<< "<td>" << (int)it.second->GetEncryptionType () <<"</td>"
|
||||
<< "</tr>\r\n";
|
||||
<< "<td>" << (int)it.second->GetStoreType () << "</td>";
|
||||
if (!it.second->IsIncompatibleCrypto ())
|
||||
s << "<td>" << (int)it.second->GetEncryptionType () <<"</td>";
|
||||
else
|
||||
s << "<td>n/a</td>";
|
||||
s << "</tr>\r\n";
|
||||
}
|
||||
s << "</tbody>\r\n</table>\r\n";
|
||||
s << "</div>\r\n</div>\r\n<br>\r\n";
|
||||
|
||||
Reference in New Issue
Block a user