Lines Matching refs:bio_err
140 static BIO *bio_err = NULL;
152 if (bio_err == NULL)
153 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
162 BIO_printf(bio_err, "test generation of DSA parameters\n");
164 BN_GENCB_set(&cb, dsa_cb, bio_err);
171 BIO_printf(bio_err, "seed\n");
173 BIO_printf(bio_err, "%02X%02X%02X%02X ",
176 BIO_printf(bio_err, "\ncounter=%d h=%ld\n", counter, h);
178 DSA_print(bio_err, dsa, 0);
180 BIO_printf(bio_err, "counter should be 105\n");
184 BIO_printf(bio_err, "h should be 2\n");
191 BIO_printf(bio_err, "q value is wrong\n");
198 BIO_printf(bio_err, "p value is wrong\n");
205 BIO_printf(bio_err, "g value is wrong\n");
223 ERR_print_errors(bio_err);
229 CRYPTO_mem_leaks(bio_err);
230 if (bio_err != NULL) {
231 BIO_free(bio_err);
232 bio_err = NULL;