From fd2cbd39525834762d4a2d35da2f7595c8ec20f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C4=83zvan=20Cojocaru?= <36885180+rzvncj@users.noreply.github.com> Date: Thu, 3 Oct 2019 11:54:34 +0300 Subject: Fix -Wundefined-var-template warning in Blowfish (PR #888) --- blowfish.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'blowfish.cpp') diff --git a/blowfish.cpp b/blowfish.cpp index c20643f1..5880aa4b 100644 --- a/blowfish.cpp +++ b/blowfish.cpp @@ -6,6 +6,12 @@ NAMESPACE_BEGIN(CryptoPP) +extern template const word32 Blowfish_Base::p_init[Blowfish_Info::ROUNDS+2]; +extern template const word32 Blowfish_Base::s_init[4*256]; + +extern template const word32 Blowfish_Base::p_init[BlowfishCompat_Info::ROUNDS+2]; +extern template const word32 Blowfish_Base::s_init[4*256]; + template void Blowfish_Base::UncheckedSetKey(const byte *key_string, unsigned int keylength, const NameValuePairs &) { -- cgit v1.2.1