summaryrefslogtreecommitdiff
path: root/extra/yassl/taocrypt/src/misc.cpp
diff options
context:
space:
mode:
authorunknown <svoj@mysql.com>2005-05-25 00:15:06 +0500
committerunknown <svoj@mysql.com>2005-05-25 00:15:06 +0500
commit1ae7e564ec2df510afbe35f704dcf435b24aaa74 (patch)
tree816e402c0c60c638984277fb64ba0d6f7a4c35c1 /extra/yassl/taocrypt/src/misc.cpp
parent0e4afc241205719296c39b0b1b0694d2baaccf21 (diff)
downloadmariadb-git-1ae7e564ec2df510afbe35f704dcf435b24aaa74.tar.gz
Upgrade yaSSL to 0.9.9.
Diffstat (limited to 'extra/yassl/taocrypt/src/misc.cpp')
-rw-r--r--extra/yassl/taocrypt/src/misc.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/extra/yassl/taocrypt/src/misc.cpp b/extra/yassl/taocrypt/src/misc.cpp
index e4573abac3f..37d1bd1b14d 100644
--- a/extra/yassl/taocrypt/src/misc.cpp
+++ b/extra/yassl/taocrypt/src/misc.cpp
@@ -27,36 +27,9 @@
#include <new> // for NewHandler
-void* operator new(size_t sz, TaoCrypt::new_t)
-{
- void* ptr = ::operator new(sz);
-
- if (!ptr) abort();
-
- return ptr;
-}
-
-void* operator new[](size_t sz, TaoCrypt::new_t tc)
-{
-#if defined(_MSC_VER) && (_MSC_VER < 1300)
- void* ptr = ::operator new(sz); // no ::operator new[]
-#else
- void* ptr = ::operator new[](sz);
-#endif
-
- if (!ptr) abort();
-
- return ptr;
-}
-
-
-
namespace TaoCrypt {
-new_t tc; // for library new
-
-
inline void XorWords(word* r, const word* a, unsigned int n)
{
for (unsigned int i=0; i<n; i++)