[pgsqlclient-checkins] pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handsha
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2004-03-05 23:37:22
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26297 Modified Files: TlsClientHello.cs TlsClientKeyExchange.cs Log Message: Added implementation for some server side handshake messages Index: TlsClientHello.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** TlsClientHello.cs 4 Mar 2004 15:41:55 -0000 1.5 --- TlsClientHello.cs 5 Mar 2004 23:22:57 -0000 1.6 *************** *** 81,85 **** // Session id // Send the session ID empty ! byte[] sessionId = this.ReadBytes(this.ReadByte()); // Read Supported Cipher Suites count --- 81,85 ---- // Session id // Send the session ID empty ! this.sessionId = this.ReadBytes(this.ReadByte()); // Read Supported Cipher Suites count Index: TlsClientKeyExchange.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server/TlsClientKeyExchange.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TlsClientKeyExchange.cs 4 Mar 2004 15:41:55 -0000 1.4 --- TlsClientKeyExchange.cs 5 Mar 2004 23:22:57 -0000 1.5 *************** *** 60,64 **** RSAPKCS1KeyExchangeDeformatter deformatter = new RSAPKCS1KeyExchangeDeformatter(rsa); ! byte[] preMasterSecret = deformatter.CreateKeyExchange(preMasterSecret); // Create master secret --- 60,64 ---- RSAPKCS1KeyExchangeDeformatter deformatter = new RSAPKCS1KeyExchangeDeformatter(rsa); ! byte[] preMasterSecret = deformatter.DecryptKeyExchange(clientSecret); // Create master secret |