summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL/crypto/conf/conf_sap.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_sap.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_sap.c')
-rw-r--r--Cryptlib/OpenSSL/crypto/conf/conf_sap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cryptlib/OpenSSL/crypto/conf/conf_sap.c b/Cryptlib/OpenSSL/crypto/conf/conf_sap.c
index 760dc263..35f4a272 100644
--- a/Cryptlib/OpenSSL/crypto/conf/conf_sap.c
+++ b/Cryptlib/OpenSSL/crypto/conf/conf_sap.c
@@ -93,12 +93,14 @@ void OPENSSL_config(const char *config_name)
{
BIO *bio_err;
ERR_load_crypto_strings();
+#ifndef OPENSSL_NO_STDIO
if ((bio_err=BIO_new_fp(stderr, BIO_NOCLOSE)) != NULL)
{
BIO_printf(bio_err,"Auto configuration failed\n");
ERR_print_errors(bio_err);
BIO_free(bio_err);
}
+#endif
exit(1);
}