From cf04af93a47f02b010c7ab03af8a16fd77f975e1 Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 27 Apr 2017 22:31:10 +0200 Subject: [PATCH] Don't load OpenSSL config * Doesn't seem to be required for just doing some AES * OPENSSL_config(NULL) is deprecated anyways --- CMakeLists.txt | 2 +- util/openssl.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0f7ba0e..dd15d29 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,7 @@ set(META_APP_URL "https://github.com/${META_APP_AUTHOR}/${META_PROJECT_NAME}") set(META_APP_DESCRIPTION "C++ library to read/write passwords from/to encrypted files") set(META_VERSION_MAJOR 3) set(META_VERSION_MINOR 1) -set(META_VERSION_PATCH 3) +set(META_VERSION_PATCH 4) set(META_PUBLIC_SHARED_LIB_DEPENDS c++utilities) set(META_PUBLIC_STATIC_LIB_DEPENDS c++utilities_static) diff --git a/util/openssl.cpp b/util/openssl.cpp index 6b2b860..052fad0 100644 --- a/util/openssl.cpp +++ b/util/openssl.cpp @@ -23,8 +23,6 @@ void init() ERR_load_crypto_strings(); // load all digest and cipher algorithms OpenSSL_add_all_algorithms(); - // load config file, and other important initialisation - OPENSSL_config(NULL); } /*!