Ver código fonte

rollback shadowsocks iv change

Darien Raymond 9 anos atrás
pai
commit
1bf247da55
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      proxy/shadowsocks/config.go

+ 1 - 1
proxy/shadowsocks/config.go

@@ -74,7 +74,7 @@ func (v *AesCfb) KeySize() int {
 }
 
 func (v *AesCfb) IVSize() int {
-	return v.KeyBytes
+	return 16
 }
 
 func (v *AesCfb) NewEncodingStream(key []byte, iv []byte) (cipher.Stream, error) {