Browse Source

add none cipher

pull/2925/head
Student Main 4 years ago
parent
commit
47105ec5ef
No known key found for this signature in database GPG Key ID: AA78519C208C8742
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      shadowsocks-csharp/Encryption/Stream/StreamPlainNativeEncryptor.cs

+ 1
- 0
shadowsocks-csharp/Encryption/Stream/StreamPlainNativeEncryptor.cs View File

@@ -26,6 +26,7 @@ namespace Shadowsocks.Encryption.Stream
private static readonly Dictionary<string, CipherInfo> _ciphers = new Dictionary<string, CipherInfo> private static readonly Dictionary<string, CipherInfo> _ciphers = new Dictionary<string, CipherInfo>
{ {
{"plain", new CipherInfo("plain", 0, 0, CipherFamily.Plain) }, {"plain", new CipherInfo("plain", 0, 0, CipherFamily.Plain) },
{"none", new CipherInfo("none", 0, 0, CipherFamily.Plain) },
}; };


public static Dictionary<string, CipherInfo> SupportedCiphers() public static Dictionary<string, CipherInfo> SupportedCiphers()


Loading…
Cancel
Save