diff options
author | Crayon2000 <crayon1@rocketmail.com> | 2016-01-12 12:29:44 -0500 |
---|---|---|
committer | Crayon2000 <crayon1@rocketmail.com> | 2016-01-12 12:29:44 -0500 |
commit | 0892ee411b9f3f1d3923ac25a6eb4c3b336c36b2 (patch) | |
tree | 537cbb18bb82150f059d6ff96e09f852ed6eb5ec /seckey.h | |
parent | 249f1b9788ad271b80aa18c236fd2953f8c6b0fe (diff) | |
download | cryptopp-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.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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
|