summaryrefslogtreecommitdiffstats
path: root/src/crypto/err/err.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/err/err.c')
-rw-r--r--src/crypto/err/err.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crypto/err/err.c b/src/crypto/err/err.c
index b879a22..de1b4a7 100644
--- a/src/crypto/err/err.c
+++ b/src/crypto/err/err.c
@@ -333,6 +333,10 @@ int ERR_get_next_error_library(void) {
return ret;
}
+void ERR_remove_state(unsigned long pid) {
+ ERR_clear_error();
+}
+
void ERR_clear_system_error(void) {
errno = 0;
}