Peek at the earliest error and optionally return auxiliary data and flags.
Declared in <openssl/err.h>
unsigned long
ERR_peek_error_data(
char const** data,
int* flags);
Earliest error code, or 0 if the queue is empty (queue unchanged).
| Name | Description |
|---|---|
| data | Receives optional auxiliary data, or unchanged if NULL. |
| flags | Receives ERR_TXT_* flags for data, or unchanged if NULL. |