BIO_dup_chain

Duplicate an entire BIO chain, copying type-specific state where supported.

Synopsis

Declared in <openssl/bio.h>

BIO*
BIO_dup_chain(BIO* in);

Return Value

Newly allocated chain mirroring in, or NULL on failure.

Parameters

NameDescription
inHead of the chain to duplicate.