The unified diff between revisions [229d3942..] and [51f9ee51..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'include/cast128.h'

#
#
# patch "include/cast128.h"
#  from [04f8ca07c0f6e1829f70f2eaebf153c4df36fc09]
#    to [3ab5011603389f700aa77e2b3b7d2529b8c3648e]
#
============================================================
--- include/cast128.h	04f8ca07c0f6e1829f70f2eaebf153c4df36fc09
+++ include/cast128.h	3ab5011603389f700aa77e2b3b7d2529b8c3648e
@@ -13,7 +13,7 @@ namespace Botan {
 /*************************************************
 * CAST-128                                       *
 *************************************************/
-class CAST_128 : public BlockCipher
+class BOTAN_DLL CAST_128 : public BlockCipher
    {
    public:
       void clear() throw() { MK.clear(); RK.clear(); }
@@ -27,7 +27,10 @@ class CAST_128 : public BlockCipher

       static void key_schedule(u32bit[16], u32bit[4]);

-      static const u32bit S5[256], S6[256], S7[256], S8[256];
+      static const u32bit S5[256];
+      static const u32bit S6[256];
+      static const u32bit S7[256];
+      static const u32bit S8[256];

       SecureBuffer<u32bit, 16> MK, RK;
    };