diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-12-25 22:27:53 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-12-25 22:27:53 -0500 |
commit | 4232cfd40b692da38a3c3098af801d16ebb26852 (patch) | |
tree | 057ebacbf39dd09c62ada3ee4c8153161e31017b /emsa2.h | |
parent | b20a91f6b2f6a41cc10f9fe5da63fa91f7f081e4 (diff) | |
download | cryptopp-git-4232cfd40b692da38a3c3098af801d16ebb26852.tar.gz |
Fix failed self test under Clang (GH #533)
This may cause GH #300, "Clang 3.9 and missing member definitions for template classes" or GH #294, "Fix clang warnings about undefined variable templates in pkcspad.h" to resurface. Man I hope not...
Diffstat (limited to 'emsa2.h')
-rw-r--r-- | emsa2.h | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -8,6 +8,7 @@ #include "cryptlib.h"
#include "pubkey.h"
+#include "hashfwd.h"
#include "misc.h"
#ifdef CRYPTOPP_IS_DLL
@@ -47,15 +48,7 @@ public: };
// EMSA2HashId can be instantiated with the following classes.
-class SHA1;
-class SHA224;
-class SHA256;
-class SHA384;
-class SHA512;
-class RIPEMD128;
-class RIPEMD160;
-class Whirlpool;
-// end of list
+// SHA1, SHA224, SHA256, SHA384, SHA512, RIPEMD128, RIPEMD160, Whirlpool
#ifdef CRYPTOPP_IS_DLL
CRYPTOPP_DLL_TEMPLATE_CLASS EMSA2HashId<SHA1>;
|