watchtower: rename SessionPrivKey to SessionKeyECDH

This commit is contained in:
Oliver Gugger committed 2020-05-20 09:05:15 +02:00
1 parent 140731af00
commit b0cb110e86
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -362,7 +362,7 @@ func getClientSessions(db DB, keyRing SecretKeyRing, forTower *wtdb.TowerID,
if err != nil {
return nil, err
}
s.SessionPrivKey = sessionKey
s.SessionKeyECDH = sessionKey
// If an optional filter was provided, use it to filter out any
// undesired sessions.