aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/conf/conf.c
diff options
context:
space:
mode:
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());