Install the destroy callback invoked when a BIO of this method is freed.

Synopsis

Declared in <openssl/bio.h>

int
BIO_meth_set_destroy(
    BIO_METHOD* biom,
    int(* destroy)(BIO*));

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

biom

Method being configured.

destroy

Callback that releases method‐specific state for a BIO; may be NULL.

Created with MrDocs