diff options
Diffstat (limited to 'crypto/conf/conf_def.c')
-rw-r--r-- | crypto/conf/conf_def.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/conf/conf_def.c b/crypto/conf/conf_def.c index 20b0760fcd..31f2766246 100644 --- a/crypto/conf/conf_def.c +++ b/crypto/conf/conf_def.c @@ -192,7 +192,7 @@ static int def_load(CONF *conf, const char *name, long *line) #endif if (in == NULL) { - if(ERR_GET_REASON(ERR_peek_top_error()) == BIO_R_NO_SUCH_FILE) + if (ERR_GET_REASON(ERR_peek_last_error()) == BIO_R_NO_SUCH_FILE) CONFerr(CONF_F_CONF_LOAD,CONF_R_NO_SUCH_FILE); else CONFerr(CONF_F_CONF_LOAD,ERR_R_SYS_LIB); |