From eb400912ddc1d4faa8a6624397371d2a0bf01ea0 Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Mon, 9 Jan 2017 00:17:34 +0300 Subject: [PATCH] Add dll export on some iterhash classes to fix CMake shared build. --- iterhash.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iterhash.h b/iterhash.h index bdfa05ab..ff30cd62 100644 --- a/iterhash.h +++ b/iterhash.h @@ -24,7 +24,7 @@ public: //! \details IteratedHashBase provides an interface for block-based iterated hashes //! \sa HashTransformation, MessageAuthenticationCode template -class CRYPTOPP_NO_VTABLE IteratedHashBase : public BASE +class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE IteratedHashBase : public BASE { public: typedef T HashWordType; @@ -98,7 +98,7 @@ private: //! \details IteratedHash provides a default implementation for block-based iterated hashes //! \sa HashTransformation, MessageAuthenticationCode template -class CRYPTOPP_NO_VTABLE IteratedHash : public IteratedHashBase +class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE IteratedHash : public IteratedHashBase { public: typedef T_Endianness ByteOrderClass; @@ -147,7 +147,7 @@ protected: //! \tparam T_StateAligned Flag indicating if state is 16-byte aligned //! \sa HashTransformation, MessageAuthenticationCode template -class CRYPTOPP_NO_VTABLE IteratedHashWithStaticTransform +class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE IteratedHashWithStaticTransform : public ClonableImpl, T_Transform> > { public: