Home | History | Annotate | Download | only in apps

Lines Matching refs:bio_err

130 	if (bio_err == NULL)
131 if ((bio_err=BIO_new(BIO_s_file())) != NULL)
132 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
134 if (!load_config(bio_err, NULL))
206 BIO_printf(bio_err,"unknown option %s\n",*argv);
217 BIO_printf(bio_err,"%s [options] [bits] <infile >outfile\n",prog);
218 BIO_printf(bio_err,"where options are\n");
219 BIO_printf(bio_err," -inform arg input format - DER or PEM\n");
220 BIO_printf(bio_err," -outform arg output format - DER or PEM\n");
221 BIO_printf(bio_err," -in arg input file\n");
222 BIO_printf(bio_err," -out arg output file\n");
223 BIO_printf(bio_err," -text print as text\n");
224 BIO_printf(bio_err," -C Output C code\n");
225 BIO_printf(bio_err," -noout no output\n");
226 BIO_printf(bio_err," -genkey generate a DSA key\n");
227 BIO_printf(bio_err," -rand files to use for random number input\n");
229 BIO_printf(bio_err," -engine e use engine e, possibly a hardware device.\n");
232 BIO_printf(bio_err," -timebomb n interrupt keygen after <n> seconds\n");
234 BIO_printf(bio_err," number number of bits to use for generating private key\n");
244 ERR_print_errors(bio_err);
278 setup_engine(bio_err, engine, 0);
283 app_RAND_load_file(NULL, bio_err, (inrand != NULL));
285 BIO_printf(bio_err,"%ld semi-random bytes loaded\n",
292 BN_GENCB_set(&cb, dsa_cb, bio_err);
297 BIO_printf(bio_err,"Error allocating DSA object\n");
300 BIO_printf(bio_err,"Generating DSA parameters, %d bit long prime\n",num);
301 BIO_printf(bio_err,"This could take some time\n");
308 BIO_printf(bio_err,"(though I'll stop it if not done within %d secs)\n",
312 BIO_printf(bio_err,"Error, couldn't set SIGALRM handler\n");
323 BIO_printf(bio_err,"DSA key generation time-stopped\n");
329 ERR_print_errors(bio_err);
330 BIO_printf(bio_err,"Error, DSA key generation failed\n");
340 BIO_printf(bio_err,"bad input format specified\n");
345 BIO_printf(bio_err,"unable to load DSA parameters\n");
346 ERR_print_errors(bio_err);
417 BIO_printf(bio_err,"bad output format specified for outfile\n");
422 BIO_printf(bio_err,"unable to write DSA parameters\n");
423 ERR_print_errors(bio_err);
435 ERR_print_errors(bio_err);
444 BIO_printf(bio_err,"bad output format specified for outfile\n");
451 app_RAND_write_file(NULL, bio_err);