From f763e0b5ae74c67795d096c9029b5c61e891e68a Mon Sep 17 00:00:00 2001 From: Nils Larsch Date: Thu, 7 Apr 2005 22:53:35 +0000 Subject: make sure error queue is totally emptied PR: 359 --- crypto/conf/conf_lib.c | 2 +- crypto/conf/conf_mod.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/conf') diff --git a/crypto/conf/conf_lib.c b/crypto/conf/conf_lib.c index 6a3cf109dd..a55a5457c6 100644 --- a/crypto/conf/conf_lib.c +++ b/crypto/conf/conf_lib.c @@ -184,7 +184,7 @@ long CONF_get_number(LHASH *conf,const char *group,const char *name) if (status == 0) { /* This function does not believe in errors... */ - ERR_get_error(); + ERR_clear_error(); } return result; } diff --git a/crypto/conf/conf_mod.c b/crypto/conf/conf_mod.c index d45adea851..bae9fcaffa 100644 --- a/crypto/conf/conf_mod.c +++ b/crypto/conf/conf_mod.c @@ -254,7 +254,7 @@ static CONF_MODULE *module_load_dso(const CONF *cnf, char *name, char *value, path = NCONF_get_string(cnf, value, "path"); if (!path) { - ERR_get_error(); + ERR_clear_error(); path = name; } dso = DSO_load(NULL, path, NULL, 0); -- cgit v1.2.3