ERR_CLEAR_ERROR(3) | Library Functions Manual | ERR_CLEAR_ERROR(3)

# NAME

`ERR_clear_error` — clear the OpenSSL error queue

# SYNOPSIS

library “libcrypto”
`#include <openssl/err.h>`

void
`ERR_clear_error`(void);

# DESCRIPTION

`ERR_clear_error`() empties the current thread's error queue.

# SEE ALSO

ERR(3), ERR_get_error(3)

# HISTORY

`ERR_clear_error`() first appeared in SSLeay 0.4.4 and has been available since OpenBSD 2.4.

June 8, 2025 | Debian