From 172647da18bb3017f2a532b86d8083559081e017 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Tue, 7 Oct 2014 09:40:06 -0700 Subject: Restore debian/patches/prototypes, which still is needed on shim 0.7 but only detected on the buildds. --- Cryptlib/OpenSSL/crypto/engine/eng_openssl.c | 4 ++++ 1 file changed, 4 insertions(+) mode change 100755 => 100644 Cryptlib/OpenSSL/crypto/engine/eng_openssl.c (limited to 'Cryptlib/OpenSSL/crypto/engine') diff --git a/Cryptlib/OpenSSL/crypto/engine/eng_openssl.c b/Cryptlib/OpenSSL/crypto/engine/eng_openssl.c old mode 100755 new mode 100644 index 7c139ae2..f1307039 --- a/Cryptlib/OpenSSL/crypto/engine/eng_openssl.c +++ b/Cryptlib/OpenSSL/crypto/engine/eng_openssl.c @@ -374,11 +374,15 @@ static EVP_PKEY *openssl_load_privkey(ENGINE *eng, const char *key_id, BIO *in; EVP_PKEY *key; fprintf(stderr, "(TEST_ENG_OPENSSL_PKEY)Loading Private key %s\n", key_id); +#ifndef OPENSSL_NO_STDIO in = BIO_new_file(key_id, "r"); if (!in) return NULL; key = PEM_read_bio_PrivateKey(in, NULL, 0, NULL); BIO_free(in); +#else + return NULL; +#endif return key; } #endif -- cgit v1.2.3