Lines Matching refs:new_bio
524 BIO *ret=NULL,*eoc=NULL,*bio,*new_bio; in BIO_dup_chain() local
528 if ((new_bio=BIO_new(bio->method)) == NULL) goto err; in BIO_dup_chain()
529 new_bio->callback=bio->callback; in BIO_dup_chain()
530 new_bio->cb_arg=bio->cb_arg; in BIO_dup_chain()
531 new_bio->init=bio->init; in BIO_dup_chain()
532 new_bio->shutdown=bio->shutdown; in BIO_dup_chain()
533 new_bio->flags=bio->flags; in BIO_dup_chain()
536 new_bio->num=bio->num; in BIO_dup_chain()
538 if (!BIO_dup_state(bio,(char *)new_bio)) in BIO_dup_chain()
540 BIO_free(new_bio); in BIO_dup_chain()
545 if (!CRYPTO_dup_ex_data(CRYPTO_EX_INDEX_BIO, &new_bio->ex_data, in BIO_dup_chain()
551 eoc=new_bio; in BIO_dup_chain()
556 BIO_push(eoc,new_bio); in BIO_dup_chain()
557 eoc=new_bio; in BIO_dup_chain()