From ba5af017cc72b206d880ba000711d1817f2e63c1 Mon Sep 17 00:00:00 2001 From: Alex Fabijanic Date: Wed, 27 Sep 2017 21:56:40 -0500 Subject: [PATCH] remove unneeded include and duplicate declaration --- Crypto/include/Poco/Crypto/EVPPKey.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Crypto/include/Poco/Crypto/EVPPKey.h b/Crypto/include/Poco/Crypto/EVPPKey.h index f52aaf6fc..46d2a63e4 100644 --- a/Crypto/include/Poco/Crypto/EVPPKey.h +++ b/Crypto/include/Poco/Crypto/EVPPKey.h @@ -28,7 +28,6 @@ #include #include #include -#include namespace Poco { @@ -182,7 +181,7 @@ private: EVP_PKEY* pKey = getFunc ? EVP_PKEY_new() : (EVP_PKEY*)*ppKey; if (pKey) { - FILE* pFile = fopen(keyFile.c_str(), "r"); + pFile = fopen(keyFile.c_str(), "r"); if (pFile) { pem_password_cb* pCB = pass.empty() ? (pem_password_cb*)0 : &passCB;