From 39f2d7613f8a9ee72d6bf555491b3fc043ceaf03 Mon Sep 17 00:00:00 2001 From: siddharth Date: Sat, 14 May 2022 15:02:21 -0400 Subject: lib: srp: update SRPClientSession Add `loggedIn` field. --- lib/srp.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/srp.go b/lib/srp.go index 575e54f..0c5843b 100644 --- a/lib/srp.go +++ b/lib/srp.go @@ -90,6 +90,8 @@ type SRPClientSession struct { a *big.Int // Session key. sk []byte + // Open session flag. true if there is an open session. + loggedIn bool } func (server *SRPServer) RegisterUser(user *SRPUser) error { -- cgit v1.2.3