Retrieve application data previously stored on a BIO with BIO_set_ex_data().

Synopsis

Declared in <openssl/bio.h>

void*
BIO_get_ex_data(
    BIO const* bio,
    int idx);

Return Value

Stored pointer, or NULL if unset.

Parameters

Name

Description

bio

BIO to query.

idx

Ex‐data index from BIO_get_ex_new_index() or a class‐specific allocator.

Created with MrDocs