Allocate a new BIO for method using the given library context.

Synopsis

Declared in <openssl/bio.h>

BIO*
BIO_new_ex(
    OSSL_LIB_CTX* libctx,
    BIO_METHOD const* method);

Return Value

New BIO, or NULL on allocation failure.

Parameters

Name

Description

libctx

Library context associated with the BIO, or NULL for the default.

method

BIO method that defines the BIO's behaviour.

Created with MrDocs