mirror of
https://github.com/openssl/openssl.git
synced 2024-11-29 21:14:01 +08:00
It's possible that considering the configuration file as a binary file
works on Unix and MS-DOS/Windows. It does not under VMS, so open it as text.
This commit is contained in:
parent
f48158b854
commit
03da458a06
@ -88,7 +88,11 @@ LHASH *CONF_load(LHASH *h, const char *file, long *line)
|
||||
LHASH *ltmp;
|
||||
BIO *in=NULL;
|
||||
|
||||
#ifdef VMS
|
||||
in=BIO_new_file(file, "r");
|
||||
#else
|
||||
in=BIO_new_file(file, "rb");
|
||||
#endif
|
||||
if (in == NULL)
|
||||
{
|
||||
CONFerr(CONF_F_CONF_LOAD,ERR_R_SYS_LIB);
|
||||
|
Loading…
Reference in New Issue
Block a user