From: Dr. Stephen Henson Date: Thu, 13 Jan 2011 15:41:58 +0000 (+0000) Subject: stop warning with no-engine X-Git-Tag: OpenSSL-fips-2_0-rc1~877 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d3f17e5ed3dee78b6f17d517fa11a771d85dc0b8;p=oweals%2Fopenssl.git stop warning with no-engine --- diff --git a/crypto/asn1/ameth_lib.c b/crypto/asn1/ameth_lib.c index 626e15cc9c..b5854f101a 100644 --- a/crypto/asn1/ameth_lib.c +++ b/crypto/asn1/ameth_lib.c @@ -174,7 +174,6 @@ static const EVP_PKEY_ASN1_METHOD *pkey_asn1_find(int type) const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find(ENGINE **pe, int type) { const EVP_PKEY_ASN1_METHOD *t; - ENGINE *e; for (;;) { @@ -186,6 +185,7 @@ const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find(ENGINE **pe, int type) if (pe) { #ifndef OPENSSL_NO_ENGINE + ENGINE *e; /* type will contain the final unaliased type */ e = ENGINE_get_pkey_asn1_meth_engine(type); if (e)