summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL/crypto/x509v3/v3_pci.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/x509v3/v3_pci.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/x509v3/v3_pci.c')
-rw-r--r--[-rwxr-xr-x]Cryptlib/OpenSSL/crypto/x509v3/v3_pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cryptlib/OpenSSL/crypto/x509v3/v3_pci.c b/Cryptlib/OpenSSL/crypto/x509v3/v3_pci.c
index 823e9afc..b6f5a612 100755..100644
--- a/Cryptlib/OpenSSL/crypto/x509v3/v3_pci.c
+++ b/Cryptlib/OpenSSL/crypto/x509v3/v3_pci.c
@@ -157,6 +157,7 @@ static int process_pci_value(CONF_VALUE *val,
}
OPENSSL_free(tmp_data2);
}
+#ifndef OPENSSL_NO_STDIO
else if (strncmp(val->value, "file:", 5) == 0)
{
unsigned char buf[2048];
@@ -194,6 +195,7 @@ static int process_pci_value(CONF_VALUE *val,
goto err;
}
}
+#endif
else if (strncmp(val->value, "text:", 5) == 0)
{
val_len = strlen(val->value + 5);