summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL/crypto/conf/conf_lib.c
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@canonical.com>2014-10-07 09:40:06 -0700
committerSteve Langasek <steve.langasek@canonical.com>2014-10-07 09:40:06 -0700
commit172647da18bb3017f2a532b86d8083559081e017 (patch)
tree18664982d411161f632081dc0c91ebbaf1e8a569 /Cryptlib/OpenSSL/crypto/conf/conf_lib.c
parentdb8383ad9f77dece4f6864834b11c904661eb580 (diff)
downloadefi-boot-shim-172647da18bb3017f2a532b86d8083559081e017.tar.gz
efi-boot-shim-172647da18bb3017f2a532b86d8083559081e017.zip
Restore debian/patches/prototypes, which still is needed on shim 0.7
but only detected on the buildds.
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/conf/conf_lib.c')
-rw-r--r--[-rwxr-xr-x]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 100755..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);