Lines Matching refs:bio_err
106 BN_GENCB_set(&cb, dh_cb, bio_err); in MAIN()
107 if (bio_err == NULL) in MAIN()
108 if ((bio_err = BIO_new(BIO_s_file())) != NULL) in MAIN()
109 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); in MAIN()
111 if (!load_config(bio_err, NULL)) in MAIN()
147 BIO_printf(bio_err, "usage: gendh [args] [numbits]\n"); in MAIN()
148 BIO_printf(bio_err, " -out file - output the key to 'file\n"); in MAIN()
149 BIO_printf(bio_err, " -2 - use 2 as the generator value\n"); in MAIN()
153 BIO_printf(bio_err, " -5 - use 5 as the generator value\n"); in MAIN()
155 BIO_printf(bio_err, in MAIN()
158 BIO_printf(bio_err, " -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, in MAIN()
160 BIO_printf(bio_err, in MAIN()
162 BIO_printf(bio_err, " the random number generator\n"); in MAIN()
166 setup_engine(bio_err, engine, 0); in MAIN()
171 ERR_print_errors(bio_err); in MAIN()
190 if (!app_RAND_load_file(NULL, bio_err, 1) && inrand == NULL) { in MAIN()
191 BIO_printf(bio_err, in MAIN()
195 BIO_printf(bio_err, "%ld semi-random bytes loaded\n", in MAIN()
198 BIO_printf(bio_err, in MAIN()
201 BIO_printf(bio_err, "This is going to take a long time\n"); in MAIN()
207 app_RAND_write_file(NULL, bio_err); in MAIN()
214 ERR_print_errors(bio_err); in MAIN()