diff --git a/Source/cryptalgo/SecureSocketPort.cpp b/Source/cryptalgo/SecureSocketPort.cpp index 0b5379583..c1a57eb56 100644 --- a/Source/cryptalgo/SecureSocketPort.cpp +++ b/Source/cryptalgo/SecureSocketPort.cpp @@ -1,4 +1,4 @@ -/* +/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * @@ -206,7 +206,6 @@ static int passwd_callback(char* buffer, int size, int /* flags */, void* passwo Key::Key(const string& fileName, const string& password) : _key(nullptr) { BIO* bio_key = BIO_new_file(fileName.c_str(), "rb"); - FILE* file = ::fopen(fileName.c_str(), "rt"); if (bio_key != nullptr) { _key = PEM_read_bio_PrivateKey(bio_key, NULL, passwd_callback, const_cast(static_cast(password.c_str())));