[client] pqkem: drop the previous PSKs on Stop

They are WireGuard key material like the current ones, which Stop already
clears, and nothing reads them after shutdown.
This commit is contained in:
riccardom
2026-10-21 08:44:13 +02:00
parent 4eaa57e8b5
commit ebeebe0179
+1
View File
@@ -335,6 +335,7 @@ func (m *Manager) Stop() {
m.mu.Lock()
m.exchanges = make(map[RemoteID]*exchangeCtl)
m.psks = make(map[RemoteID]PSK)
m.prevPSKs = make(map[RemoteID]PSK)
m.mu.Unlock()
}