diff options
author | siddharth <s@ricketyspace.net> | 2022-05-14 15:02:21 -0400 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2022-05-14 15:02:48 -0400 |
commit | 39f2d7613f8a9ee72d6bf555491b3fc043ceaf03 (patch) | |
tree | cd58fafce532a92dbb1f24f5e3ce2e9df04c149b | |
parent | 0a2b4a176bf39812685d7dd76cadbda668809bf9 (diff) |
lib: srp: update SRPClientSession
Add `loggedIn` field.
-rw-r--r-- | lib/srp.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 { |