Remove some unnecessary using statements.
authorCarl Hetherington <cth@carlh.net>
Wed, 15 Apr 2020 19:21:07 +0000 (21:21 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 16 Apr 2020 22:42:54 +0000 (00:42 +0200)
src/lib/config.cc
src/lib/crypto.cc
test/crypto_test.cc

index 7f32320dfb3f49e50fab88d2d20dcee39deb9e8b..7364a122c4998c877a7970331840e240c50ec146 100644 (file)
@@ -62,7 +62,6 @@ using boost::shared_ptr;
 using boost::optional;
 using boost::dynamic_pointer_cast;
 using boost::algorithm::trim;
-using boost::shared_array;
 using dcp::raw_convert;
 
 Config* Config::_instance = 0;
index b02a3d34c5959abb959a3c777a806fe569b82bfa..c67fc27fa17f9c5de899076ac1c70f54b79f112a 100644 (file)
@@ -29,7 +29,6 @@
 #include <boost/scoped_array.hpp>
 
 using std::string;
-using boost::shared_array;
 using namespace dcpomatic;
 
 /** The cipher that this code uses */
@@ -43,7 +42,7 @@ dcpomatic::random_iv ()
        RAND_bytes (iv.data().get(), iv.size());
        return iv;
 }
-       
+
 dcp::Data
 dcpomatic::encrypt (string plaintext, dcp::Data key, dcp::Data iv)
 {
@@ -101,7 +100,7 @@ dcpomatic::decrypt (dcp::Data ciphertext, dcp::Data key, dcp::Data iv)
        }
 
        int plaintext_len = len;
-       
+
        r = EVP_DecryptFinal_ex (ctx, plaintext.data().get() + len, &len);
        if (r != 1) {
                throw CryptoError ("could not finish decryption");
index 586535dfe3568332706485615cb5a798b470f0e4..d96deafa4e023258afea0be39fe678a447db2792 100644 (file)
@@ -26,7 +26,6 @@
 
 using std::string;
 using std::list;
-using boost::shared_array;
 
 BOOST_AUTO_TEST_CASE (crypto_test)
 {