Allocate a new BIO for method using the given library context.
Declared in <openssl/bio.h>
BIO*
BIO_new_ex(
OSSL_LIB_CTX* libctx,
BIO_METHOD const* method);
New BIO, or NULL on allocation failure.
| Name | Description |
|---|---|
| libctx | Library context associated with the BIO, or NULL for the default. |
| method | BIO method that defines the BIO's behaviour. |