summaryrefslogtreecommitdiff
path: root/seckey.h
diff options
context:
space:
mode:
authorCrayon2000 <crayon1@rocketmail.com>2016-01-12 12:29:44 -0500
committerCrayon2000 <crayon1@rocketmail.com>2016-01-12 12:29:44 -0500
commit0892ee411b9f3f1d3923ac25a6eb4c3b336c36b2 (patch)
tree537cbb18bb82150f059d6ff96e09f852ed6eb5ec /seckey.h
parent249f1b9788ad271b80aa18c236fd2953f8c6b0fe (diff)
downloadcryptopp-git-0892ee411b9f3f1d3923ac25a6eb4c3b336c36b2.tar.gz
C++Builder: The problem with the CRYPTOPP_CONSTANT macro was corrected properly
Diffstat (limited to 'seckey.h')
-rw-r--r--seckey.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/seckey.h b/seckey.h
index 01176913..a08eedee 100644
--- a/seckey.h
+++ b/seckey.h
@@ -194,13 +194,11 @@ public:
//! \details keylength is provided in bytes, not bits.
static size_t CRYPTOPP_API StaticGetValidKeyLength(size_t keylength)
{
-#if !defined(__BORLANDC__)
#if MIN_KEYLENGTH > 0
if (keylength < (size_t)MIN_KEYLENGTH)
return MIN_KEYLENGTH;
else
#endif
-#endif
if (keylength > (size_t)MAX_KEYLENGTH)
return (size_t)MAX_KEYLENGTH;
else