Install the destroy callback invoked when a BIO of this method is freed.
Declared in <openssl/bio.h>
int
BIO_meth_set_destroy(
BIO_METHOD* biom,
int(* destroy)(BIO*));
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| biom | Method being configured. |
| destroy | Callback that releases method-specific state for a BIO; may be NULL. |