[BACK]Return to apps.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / openssl

Diff for /src/usr.bin/openssl/apps.c between version 1.12 and 1.13

version 1.12, 2014/11/07 14:16:48 version 1.13, 2014/12/03 22:16:02
Line 2205 
Line 2205 
 #endif  #endif
 /* !OPENSSL_NO_NEXTPROTONEG */  /* !OPENSSL_NO_NEXTPROTONEG */
   
 double  
 app_tminterval(int stop, int usertime)  
 {  
         double ret = 0;  
         struct tms rus;  
         clock_t now = times(&rus);  
         static clock_t tmstart;  
   
         if (usertime)  
                 now = rus.tms_utime;  
   
         if (stop == TM_START)  
                 tmstart = now;  
         else {  
                 long int tck = sysconf(_SC_CLK_TCK);  
                 ret = (now - tmstart) / (double) tck;  
         }  
   
         return (ret);  
 }  
   
 int  int
 app_isdir(const char *name)  app_isdir(const char *name)
 {  {
Line 2341 
Line 2320 
                                 if (opt->func(opt, NULL) != 0)                                  if (opt->func(opt, NULL) != 0)
                                         return (1);                                          return (1);
                                 break;                                  break;
   
                         case OPTION_FLAG:                          case OPTION_FLAG:
                                 *opt->opt.flag = 1;                                  *opt->opt.flag = 1;
                                 break;                                  break;

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13