Parcourir la source

rollback shadowsocks iv change

Darien Raymond il y a 9 ans
Parent
commit
1bf247da55
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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) {