Peek at the newest error and optionally return auxiliary data and flags.
Declared in <openssl/err.h>
unsigned long
ERR_peek_last_error_data(
char const** data,
int* flags);
Newest 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. |