Install the legacy read callback on a BIO_METHOD.
Declared in <openssl/bio.h>
int
BIO_meth_set_read(
BIO_METHOD* biom,
int(* read)(BIO*, char*, int));
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| biom | Method table to update. |
| read | Callback implementing BIO_read()-style input. |