summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/conf/conf_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/src/crypto/conf/conf_lib.c')
-rw-r--r--lib/libssl/src/crypto/conf/conf_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/crypto/conf/conf_lib.c b/lib/libssl/src/crypto/conf/conf_lib.c
index 6a3cf109ddc..2a3399d269e 100644
--- a/lib/libssl/src/crypto/conf/conf_lib.c
+++ b/lib/libssl/src/crypto/conf/conf_lib.c
@@ -63,7 +63,7 @@
#include <openssl/conf_api.h>
#include <openssl/lhash.h>
-const char *CONF_version="CONF" OPENSSL_VERSION_PTEXT;
+const char CONF_version[]="CONF" OPENSSL_VERSION_PTEXT;
static CONF_METHOD *default_CONF_method=NULL;
@@ -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;
}