mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-18 23:00:12 +00:00
Update IV for instruction encryption
This commit is contained in:
1 parent
2564c909a5
commit
06e19d17e5
6 files changed
+43
-20
No files matched your search
@@ -14,10 +14,10 @@ func (us *MockUserSet) AddUser(user core.User) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (us *MockUserSet) GetUser(userhash []byte) (*core.ID, bool) {
|
||||
func (us *MockUserSet) GetUser(userhash []byte) (*core.ID, int64, bool) {
|
||||
idx, found := us.UserHashes[string(userhash)]
|
||||
if found {
|
||||
return &us.UserIds[idx], true
|
||||
return &us.UserIds[idx], 1234, true
|
||||
}
|
||||
return nil, false
|
||||
return nil, 0, false
|
||||
}
|
||||
Reference in new issue
Block a user