version 1.1, 2014/08/26 17:47:24 |
version 1.2, 2015/07/20 17:10:45 |
|
|
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 */ |
|
|
} |
} |
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) { |