mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-30 09:18:34 +00:00
feat: vmess zero encryption (#333)
This commit is contained in:
parent
e9ea658852
commit
1dae2c5636
5 changed files with 125 additions and 9 deletions
|
@ -32,6 +32,8 @@ func (a *VMessAccount) Build() *vmess.Account {
|
|||
st = protocol.SecurityType_AUTO
|
||||
case "none":
|
||||
st = protocol.SecurityType_NONE
|
||||
case "zero":
|
||||
st = protocol.SecurityType_ZERO
|
||||
default:
|
||||
st = protocol.SecurityType_AUTO
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue