From 34b9e2e08a23dc005a21446f87ca201ef4bbddf1 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Sat, 13 Dec 2014 12:28:30 +0800 Subject: [PATCH] fix rc4 --- shadowsocks-csharp/Encrypt/PolarSSLEncryptor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks-csharp/Encrypt/PolarSSLEncryptor.cs b/shadowsocks-csharp/Encrypt/PolarSSLEncryptor.cs index 7e71d054..83f64f09 100755 --- a/shadowsocks-csharp/Encrypt/PolarSSLEncryptor.cs +++ b/shadowsocks-csharp/Encrypt/PolarSSLEncryptor.cs @@ -118,7 +118,7 @@ namespace Shadowsocks.Encrypt } break; case CIPHER_RC4: - PolarSSL.arc4_crypt(_encryptCtx, length, buf, outbuf); + PolarSSL.arc4_crypt(ctx, length, buf, outbuf); break; } }