mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-29 04:37:06 -05:00
fix a typo
This commit is contained in:
parent
4b5e41c783
commit
c3dce11c4e
@ -206,7 +206,7 @@ func (c *AEADCipher) EncodePacket(key []byte, b *buf.Buffer) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *AEADCipher) DecodePacket(key []byte, b *buf.Buffer) error {
|
func (c *AEADCipher) DecodePacket(key []byte, b *buf.Buffer) error {
|
||||||
if b.Len() <= v.IVSize() {
|
if b.Len() <= c.IVSize() {
|
||||||
return newError("insufficient data: ", b.Len())
|
return newError("insufficient data: ", b.Len())
|
||||||
}
|
}
|
||||||
ivLen := c.IVSize()
|
ivLen := c.IVSize()
|
||||||
|
Loading…
Reference in New Issue
Block a user