This repository has been archived by the owner on Jul 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔙 Shadowsocks: Disable IV check by default
This reverts commit 32a1406 and partially reverts 19ce248. For discussions see shadowsocks/shadowsocks-rust#556.
- Loading branch information
1 parent
fba26be
commit cb88d14
Showing
6 changed files
with
63 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,9 +70,8 @@ func TestTCPRequest(t *testing.T) { | |
User: &protocol.MemoryUser{ | ||
Email: "[email protected]", | ||
Account: toAccount(&Account{ | ||
Password: "tcp-password", | ||
CipherType: CipherType_AES_128_GCM, | ||
DisableIvCheck: true, | ||
Password: "tcp-password", | ||
CipherType: CipherType_AES_128_GCM, | ||
}), | ||
}, | ||
}, | ||
|
@@ -87,9 +86,8 @@ func TestTCPRequest(t *testing.T) { | |
User: &protocol.MemoryUser{ | ||
Email: "[email protected]", | ||
Account: toAccount(&Account{ | ||
Password: "password", | ||
CipherType: CipherType_AES_256_GCM, | ||
DisableIvCheck: true, | ||
Password: "password", | ||
CipherType: CipherType_AES_256_GCM, | ||
}), | ||
}, | ||
}, | ||
|
@@ -104,9 +102,8 @@ func TestTCPRequest(t *testing.T) { | |
User: &protocol.MemoryUser{ | ||
Email: "[email protected]", | ||
Account: toAccount(&Account{ | ||
Password: "password", | ||
CipherType: CipherType_CHACHA20_POLY1305, | ||
DisableIvCheck: true, | ||
Password: "password", | ||
CipherType: CipherType_CHACHA20_POLY1305, | ||
}), | ||
}, | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters