* TlsClientKeyExchange.cs: Removed .Clear call on private key as itn't
ours (but only a reference). It also requires the callback to recreate
a new key object each time (which is worse). This also implies that
the caller (implementing the callback) is responsible to clear it.
svn path=/trunk/mcs/; revision=34291
--- /dev/null
+2004-09-23 Sebastien Pouliot <sebastien@ximian.com>
+
+ * TlsClientKeyExchange.cs: Removed .Clear call on private key as itn't
+ ours (but only a reference). It also requires the callback to recreate
+ a new key object each time (which is worse). This also implies that
+ the caller (implementing the callback) is responsible to clear it.
// Initialize Cipher Suite
this.Context.Cipher.InitializeCipher();
-
- // Clear resources
- privKey.Clear();
}
protected override void ProcessAsTls1()
// Initialize Cipher Suite
this.Context.Cipher.InitializeCipher();
-
- // Clear resources
- privKey.Clear();
}
#endregion