summaryrefslogtreecommitdiff
path: root/idea.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-06 04:04:03 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-06 04:04:03 -0400
commita62aee441fabfda28d581cee45d8ad0e6e812342 (patch)
treef2d2328ca6531f848ebbda56a44636b302c0b0e4 /idea.cpp
parent45323bddd83982a183714d91167194f73bab1440 (diff)
downloadcryptopp-git-a62aee441fabfda28d581cee45d8ad0e6e812342.tar.gz
Backed out use of "static const" to declare constant; switch to "enum" (Issue 255)
Diffstat (limited to 'idea.cpp')
-rw-r--r--idea.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/idea.cpp b/idea.cpp
index 96f946af..d0b8836f 100644
--- a/idea.cpp
+++ b/idea.cpp
@@ -7,9 +7,6 @@
NAMESPACE_BEGIN(CryptoPP)
-// Hack for OS X 10.5 ld, http://github.com/weidai11/cryptopp/issues/255
-static const size_t s_unused = IDEA::KEYLENGTH;
-
static const int IDEA_KEYLEN=(6*IDEA::ROUNDS+4); // key schedule length in # of word16s
#define low16(x) ((x)&0xffff) // compiler should be able to optimize this away if word is 16 bits