Lines Matching refs:bio_err

219     if (bio_err == NULL)
220 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
222 if (!load_config(bio_err, NULL))
282 BIO_printf(bio_err, "bad number of days\n");
334 BIO_printf(bio_err, "Invalid trust object value %s\n", *argv);
345 BIO_printf(bio_err,
444 BIO_printf(bio_err, "use -clrext instead of -crlext\n");
454 BIO_printf(bio_err, "unknown option %s\n", *argv);
465 BIO_printf(bio_err, "%s", *pp);
469 e = setup_engine(bio_err, engine, 0);
473 app_RAND_load_file(NULL, bio_err, 0);
477 if (!app_passwd(bio_err, passargin, NULL, &passin, NULL)) {
478 BIO_printf(bio_err, "Error getting password\n");
483 ERR_print_errors(bio_err);
490 BIO_printf(bio_err,
501 BIO_printf(bio_err,
504 BIO_printf(bio_err,
519 BIO_printf(bio_err,
521 ERR_print_errors(bio_err);
531 BIO_printf(bio_err, "We need a private key to sign with\n");
536 ERR_print_errors(bio_err);
553 ERR_print_errors(bio_err);
561 BIO_printf(bio_err,
563 BIO_printf(bio_err, "It does not contain a public key\n");
567 BIO_printf(bio_err, "error unpacking public key\n");
573 BIO_printf(bio_err, "Signature verification error\n");
574 ERR_print_errors(bio_err);
578 BIO_printf(bio_err,
582 BIO_printf(bio_err, "Signature ok\n");
584 print_name(bio_err, "subject=", X509_REQ_get_subject_name(req),
613 x = load_cert(bio_err, infile, informat, NULL, e, "Certificate");
618 xca = load_cert(bio_err, CAfile, CAformat, NULL, e, "CA Certificate");
628 ERR_print_errors(bio_err);
744 BIO_printf(bio_err, "Modulus=unavailable\n");
745 ERR_print_errors(bio_err);
767 BIO_printf(bio_err, "Error getting public key\n");
768 ERR_print_errors(bio_err);
787 BIO_printf(bio_err, "Out of memory\n");
788 ERR_print_errors(bio_err);
852 BIO_printf(bio_err, "out of memory\n");
865 BIO_printf(bio_err, "Getting Private key\n");
867 Upkey = load_key(bio_err,
878 BIO_printf(bio_err, "Getting CA Private Key\n");
880 CApkey = load_key(bio_err,
896 BIO_printf(bio_err, "Getting request Private Key\n");
898 BIO_printf(bio_err, "no request key file specified\n");
901 pk = load_key(bio_err,
908 BIO_printf(bio_err, "Generating certificate request\n");
913 ERR_print_errors(bio_err);
963 BIO_printf(bio_err, "bad output format specified for outfile\n");
967 BIO_printf(bio_err, "unable to write certificate\n");
968 ERR_print_errors(bio_err);
974 app_RAND_write_file(NULL, bio_err);
1010 BIO_printf(bio_err, "out of mem\n");
1029 BIO_printf(bio_err, "add_word failure\n");
1057 BIO_printf(bio_err, "Error obtaining CA X509 public key\n");
1064 BIO_printf(bio_err, "Error initialising X509 store\n");
1084 BIO_printf(bio_err,
1115 if (!do_X509_sign(bio_err, x, pkey, digest, sigopts))
1121 ERR_print_errors(bio_err);
1146 BIO_printf(bio_err,
1151 print_name(bio_err, NULL, X509_get_subject_name(err_cert), 0);
1152 BIO_printf(bio_err,
1200 ERR_print_errors(bio_err);