summaryrefslogtreecommitdiff
path: root/pssr.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-12-25 22:27:53 -0500
committerJeffrey Walton <noloader@gmail.com>2017-12-25 22:27:53 -0500
commit4232cfd40b692da38a3c3098af801d16ebb26852 (patch)
tree057ebacbf39dd09c62ada3ee4c8153161e31017b /pssr.cpp
parentb20a91f6b2f6a41cc10f9fe5da63fa91f7f081e4 (diff)
downloadcryptopp-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 'pssr.cpp')
-rw-r--r--pssr.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/pssr.cpp b/pssr.cpp
index 914b921f..b8863fce 100644
--- a/pssr.cpp
+++ b/pssr.cpp
@@ -2,13 +2,15 @@
#include "pch.h"
#include "pssr.h"
+#include "emsa2.h"
+#include "ripemd.h"
+#include "whrlpool.h"
#include "misc.h"
#include <functional>
NAMESPACE_BEGIN(CryptoPP)
-// more in dll.cpp
template<> const byte EMSA2HashId<RIPEMD160>::id = 0x31;
template<> const byte EMSA2HashId<RIPEMD128>::id = 0x32;
template<> const byte EMSA2HashId<Whirlpool>::id = 0x37;