detect and check imcompatible crypto between local destination and LeaseSet

This commit is contained in:
orignal
2026-06-15 17:08:05 -04:00
parent 149def0a5e
commit a776441ce1
4 changed files with 23 additions and 10 deletions
+6 -3
View File
@@ -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") << "\"> &#10008; </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";