- NAME
- SYNOPSIS
- DESCRIPTION
- RETURN VALUES
- SEE ALSO
- HISTORY

# NAME

ERR_clear_error - clear the error queue

# SYNOPSIS

     #include <openssl/err.h>

     void ERR_clear_error(void);

# DESCRIPTION

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

# RETURN VALUES

`ERR_clear_error()` has no return value.

# SEE ALSO

err, ERR_get_error

# HISTORY

`ERR_clear_error()` is available in all versions of SSLeay and OpenSSL.