From: Richard Levitte Date: Fri, 12 Nov 1999 02:19:05 +0000 (+0000) Subject: It's possible that considering the configuration file as a binary file X-Git-Tag: OpenSSL_0_9_5beta1~436 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=03da458a06de15733aa344a469d82bebce256f75 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. --- diff --git a/crypto/conf/conf.c b/crypto/conf/conf.c index 25b3ddfea9..13db218a29 100644 --- a/crypto/conf/conf.c +++ b/crypto/conf/conf.c @@ -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);