Format a CMP log record (component, location, severity, message) onto a BIO.
Declared in <openssl/cmp_util.h>
int
OSSL_CMP_print_to_bio(
BIO* bio,
char const* component,
char const* file,
int line,
OSSL_CMP_severity level,
char const* msg);
1 on success, or 0 on write failure.
| Name | Description |
|---|---|
| bio | Destination BIO. |
| component | Function or module name; if NULL/empty/"(unknown function)", "CMP" is used. |
| file | Source file pathname, or NULL. |
| line | Source line number, or 0 if unknown. |
| level | Severity (OSSL_CMP_LOG_*). |
| msg | NUL-terminated message text. |