CVS: rdesktop ssl.c,1.2,1.3
Jay Sorg <[email protected]> Fri, 09 Feb 2007 23:08:25 -0800
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv26488
Modified Files:
ssl.c
Log Message:
remove g++ warnings
Index: ssl.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/ssl.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ssl.c 11 Jan 2007 03:30:18 -0000 1.2
--- ssl.c 10 Feb 2007 07:08:23 -0000 1.3
***************
*** 111,115 ****
outlen = BN_bn2bin(&y, out);
reverse(out, outlen);
! if (outlen < modulus_size)
memset(out + outlen, 0, modulus_size - outlen);
--- 111,115 ----
outlen = BN_bn2bin(&y, out);
reverse(out, outlen);
! if (outlen < (int) modulus_size)
memset(out + outlen, 0, modulus_size - outlen);
***************
*** 198,204 ****
uint32 max_mod_len)
{
! uint32 len;
! if ((BN_num_bytes(rkey->e) > max_exp_len) || (BN_num_bytes(rkey->n) > max_mod_len))
{
return 1;
--- 198,205 ----
uint32 max_mod_len)
{
! int len;
! if ((BN_num_bytes(rkey->e) > (int) max_exp_len) ||
! (BN_num_bytes(rkey->n) > (int) max_mod_len))
{
return 1;
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642