[prev in list] [next in list] [prev in thread] [next in thread] 

List:       trousers-cvs
Subject:    [Trousers-cvs] trousers/src/tcs/ps tcsps.c
From:       Rajiv Andrade <phreakz () users ! sourceforge ! net>
Date:       2009-07-16 13:53:15
Message-ID: E1MRROd-0007IE-N1 () ddv4jf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/trousers/trousers/src/tcs/ps
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv28023/src/tcs/ps

Modified Files:
	tcsps.c 
Log Message:
Fixed typos and print formats.

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>


Index: tcsps.c
===================================================================
RCS file: /cvsroot/trousers/trousers/src/tcs/ps/tcsps.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** tcsps.c	16 Jul 2009 12:13:57 -0000	1.29
--- tcsps.c	16 Jul 2009 13:53:12 -0000	1.30
***************
*** 389,394 ****
  		DBG_ASSERT(tmp->pub_data_size < 2048);
  
! 		if (tmp->pub_data_size > sizeof(tpm_buffer)) {
! 			LogError("Source buffer size too big! Size:  %s",
  				 tmp->pub_data_size);
  			MUTEX_UNLOCK(disk_cache_lock);
--- 389,394 ----
  		DBG_ASSERT(tmp->pub_data_size < 2048);
  
! 		if (tmp->pub_data_size > sizeof(tmp_buffer)) {
! 			LogError("Source buffer size too big! Size:  %d",
  				 tmp->pub_data_size);
  			MUTEX_UNLOCK(disk_cache_lock);
***************
*** 458,463 ****
  
  		DBG_ASSERT(tmp->pub_data_size < 2048);
! 		if (tmp->pub_data_size > sizeof(tpm_buffer)) {
! 			LogError("Source buffer size too big! Size:  %s",
  				 tmp->pub_data_size);
  			MUTEX_UNLOCK(disk_cache_lock);
--- 458,463 ----
  
  		DBG_ASSERT(tmp->pub_data_size < 2048);
! 		if (tmp->pub_data_size > sizeof(tmp_buffer)) {
! 			LogError("Source buffer size too big! Size:  %d",
  				 tmp->pub_data_size);
  			MUTEX_UNLOCK(disk_cache_lock);
***************
*** 489,494 ****
  
  		DBG_ASSERT(tmp->blob_size < 4096);
! 		if (tmp->blob_size > sizeof(tpm_buffer)) {
! 			LogError("Blob size greater than 4096! Size:  %s",
  				 tmp->blob_size);
  			MUTEX_UNLOCK(disk_cache_lock);
--- 489,494 ----
  
  		DBG_ASSERT(tmp->blob_size < 4096);
! 		if (tmp->blob_size > sizeof(tmp_buffer)) {
! 			LogError("Blob size greater than 4096! Size:  %d",
  				 tmp->blob_size);
  			MUTEX_UNLOCK(disk_cache_lock);


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Trousers-cvs mailing list
Trousers-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/trousers-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic