OSSL_SELF_TEST_get_callback

Retrieve the self-test callback previously set on a library context.

Synopsis

Declared in <openssl/self_test.h>

void
OSSL_SELF_TEST_get_callback(
    OSSL_LIB_CTX* libctx,
    OSSL_CALLBACK** cb,
    void** cbarg);

Parameters

NameDescription
libctxLibrary context, or NULL for the default.
cbAddress updated to the registered callback, or NULL if unset.
cbargAddress updated to the opaque argument passed to the callback, or NULL if unset.