projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f48158b
)
It's possible that considering the configuration file as a binary file
author
Richard Levitte
<levitte@openssl.org>
Fri, 12 Nov 1999 02:19:05 +0000
(
02:19
+0000)
committer
Richard Levitte
<levitte@openssl.org>
Fri, 12 Nov 1999 02:19:05 +0000
(
02:19
+0000)
works on Unix and MS-DOS/Windows. It does not under VMS, so open it
as text.
crypto/conf/conf.c
patch
|
blob
|
history
diff --git
a/crypto/conf/conf.c
b/crypto/conf/conf.c
index 25b3ddfea975fd5d6c8cd3262cfa9818bfc1a8d7..13db218a29efe9542d1b20bb84af29ebcfb64f26 100644
(file)
--- 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);