Replace the message transfer callback used by the CMP client.
Declared in <openssl/cmp.h>
int
OSSL_CMP_CTX_set_transfer_cb(
OSSL_CMP_CTX* ctx,
OSSL_CMP_transfer_cb_t cb);
1 on success, 0 on error.
| Name | Description |
|---|---|
| ctx | CMP context. |
| cb | Transfer callback, or NULL to restore the default HTTP transfer. |