diff options
author | Richard Levitte <levitte@openssl.org> | 1999-11-12 02:19:05 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 1999-11-12 02:19:05 +0000 |
commit | 03da458a06de15733aa344a469d82bebce256f75 (patch) | |
tree | f9497379af3115c25acbe2687ee79f7e149fa519 /crypto/conf/conf.c | |
parent | f48158b85413677b72a27dd262d1be2931e84a5a (diff) | |
download | openssl-03da458a06de15733aa344a469d82bebce256f75.tar.gz |
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.
Diffstat (limited to 'crypto/conf/conf.c')
-rw-r--r-- | crypto/conf/conf.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |