summaryrefslogtreecommitdiff
path: root/default.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-07-05 02:48:27 -0400
committerJeffrey Walton <noloader@gmail.com>2016-07-05 02:48:27 -0400
commitfb72dbc8cb750be749a4ec3e2f27d164fe89d431 (patch)
treec48373babb2bd4e03bd46d204bcd53824c959cfe /default.h
parent36a459130422d7e6b8b7a0f6f539b79a0ab32b23 (diff)
downloadcryptopp-git-fb72dbc8cb750be749a4ec3e2f27d164fe89d431.tar.gz
Add MacPorts GCC compiler and Clang integrated assembler support. This is a merge of the development branch 'clang-ia'
Diffstat (limited to 'default.h')
-rw-r--r--default.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/default.h b/default.h
index 00ec6647..6b30f2e4 100644
--- a/default.h
+++ b/default.h
@@ -48,7 +48,7 @@ private:
SecByteBlock m_passphrase;
CBC_Mode<DefaultBlockCipher>::Encryption m_cipher;
-#if (CRYPTOPP_GCC_VERSION >= 40500) || (CRYPTOPP_CLANG_VERSION >= 20800)
+#if (CRYPTOPP_GCC_VERSION >= 40500) || (CRYPTOPP_LLVM_CLANG_VERSION >= 20800)
} __attribute__((deprecated ("DefaultEncryptor will be changing in the near future because the algorithms are no longer secure")));
#elif (CRYPTOPP_GCC_VERSION)
} __attribute__((deprecated));
@@ -68,7 +68,7 @@ public:
//! \param attachment a BufferedTransformation to attach to this object
//! \param throwException a flag specifiying whether an Exception should be thrown on error
DefaultDecryptor(const char *passphrase, BufferedTransformation *attachment = NULL, bool throwException=true);
-
+
//! \brief Constructs a DefaultDecryptor
//! \param passphrase a byte string password
//! \param passphraseLength the length of the byte string password
@@ -79,7 +79,7 @@ public:
class Err : public Exception
{
public:
- Err(const std::string &s)
+ Err(const std::string &s)
: Exception(DATA_INTEGRITY_CHECK_FAILED, s) {}
};
class KeyBadErr : public Err {public: KeyBadErr() : Err("DefaultDecryptor: cannot decrypt message with this passphrase") {}};
@@ -101,7 +101,7 @@ private:
member_ptr<FilterWithBufferedInput> m_decryptor;
bool m_throwException;
-#if (CRYPTOPP_GCC_VERSION >= 40500) || (CRYPTOPP_CLANG_VERSION >= 20800)
+#if (CRYPTOPP_GCC_VERSION >= 40500) || (CRYPTOPP_LLVM_CLANG_VERSION >= 20800)
} __attribute__((deprecated ("DefaultDecryptor will be changing in the near future because the algorithms are no longer secure")));
#elif (CRYPTOPP_GCC_VERSION)
} __attribute__((deprecated));
@@ -139,7 +139,7 @@ protected:
private:
member_ptr<DefaultMAC> m_mac;
-#if (CRYPTOPP_GCC_VERSION >= 40500) || (CRYPTOPP_CLANG_VERSION >= 20800)
+#if (CRYPTOPP_GCC_VERSION >= 40500) || (CRYPTOPP_LLVM_CLANG_VERSION >= 20800)
} __attribute__((deprecated ("DefaultEncryptorWithMAC will be changing in the near future because the algorithms are no longer secure")));
#elif (CRYPTOPP_GCC_VERSION)
} __attribute__((deprecated));
@@ -188,7 +188,7 @@ private:
HashVerifier *m_hashVerifier;
bool m_throwException;
-#if (CRYPTOPP_GCC_VERSION >= 40500) || (CRYPTOPP_CLANG_VERSION >= 20800)
+#if (CRYPTOPP_GCC_VERSION >= 40500) || (CRYPTOPP_LLVM_CLANG_VERSION >= 20800)
} __attribute__((deprecated ("DefaultDecryptorWithMAC will be changing in the near future because the algorithms are no longer secure")));
#elif (CRYPTOPP_GCC_VERSION)
} __attribute__((deprecated));