Lines Matching full:bio_err
104 BN_GENCB_set(&cb, dh_cb, bio_err);
105 if (bio_err == NULL)
106 if ((bio_err=BIO_new(BIO_s_file())) != NULL)
107 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
109 if (!load_config(bio_err, NULL))
148 BIO_printf(bio_err,"usage: gendh [args] [numbits]\n");
149 BIO_printf(bio_err," -out file - output the key to 'file\n");
150 BIO_printf(bio_err," -2 - use 2 as the generator value\n");
151 /* BIO_printf(bio_err," -3 - use 3 as the generator value\n"); */
152 BIO_printf(bio_err," -5 - use 5 as the generator value\n");
154 BIO_printf(bio_err," -engine e - use engine e, possibly a hardware device.\n");
156 BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
157 BIO_printf(bio_err," - load the file (or the files in the directory) into\n");
158 BIO_printf(bio_err," the random number generator\n");
163 setup_engine(bio_err, engine, 0);
169 ERR_print_errors(bio_err);
192 if (!app_RAND_load_file(NULL, bio_err, 1) && inrand == NULL)
194 BIO_printf(bio_err,"warning, not much extra random data, consider using the -rand option\n");
197 BIO_printf(bio_err,"%ld semi-random bytes loaded\n",
200 BIO_printf(bio_err,"Generating DH parameters, %d bit long safe prime, generator %d\n",num,g);
201 BIO_printf(bio_err,"This is going to take a long time\n");
206 app_RAND_write_file(NULL, bio_err);
213 ERR_print_errors(bio_err);