summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL/crypto/conf/conf_lib.c
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2015-05-10 10:03:20 -0400
committerMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2015-05-10 10:03:20 -0400
commit86a08c30b489047d29cd84188c30fe2bc13ff1e9 (patch)
treeecfef5f1808b45a6e28b6524d70a3b24d40170fd /Cryptlib/OpenSSL/crypto/conf/conf_lib.c
parent37358ddb1cdda9a677d34f0635113bf2d542e025 (diff)
downloadefi-boot-shim-86a08c30b489047d29cd84188c30fe2bc13ff1e9.tar.gz
efi-boot-shim-86a08c30b489047d29cd84188c30fe2bc13ff1e9.zip
Reapplying all patches
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/conf/conf_lib.c')
-rw-r--r--Cryptlib/OpenSSL/crypto/conf/conf_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cryptlib/OpenSSL/crypto/conf/conf_lib.c b/Cryptlib/OpenSSL/crypto/conf/conf_lib.c
index 2a3399d2..7f54d3d8 100644
--- a/Cryptlib/OpenSSL/crypto/conf/conf_lib.c
+++ b/Cryptlib/OpenSSL/crypto/conf/conf_lib.c
@@ -92,11 +92,13 @@ LHASH *CONF_load(LHASH *conf, const char *file, long *eline)
LHASH *ltmp;
BIO *in=NULL;
+#ifndef OPENSSL_NO_STDIO
#ifdef OPENSSL_SYS_VMS
in=BIO_new_file(file, "r");
#else
in=BIO_new_file(file, "rb");
#endif
+#endif
if (in == NULL)
{
CONFerr(CONF_F_CONF_LOAD,ERR_R_SYS_LIB);