aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-11-07 12:28:58 +0000
committerlloyd <[email protected]>2013-11-07 12:28:58 +0000
commitefc05f53973ec51a7092512247c6cdd270229d16 (patch)
treeed718bdd8aa203be882e8cd935c648513b8af73b
parent68a49885774fa0a78edbfeb92cb3ee608b413bc0 (diff)
Work around a strange bug where Clang won't find CCM_Mode::BS unless
it is non-static.
-rw-r--r--src/modes/aead/ccm/ccm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes/aead/ccm/ccm.h b/src/modes/aead/ccm/ccm.h
index d0a44a51d..a62c84f55 100644
--- a/src/modes/aead/ccm/ccm.h
+++ b/src/modes/aead/ccm/ccm.h
@@ -44,7 +44,7 @@ class BOTAN_DLL CCM_Mode : public AEAD_Mode
size_t tag_size() const { return m_tag_size; }
protected:
- static const size_t BS = 16; // intrinsic to CCM definition
+ const size_t BS = 16; // intrinsic to CCM definition
CCM_Mode(BlockCipher* cipher, size_t tag_size, size_t L);