Przeglądaj źródła

rollback shadowsocks iv change

Darien Raymond 9 lat temu
rodzic
commit
1bf247da55
1 zmienionych plików z 1 dodań i 1 usunięć
  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) {