summaryrefslogtreecommitdiffstats
path: root/crypto/conf/conf_lib.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-04-07 22:53:35 +0000
committerNils Larsch <nils@openssl.org>2005-04-07 22:53:35 +0000
commitf763e0b5ae74c67795d096c9029b5c61e891e68a (patch)
treeefcfbda8d8f60aa958c080a184b469e01e9e8713 /crypto/conf/conf_lib.c
parenteb3eab20a86e3d06e949880e2a036a026dd1da91 (diff)
make sure error queue is totally emptied
PR: 359
Diffstat (limited to 'crypto/conf/conf_lib.c')
-rw-r--r--crypto/conf/conf_lib.c2
1 files changed, 1 insertions, 1 deletions
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;
}