Replace the message transfer callback used by the CMP client.

Synopsis

Declared in <openssl/cmp.h>

int
OSSL_CMP_CTX_set_transfer_cb(
    OSSL_CMP_CTX* ctx,
    OSSL_CMP_transfer_cb_t cb);

Return Value

1 on success, 0 on error.

Parameters

Name

Description

ctx

CMP context.

cb

Transfer callback, or NULL to restore the default HTTP transfer.

Created with MrDocs