[pgsqlclient-checkins] pgsqlclient_10/PgSqlClient.Security.Tls/source TlsSession.cs,1.9,1.10
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2003-09-04 12:34:21
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/PgSqlClient.Security.Tls/source In directory sc8-pr-cvs1:/tmp/cvs-serv25812 Modified Files: TlsSession.cs Log Message: Updated file Index: TlsSession.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PgSqlClient.Security.Tls/source/TlsSession.cs,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** TlsSession.cs 1 Sep 2003 11:11:08 -0000 1.9 --- TlsSession.cs 4 Sep 2003 12:34:17 -0000 1.10 *************** *** 62,70 **** } - private TlsSessionSettings Settings - { - get { return settings; } - } - internal TlsSessionState State { --- 62,65 ---- *************** *** 93,96 **** --- 88,96 ---- } + internal NetworkStream NetworkStream + { + get { return networkStream; } + } + #endregion *************** *** 157,160 **** --- 157,161 ---- // Send client hello writer.WriteRecord(TlsHandshakeType.ClientHello); + writer.Flush(); // Read server response *************** *** 173,176 **** --- 174,178 ---- // Send Client Key Exchange writer.WriteRecord(TlsHandshakeType.ClientKeyExchange); + writer.Flush(); // Now initialize session cipher with the generated keys *************** *** 184,188 **** // Send Cipher Spec protocol ! writer.WriteChangeCipherSpec(); // Read Cipher Spec protocol --- 186,190 ---- // Send Cipher Spec protocol ! writer.WriteChangeCipherSpec(); // Read Cipher Spec protocol |