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

Diff for /src/usr.bin/openssl/Attic/engine.c between version 1.3 and 1.4

version 1.3, 2015/02/08 10:22:45 version 1.4, 2015/07/16 15:24:41
Line 457 
Line 457 
                                 if (ENGINE_init(e)) {                                  if (ENGINE_init(e)) {
                                         BIO_printf(bio_out, "[ available ]\n");                                          BIO_printf(bio_out, "[ available ]\n");
                                         util_do_cmds(e, post_cmds, bio_out, indent);                                          util_do_cmds(e, post_cmds, bio_out, indent);
                                         ENGINE_finish(e);                                          /*
                                            * XXX hell lacks a place for people who write functions with
                                            * XXX unusable return semantics.
                                            */
                                           if (ENGINE_finish(e) != 0 ||
                                               ERR_GET_REASON(ERR_peek_last_error()) ==
                                               ENGINE_R_FINISH_FAILED)
                                                   e = NULL;
                                 } else {                                  } else {
                                         BIO_printf(bio_out, "[ unavailable ]\n");                                          BIO_printf(bio_out, "[ unavailable ]\n");
                                         if (test_avail_noise)                                          if (test_avail_noise)
Line 465 
Line 472 
                                         ERR_clear_error();                                          ERR_clear_error();
                                 }                                  }
                         }                          }
                         if ((verbose > 0) && !util_verbose(e, verbose, bio_out, indent))                          if ((verbose > 0) && e != NULL &&
                               !util_verbose(e, verbose, bio_out, indent))
                                 goto end;                                  goto end;
                         ENGINE_free(e);                          ENGINE_free(e);
                 } else                  } else

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4