Fix copy-paste typo (encryptionAlgorithm vs decryptionAlgorithm) in my last CipherSui...
authorSebastien Pouliot <sebastien@xamarin.com>
Thu, 16 May 2013 20:06:55 +0000 (16:06 -0400)
committerSebastien Pouliot <sebastien@xamarin.com>
Thu, 16 May 2013 20:06:55 +0000 (16:06 -0400)
mcs/class/Mono.Security/Mono.Security.Protocol.Tls/CipherSuite.cs

index 0e952ca26bab10f1555054b98938c3e3518558ca..52a39e0c25bc62949898019adae60fd693b44caf 100644 (file)
@@ -538,9 +538,9 @@ namespace Mono.Security.Protocol.Tls
                                case CipherAlgorithmType.Rijndael:
 #if MOBILE || NET_4_0
                                        // only AES is really used - and we can use CommonCrypto for iOS and OSX this way
-                                       this.encryptionAlgorithm = Aes.Create();
+                                       this.decryptionAlgorithm = Aes.Create();
 #else
-                                       this.encryptionAlgorithm = Rijndael.Create();
+                                       this.decryptionAlgorithm = Rijndael.Create();
 #endif
                                        break;
                        }