diff options
author | Jack Lloyd <[email protected]> | 2017-04-04 09:19:53 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-04-04 09:19:53 -0400 |
commit | 6a7cb70c7bf740af222e727e9c6d49e9bf67c999 (patch) | |
tree | aa4eaf1518b9217fb71173c39331e7e09fea58c0 /src/lib/pk_pad | |
parent | 0ed70091083c3a2ead5080868370a59202a8dc0f (diff) | |
parent | fbef72e11c483fae16c32480cf84253a56d0ee25 (diff) |
Merge GH #965 Various code cleanups
Diffstat (limited to 'src/lib/pk_pad')
-rw-r--r-- | src/lib/pk_pad/eme_raw/eme_raw.h | 2 | ||||
-rw-r--r-- | src/lib/pk_pad/emsa.cpp | 2 | ||||
-rw-r--r-- | src/lib/pk_pad/emsa.h | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/pk_pad/eme_raw/eme_raw.h b/src/lib/pk_pad/eme_raw/eme_raw.h index ec698f759..50b9b6703 100644 --- a/src/lib/pk_pad/eme_raw/eme_raw.h +++ b/src/lib/pk_pad/eme_raw/eme_raw.h @@ -16,7 +16,7 @@ class BOTAN_DLL EME_Raw final : public EME public: size_t maximum_input_size(size_t i) const override; - EME_Raw() {} + EME_Raw() = default; private: secure_vector<uint8_t> pad(const uint8_t[], size_t, size_t, RandomNumberGenerator&) const override; diff --git a/src/lib/pk_pad/emsa.cpp b/src/lib/pk_pad/emsa.cpp index 3851f85a7..94274916e 100644 --- a/src/lib/pk_pad/emsa.cpp +++ b/src/lib/pk_pad/emsa.cpp @@ -33,8 +33,6 @@ namespace Botan { -EMSA::~EMSA() {} - EMSA* get_emsa(const std::string& algo_spec) { SCAN_Name req(algo_spec); diff --git a/src/lib/pk_pad/emsa.h b/src/lib/pk_pad/emsa.h index 4b932fd78..437f84d89 100644 --- a/src/lib/pk_pad/emsa.h +++ b/src/lib/pk_pad/emsa.h @@ -55,7 +55,7 @@ class BOTAN_DLL EMSA const secure_vector<uint8_t>& raw, size_t key_bits) = 0; - virtual ~EMSA(); + virtual ~EMSA() = default; /** * @return a new object representing the same encoding method as *this |