ERR_CLEAR_ERROR(3) Library Functions Manual ERR_CLEAR_ERROR(3)

ERR_clear_errorclear the OpenSSL error queue

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

void
ERR_clear_error(void);

() empties the current thread's error queue.

ERR(3), ERR_get_error(3)

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

June 8, 2025 Debian