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

Diff for /src/usr.bin/openssl/openssl.c between version 1.34 and 1.35

version 1.34, 2023/06/11 05:45:20 version 1.35, 2023/06/11 13:02:10
Line 378 
Line 378 
 int  int
 main(int argc, char **argv)  main(int argc, char **argv)
 {  {
         ARGS arg;  
         char *to_free = NULL;          char *to_free = NULL;
         int i, ret = 0;          int i, ret = 0;
         char *p;          char *p;
         LHASH_OF(FUNCTION) * prog = NULL;          LHASH_OF(FUNCTION) * prog = NULL;
         long errline;          long errline;
   
         arg.data = NULL;  
         arg.count = 0;  
   
         if (pledge("stdio cpath wpath rpath inet dns proc flock tty", NULL) == -1) {          if (pledge("stdio cpath wpath rpath inet dns proc flock tty", NULL) == -1) {
                 fprintf(stderr, "openssl: pledge: %s\n", strerror(errno));                  fprintf(stderr, "openssl: pledge: %s\n", strerror(errno));
                 exit(1);                  exit(1);
Line 467 
Line 463 
         }          }
         if (prog != NULL)          if (prog != NULL)
                 lh_FUNCTION_free(prog);                  lh_FUNCTION_free(prog);
         free(arg.data);  
   
         openssl_shutdown();          openssl_shutdown();
   

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35