Commit 03da458a authored by Richard Levitte's avatar Richard Levitte
Browse files

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.
parent f48158b8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);