diff options
author | Jack Lloyd <[email protected]> | 2020-11-05 03:47:06 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2020-11-06 11:31:22 -0500 |
commit | a55e4b22b6cbeeb30ca787d4ea4e3933ccccbdf1 (patch) | |
tree | 3d066440f30d30a46179caded3f1273d06a4dd95 /src/lib/hash/md5 | |
parent | 7c27982e27b953682554de3c4b22843e0e7461e7 (diff) |
Remove deprecated headers, make more headers internal
Now modules default to internal headers instead of defaulting to public; making
a new public API should be a visible and intentional choice.
Brings the public header count from over 300 to around 150.
Also removes the deprecated tls_blocking interface
Diffstat (limited to 'src/lib/hash/md5')
-rw-r--r-- | src/lib/hash/md5/md5.cpp | 6 | ||||
-rw-r--r-- | src/lib/hash/md5/md5.h | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/src/lib/hash/md5/md5.cpp b/src/lib/hash/md5/md5.cpp index 590af4641..facac0e20 100644 --- a/src/lib/hash/md5/md5.cpp +++ b/src/lib/hash/md5/md5.cpp @@ -5,9 +5,9 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#include <botan/md5.h> -#include <botan/loadstor.h> -#include <botan/rotate.h> +#include <botan/internal/md5.h> +#include <botan/internal/loadstor.h> +#include <botan/internal/rotate.h> namespace Botan { diff --git a/src/lib/hash/md5/md5.h b/src/lib/hash/md5/md5.h index 182145523..26706121e 100644 --- a/src/lib/hash/md5/md5.h +++ b/src/lib/hash/md5/md5.h @@ -8,16 +8,14 @@ #ifndef BOTAN_MD5_H_ #define BOTAN_MD5_H_ -#include <botan/mdx_hash.h> - -BOTAN_FUTURE_INTERNAL_HEADER(md5.h) +#include <botan/internal/mdx_hash.h> namespace Botan { /** * MD5 */ -class BOTAN_PUBLIC_API(2,0) MD5 final : public MDx_HashFunction +class MD5 final : public MDx_HashFunction { public: std::string name() const override { return "MD5"; } |