Install the legacy read callback on a BIO_METHOD.

Synopsis

Declared in <openssl/bio.h>

int
BIO_meth_set_read(
    BIO_METHOD* biom,
    int(* read)(BIO*, char*, int));

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

biom

Method table to update.

read

Callback implementing BIO_read()‐style input.

Created with MrDocs