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