SSL_CTX_set_async_callback_arg

Set the user argument passed to the context's asynchronous completion callback.

Synopsis

Declared in <openssl/ssl.h>

int
SSL_CTX_set_async_callback_arg(
    SSL_CTX* ctx,
    void* arg);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxSSL context whose async callback receives arg.
argPointer forwarded to the async callback when a crypto operation completes.