Update of /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3903
Modified Files:
SslClientStream.cs
Log Message:
no message
Index: SslClientStream.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** SslClientStream.cs 5 Feb 2005 14:08:15 -0000 1.25
--- SslClientStream.cs 8 Feb 2005 21:20:32 -0000 1.26
***************
*** 307,311 ****
this.inputBuffer = new MemoryStream();
! this.innerStream = new BufferedStream(stream);
this.ownsStream = ownsStream;
this.read = new object();
--- 307,311 ----
this.inputBuffer = new MemoryStream();
! this.innerStream = stream;
this.ownsStream = ownsStream;
this.read = new object();
***************
*** 719,724 ****
catch (TlsException ex)
{
! this.protocol.SendAlert(ex.Alert);
! this.Close();
throw new IOException("The authentication or decryption has failed.");
--- 719,730 ----
catch (TlsException ex)
{
! try
! {
! this.protocol.SendAlert(ex.Alert);
! this.Close();
! }
! catch
! {
! }
throw new IOException("The authentication or decryption has failed.");
***************
*** 726,731 ****
catch (Exception)
{
! this.protocol.SendAlert(AlertDescription.InternalError);
! this.Close();
throw new IOException("The authentication or decryption has failed.");
--- 732,743 ----
catch (Exception)
{
! try
! {
! this.protocol.SendAlert(AlertDescription.InternalError);
! this.Close();
! }
! catch
! {
! }
throw new IOException("The authentication or decryption has failed.");
|