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

Diff for /src/usr.bin/openssl/s_time.c between version 1.7 and 1.8

version 1.7, 2015/04/15 16:33:49 version 1.8, 2015/07/17 16:10:49
Line 115 
Line 115 
         int maxtime;          int maxtime;
         int nbio;          int nbio;
         int perform;          int perform;
         int ssl3;  
         int verify;          int verify;
         int verify_depth;          int verify_depth;
         char *www_path;          char *www_path;
Line 192 
Line 191 
                 .value = 2,                  .value = 2,
         },          },
         {          {
                 .name = "ssl3",  
                 .desc = "Only use SSLv3",  
                 .type = OPTION_FLAG,  
                 .opt.flag = &s_time_config.ssl3,  
         },  
         {  
                 .name = "time",                  .name = "time",
                 .argname = "seconds",                  .argname = "seconds",
                 .desc = "Duration to perform timing tests for (default 30)",                  .desc = "Duration to perform timing tests for (default 30)",
Line 228 
Line 221 
             "usage: s_time "              "usage: s_time "
             "[-bugs] [-CAfile file] [-CApath directory] [-cert file]\n"              "[-bugs] [-CAfile file] [-CApath directory] [-cert file]\n"
             "    [-cipher cipherlist] [-connect host:port] [-key keyfile]\n"              "    [-cipher cipherlist] [-connect host:port] [-key keyfile]\n"
             "    [-nbio] [-new] [-reuse] [-ssl3] [-time seconds]\n"              "    [-nbio] [-new] [-reuse] [-time seconds]\n"
             "    [-verify depth] [-www page]\n\n");              "    [-verify depth] [-www page]\n\n");
         options_usage(s_time_options);          options_usage(s_time_options);
 }  }
Line 261 
Line 254 
         int ret = 1, i;          int ret = 1, i;
         char buf[1024 * 8];          char buf[1024 * 8];
         int ver;          int ver;
   
         s_time_meth = SSLv23_client_method();          s_time_meth = SSLv23_client_method();
   
         verify_depth = 0;          verify_depth = 0;
Line 279 
Line 272 
                 s_time_usage();                  s_time_usage();
                 goto end;                  goto end;
         }          }
   
         if (s_time_config.ssl3)  
                 s_time_meth = SSLv3_client_method();  
   
         if (s_time_config.verify_depth >= 0) {          if (s_time_config.verify_depth >= 0) {
                 s_time_config.verify = SSL_VERIFY_PEER | SSL_VERIFY_CLIENT_ONCE;                  s_time_config.verify = SSL_VERIFY_PEER | SSL_VERIFY_CLIENT_ONCE;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8