Lines Matching defs:bio_err
135 static BIO *bio_err=NULL;
147 if (bio_err == NULL)
148 bio_err=BIO_new_fp(stderr,BIO_NOCLOSE);
157 BIO_printf(bio_err,"test generation of DSA parameters\n");
159 BN_GENCB_set(&cb, dsa_cb, bio_err);
164 BIO_printf(bio_err,"seed\n");
167 BIO_printf(bio_err,"%02X%02X%02X%02X ",
170 BIO_printf(bio_err,"\ncounter=%d h=%ld\n",counter,h);
173 DSA_print(bio_err,dsa,0);
176 BIO_printf(bio_err,"counter should be 105\n");
181 BIO_printf(bio_err,"h should be 2\n");
189 BIO_printf(bio_err,"q value is wrong\n");
197 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);
228 CRYPTO_mem_leaks(bio_err);
229 if (bio_err != NULL)
231 BIO_free(bio_err);
232 bio_err = NULL;