ERR_GET_RFLAGS

Extract reason-flag bits (ERR_RFLAG_*) from a packed OpenSSL error code.

Synopsis

Declared in <openssl/err.h>

[[maybe_unused]]
static
int
ERR_GET_RFLAGS(unsigned long errcode);

NOTE

This entity may be unused, and the compiler will not warn about it.

Return Value

Flag bits shifted into place, or 0 for a recorded system error.

Parameters

NameDescription
errcodeError code as returned by ERR_get_error() or ERR_peek_error().