summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2022-05-14 15:01:55 -0400
committersiddharth <s@ricketyspace.net>2022-05-14 15:02:43 -0400
commit0a2b4a176bf39812685d7dd76cadbda668809bf9 (patch)
tree018cfcc38232dbac302d3d64ff36ce1ad5bdde49 /lib
parentc326b0f1ab3d4b920e15dca9f5a8b663f304fe03 (diff)
lib: srp: update SRPUser
Add `loggedIn` field.
Diffstat (limited to 'lib')
-rw-r--r--lib/srp.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/srp.go b/lib/srp.go
index 9997deb..575e54f 100644
--- a/lib/srp.go
+++ b/lib/srp.go
@@ -60,6 +60,8 @@ type SRPUser struct {
v *big.Int
// Session key.
sk []byte
+ // Open session flag. true if there is an open session.
+ loggedIn bool
}
// SRP client.