Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2865
Modified Files:
PgConnection.cs
Log Message:
2005-01-31 Carlos Guzman Alvarez <car...@te...>
* PostgreSQl.Data.PgSqlClient/PgConnection.cs:
- Fixed bug on Close MEthod while clearing
SSL handlers.
Index: PgConnection.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgConnection.cs,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** PgConnection.cs 29 Sep 2004 12:08:12 -0000 1.20
--- PgConnection.cs 31 Jan 2005 13:29:36 -0000 1.21
***************
*** 355,362 ****
// Remove SSL handlers
! database.SslClientStream.ServerCertValidationDelegate = null;
! database.SslClientStream.ClientCertSelectionDelegate = null;
! this.ServerCertValidation = null;
! this.ClientCertSelection = null;
// Dispose Active commands
--- 355,365 ----
// Remove SSL handlers
! if (database.SslClientStream != null)
! {
! database.SslClientStream.ServerCertValidationDelegate = null;
! database.SslClientStream.ClientCertSelectionDelegate = null;
! }
! this.ServerCertValidation = null;
! this.ClientCertSelection = null;
// Dispose Active commands
|