summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL/crypto/engine
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@canonical.com>2014-10-07 00:30:44 +0000
committerSteve Langasek <steve.langasek@canonical.com>2014-10-07 00:30:44 +0000
commite34fca619d8a75f3b67d59d45cdd9db4da2342e6 (patch)
treefab53b36b97b7f27f3ea2bf68370e8a8bf1dae1a /Cryptlib/OpenSSL/crypto/engine
parentc61b06bc69b046c0e85b3e3cec684bd9aa17ff19 (diff)
downloadefi-boot-shim-e34fca619d8a75f3b67d59d45cdd9db4da2342e6.tar.gz
efi-boot-shim-e34fca619d8a75f3b67d59d45cdd9db4da2342e6.zip
Drop prototypes patch, apparently not needed upstream
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/engine')
-rwxr-xr-xCryptlib/OpenSSL/crypto/engine/eng_openssl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Cryptlib/OpenSSL/crypto/engine/eng_openssl.c b/Cryptlib/OpenSSL/crypto/engine/eng_openssl.c
index f1307039..7c139ae2 100755
--- a/Cryptlib/OpenSSL/crypto/engine/eng_openssl.c
+++ b/Cryptlib/OpenSSL/crypto/engine/eng_openssl.c
@@ -374,15 +374,11 @@ 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