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

Diff for /src/usr.bin/openssl/speed.c between version 1.9 and 1.10

version 1.9, 2015/08/22 16:36:05 version 1.10, 2015/09/11 09:38:30
Line 153 
Line 153 
 #include "./testdsa.h"  #include "./testdsa.h"
 #include "./testrsa.h"  #include "./testrsa.h"
   
 #define BUFSIZE ((long)1024*8+1)  #define BUFSIZE (1024*8+1)
 int run = 0;  int run = 0;
   
 static int mr = 0;  static int mr = 0;
Line 485 
Line 485 
         for (i = 0; i < RSA_NUM; i++)          for (i = 0; i < RSA_NUM; i++)
                 rsa_key[i] = NULL;                  rsa_key[i] = NULL;
   
         if ((buf = malloc((int) BUFSIZE)) == NULL) {          if ((buf = malloc(BUFSIZE)) == NULL) {
                 BIO_printf(bio_err, "out of memory\n");                  BIO_printf(bio_err, "out of memory\n");
                 goto end;                  goto end;
         }          }
         if ((buf2 = malloc((int) BUFSIZE)) == NULL) {          if ((buf2 = malloc(BUFSIZE)) == NULL) {
                 BIO_printf(bio_err, "out of memory\n");                  BIO_printf(bio_err, "out of memory\n");
                 goto end;                  goto end;
         }          }

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10