[pgsqlclient-checkins] pgsqlclient_10/PgSqlClient.Security.Tls/source TlsSession.cs,1.19,1.20 TlsSoc
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2003-10-03 18:45:33
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/PgSqlClient.Security.Tls/source In directory sc8-pr-cvs1:/tmp/cvs-serv14361 Modified Files: TlsSession.cs TlsSocket.cs Log Message: Fixed Typo Index: TlsSession.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PgSqlClient.Security.Tls/source/TlsSession.cs,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** TlsSession.cs 30 Sep 2003 09:23:45 -0000 1.19 --- TlsSession.cs 3 Oct 2003 18:45:29 -0000 1.20 *************** *** 201,205 **** #region HANDSHAKE_MESSAGE_CREATION_METHODS ! internal TlsClientHandshakeMessage CreateClientHandsakeMessage(TlsHandshakeType type) { switch (type) --- 201,205 ---- #region HANDSHAKE_MESSAGE_CREATION_METHODS ! internal TlsClientHandshakeMessage CreateClientHandshakeMessage(TlsHandshakeType type) { switch (type) *************** *** 215,223 **** default: ! throw new InvalidOperationException("Unknown client handshake message type"); } } ! internal TlsServerHandshakeMessage CreateServerHandsakeMessage(TlsHandshakeType type, TlsStreamReader handMsg) { switch (type) --- 215,223 ---- default: ! throw new InvalidOperationException("Unknown client handshake message type: " + type.ToString() ); } } ! internal TlsServerHandshakeMessage CreateServerHandshakeMessage(TlsHandshakeType type, TlsStreamReader handMsg) { switch (type) *************** *** 242,248 **** default: ! throw new InvalidOperationException("Unknown client handshake message type"); } } #endregion --- 242,249 ---- default: ! throw new InvalidOperationException("Unknown server handshake message type: " + type.ToString() ); } } + #endregion Index: TlsSocket.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PgSqlClient.Security.Tls/source/TlsSocket.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** TlsSocket.cs 17 Sep 2003 14:44:17 -0000 1.5 --- TlsSocket.cs 3 Oct 2003 18:45:29 -0000 1.6 *************** *** 340,344 **** private int sendRecord(TlsHandshakeType type) { ! TlsClientHandshakeMessage msg = session.CreateClientHandsakeMessage(type); // Write record --- 340,344 ---- private int sendRecord(TlsHandshakeType type) { ! TlsClientHandshakeMessage msg = session.CreateClientHandshakeMessage(type); // Write record *************** *** 452,456 **** TlsServerHandshakeMessage message = null; ! message = session.CreateServerHandsakeMessage(handshakeType, handMsg); if (message == null) { --- 452,456 ---- TlsServerHandshakeMessage message = null; ! message = session.CreateServerHandshakeMessage(handshakeType, handMsg); if (message == null) { |