mirror of https://github.com/v2ray/v2ray-core
Update Version
parent
aece8a6a86
commit
8988dc32b9
2
core.go
2
core.go
|
@ -19,7 +19,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
version = "4.23.4"
|
version = "4.24.0"
|
||||||
build = "Custom"
|
build = "Custom"
|
||||||
codename = "V2Fly, a community-driven edition of V2Ray."
|
codename = "V2Fly, a community-driven edition of V2Ray."
|
||||||
intro = "A unified platform for anti-censorship."
|
intro = "A unified platform for anti-censorship."
|
||||||
|
|
|
@ -63,7 +63,7 @@ func (c *Config) GetReadBufferSize() uint32 {
|
||||||
// GetSecurity returns the security settings.
|
// GetSecurity returns the security settings.
|
||||||
func (c *Config) GetSecurity() (cipher.AEAD, error) {
|
func (c *Config) GetSecurity() (cipher.AEAD, error) {
|
||||||
if c.Seed != nil {
|
if c.Seed != nil {
|
||||||
fmt.Println("NewAEADAESGCMBasedOnSeed Used")
|
fmt.Println("=========NewAEADAESGCMBasedOnSeed Used============")
|
||||||
return NewAEADAESGCMBasedOnSeed(c.Seed.Seed), nil
|
return NewAEADAESGCMBasedOnSeed(c.Seed.Seed), nil
|
||||||
}
|
}
|
||||||
return NewSimpleAuthenticator(), nil
|
return NewSimpleAuthenticator(), nil
|
||||||
|
|
Loading…
Reference in New Issue