From 47105ec5ef95cc23b1287edcf2dea0f9a73ac973 Mon Sep 17 00:00:00 2001 From: Student Main Date: Fri, 24 Jul 2020 17:52:47 +0800 Subject: [PATCH] add none cipher --- .../Encryption/Stream/StreamPlainNativeEncryptor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/shadowsocks-csharp/Encryption/Stream/StreamPlainNativeEncryptor.cs b/shadowsocks-csharp/Encryption/Stream/StreamPlainNativeEncryptor.cs index 3b4e1ece..8293db18 100644 --- a/shadowsocks-csharp/Encryption/Stream/StreamPlainNativeEncryptor.cs +++ b/shadowsocks-csharp/Encryption/Stream/StreamPlainNativeEncryptor.cs @@ -26,6 +26,7 @@ namespace Shadowsocks.Encryption.Stream private static readonly Dictionary _ciphers = new Dictionary { {"plain", new CipherInfo("plain", 0, 0, CipherFamily.Plain) }, + {"none", new CipherInfo("none", 0, 0, CipherFamily.Plain) }, }; public static Dictionary SupportedCiphers()