Skip to content

Commit

Permalink
Merge pull request v2fly#207 from DuckSoft/master
Browse files Browse the repository at this point in the history
kcp: removing annoying NewAEADAESGCMBasedOnSeed hint
  • Loading branch information
kslr authored Sep 20, 2020
2 parents df2d296 + 9def692 commit 14c80ec
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions transport/internet/kcp/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ package kcp

import (
"crypto/cipher"
"fmt"

"v2ray.com/core/common"
"v2ray.com/core/transport/internet"
)
Expand Down Expand Up @@ -63,7 +61,6 @@ func (c *Config) GetReadBufferSize() uint32 {
// GetSecurity returns the security settings.
func (c *Config) GetSecurity() (cipher.AEAD, error) {
if c.Seed != nil {
fmt.Println("=========NewAEADAESGCMBasedOnSeed Used============")
return NewAEADAESGCMBasedOnSeed(c.Seed.Seed), nil
}
return NewSimpleAuthenticator(), nil
Expand Down

0 comments on commit 14c80ec

Please sign in to comment.