aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/conf/conf.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-05-13 11:37:32 +0000
committerUlf Möller <ulf@openssl.org>1999-05-13 11:37:32 +0000
commit7d7d2cbcb02206f3393681f2bce198e11e2e185b (patch)
tree93410fafc5aa977c748ea492994da3f581d11278 /crypto/conf/conf.c
parent8d111f4a476896a417069d16597ce3009f9bb992 (diff)
downloadopenssl-7d7d2cbcb02206f3393681f2bce198e11e2e185b.tar.gz
VMS support.
Submitted by: Richard Levitte <richard@levitte.org>
Diffstat (limited to 'crypto/conf/conf.c')
-rw-r--r--crypto/conf/conf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/conf/conf.c b/crypto/conf/conf.c
index 28f08b3c39..177e76a175 100644
--- a/crypto/conf/conf.c
+++ b/crypto/conf/conf.c
@@ -105,7 +105,11 @@ LHASH *CONF_load(LHASH *h, char *file, long *line)
goto err;
}
+#ifdef VMS
+ in=fopen(file,"r");
+#else
in=fopen(file,"rb");
+#endif
if (in == NULL)
{
SYSerr(SYS_F_FOPEN,get_last_sys_error());