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

Diff for /src/usr.bin/openssl/dgst.c between version 1.1 and 1.2

version 1.1, 2014/08/26 17:47:24 version 1.2, 2015/07/20 17:10:45
Line 254 
Line 254 
                 EVP_MD_do_all_sorted(list_md_fn, bio_err);                  EVP_MD_do_all_sorted(list_md_fn, bio_err);
                 goto end;                  goto end;
         }          }
   
         in = BIO_new(BIO_s_file());          in = BIO_new(BIO_s_file());
         bmd = BIO_new(BIO_f_md());          bmd = BIO_new(BIO_f_md());
           if (in == NULL || bmd == NULL) {
                   ERR_print_errors(bio_err);
                   goto end;
           }
   
         if (debug) {          if (debug) {
                 BIO_set_callback(in, BIO_debug_callback);                  BIO_set_callback(in, BIO_debug_callback);
                 /* needed for windows 3.1 */                  /* needed for windows 3.1 */
Line 263 
Line 269 
         }          }
         if (!app_passwd(bio_err, passargin, NULL, &passin, NULL)) {          if (!app_passwd(bio_err, passargin, NULL, &passin, NULL)) {
                 BIO_printf(bio_err, "Error getting password\n");                  BIO_printf(bio_err, "Error getting password\n");
                 goto end;  
         }  
         if ((in == NULL) || (bmd == NULL)) {  
                 ERR_print_errors(bio_err);  
                 goto end;                  goto end;
         }          }
         if (out_bin == -1) {          if (out_bin == -1) {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2