List Info

Thread: OpenSSL: openssl/apps/ apps.c




OpenSSL: openssl/apps/ apps.c
country flaguser name
Germany
2008-03-16 15:57:12
  OpenSSL CVS Repository
  http://cvs.openssl.org/
 
____________________________________________________________
________________

  Server: cvs.openssl.org                  Name:   Geoff
Thorpe
  Root:   /v/openssl/cvs                   Email:  geoffopenssl.org
  Module: openssl                          Date:  
16-Mar-2008 21:57:12
  Branch: HEAD                             Handle:
2008031620571200

  Modified files:
    openssl/apps            apps.c

  Log:
    Fix a nasty cast issue that my compiler was choking on.

  Summary:
    Revision    Changes     Path
    1.119       +5  -1      openssl/apps/apps.c
 
____________________________________________________________
________________

  patch -p0 <<' .'
  Index: openssl/apps/apps.c
 
============================================================
================
  $ cvs diff -u -r1.118 -r1.119 apps.c
  --- openssl/apps/apps.c	14 Jan 2008 18:10:55 -0000	1.118
  +++ openssl/apps/apps.c	16 Mar 2008 20:57:12 -0000	1.119
   -2589,7 +2589,11 
   	if (usertime)		now = rus.tms_utime;
   
   	if (stop==TM_START)	tmstart = now;
  -	else			ret = (now -
tmstart)/(double)sysconf(_SC_CLK_TCK);
  +	else
  +		{
  +		long int tck = sysconf(_SC_CLK_TCK);
  +		ret = (now - tmstart)/(double)tck;
  +		}
   
   	return (ret);
   	}
   .
____________________________________________________________
__________
OpenSSL Project                                 http://www.openssl.org
CVS Repository Commit List                    
openssl-cvsopenssl.org
Automated List Manager                          
majordomoopenssl.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )