[pgsqlclient-checkins] pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls SslClie
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2004-02-17 13:20:20
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16813 Modified Files: SslClientStream.cs Log Message: Fix for the close method Index: SslClientStream.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SslClientStream.cs 15 Feb 2004 21:50:14 -0000 1.2 --- SslClientStream.cs 17 Feb 2004 13:11:28 -0000 1.3 *************** *** 51,56 **** public delegate AsymmetricAlgorithm PrivateKeySelectionCallback( ! X509Certificate clientCertificate, ! string targetHost); #endregion --- 51,56 ---- public delegate AsymmetricAlgorithm PrivateKeySelectionCallback( ! X509Certificate clientCertificate, ! string targetHost); #endregion *************** *** 323,329 **** if (this.innerStream != null) { ! // Write close notify ! TlsCloseNotifyAlert alert = new TlsCloseNotifyAlert(this.context); ! this.SendAlert(alert); if (this.ownsStream) --- 323,332 ---- if (this.innerStream != null) { ! if (this.context.HandshakeFinished) ! { ! // Write close notify ! TlsCloseNotifyAlert alert = new TlsCloseNotifyAlert(this.context); ! this.SendAlert(alert); ! } if (this.ownsStream) |