From 58365e5e7611b524362d6537a7f6dd8a0aae396f Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Mon, 29 Apr 2019 08:51:01 -0400 Subject: [PATCH] partial Merge #15919: Remove unused OpenSSL includes to make it more clear where OpenSSL is used a34081b7c3 Remove unused OpenSSL includes to make it more clear where OpenSSL is used (practicalswift) Pull request description: Remove unused OpenSSL includes to make it more clear where OpenSSL is used. Before this patch: ``` $ git grep '#include src/qt/paymentrequestplus.cpp:#include src/qt/paymentrequestplus.h:#include src/qt/paymentserver.cpp:#include src/qt/rpcconsole.cpp:#include src/qt/test/paymentservertests.cpp:#include src/qt/test/paymentservertests.cpp:#include src/qt/test/test_main.cpp:#include src/qt/winshutdownmonitor.cpp:#include src/random.cpp:#include src/random.cpp:#include src/random.cpp:#include src/test/crypto_tests.cpp:#include src/test/crypto_tests.cpp:#include ``` After this patch: ``` $ git grep '#include src/qt/paymentrequestplus.h:#include src/qt/paymentserver.cpp:#include src/qt/test/paymentservertests.cpp:#include src/qt/test/paymentservertests.cpp:#include src/qt/test/test_main.cpp:#include src/qt/winshutdownmonitor.cpp:#include src/random.cpp:#include src/random.cpp:#include src/random.cpp:#include ``` Removed: * `src/init.cpp:#include ` (unused since 5ecfa36fd01fc27475abbfcd53b4efb9da4a7398 (2016)) * `src/qt/rpcconsole.cpp:#include ` (unused since 5ecfa36fd01fc27475abbfcd53b4efb9da4a7398 (2016)) * `src/test/crypto_tests.cpp:#include ` (introduced unused in daa384120a63542257d4ca73047d775f16fac654 (2015)) * `src/test/crypto_tests.cpp:#include ` (introduced unused in daa384120a63542257d4ca73047d775f16fac654 (2015)) ACKs for commit a34081: MarcoFalke: utACK a34081b7c398847c37a587029c7ad7f3a3396c8e real-or-random: utACK a34081b fanquake: utACK a34081b Tree-SHA512: 8ab9699c063f2d0ed2d71738f20ac5c21336585f7f62fd3a4b23199a125ea3224725591d64171347465762181788fac1bc4ce13d8824090bf1a5ac71a66d6538 --- src/init.cpp | 1 - src/qt/rpcconsole.cpp | 2 -- src/test/crypto_tests.cpp | 1 - 3 files changed, 4 deletions(-) diff --git a/src/init.cpp b/src/init.cpp index 42cfbba556..58d3905772 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -99,7 +99,6 @@ #include #include #include -#include #if ENABLE_ZMQ #include diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index af78cb0ab9..5596ebc5ea 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -23,8 +23,6 @@ #include #include -#include - #include #ifdef ENABLE_WALLET diff --git a/src/test/crypto_tests.cpp b/src/test/crypto_tests.cpp index 1731677535..1ffb8829a3 100644 --- a/src/test/crypto_tests.cpp +++ b/src/test/crypto_tests.cpp @@ -21,7 +21,6 @@ #include #include -#include #include BOOST_FIXTURE_TEST_SUITE(crypto_tests, BasicTestingSetup)