summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-09-13 17:06:14 +0200
committerunknown <msvensson@neptunus.(none)>2005-09-13 17:06:14 +0200
commit1485e9236c849008b459f407f9bdfe78bc0b13ff (patch)
treeda261b7ed79bb98ee6864cfa11a6417fada5702b /extra
parent8628f2c8614cecdbd12555d84d14d8027be1bee5 (diff)
downloadmariadb-git-1485e9236c849008b459f407f9bdfe78bc0b13ff.tar.gz
BUG#12526 yassl: Crashes in "integer.cpp"
- Avoid problem with "Sun C++ 5.6 2004/07/15" extra/yassl/taocrypt/src/integer.cpp: - Remove "inline" from the more advanced functions of class portable
Diffstat (limited to 'extra')
-rw-r--r--extra/yassl/taocrypt/src/integer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/extra/yassl/taocrypt/src/integer.cpp b/extra/yassl/taocrypt/src/integer.cpp
index 71324b04b92..01bd5b2ec94 100644
--- a/extra/yassl/taocrypt/src/integer.cpp
+++ b/extra/yassl/taocrypt/src/integer.cpp
@@ -568,13 +568,13 @@ public:
static word Add(word *C, const word *A, const word *B, unsigned int N);
static word Subtract(word *C, const word *A, const word*B, unsigned int N);
- static inline void Multiply2(word *C, const word *A, const word *B);
- static inline word Multiply2Add(word *C, const word *A, const word *B);
+ static void Multiply2(word *C, const word *A, const word *B);
+ static word Multiply2Add(word *C, const word *A, const word *B);
static void Multiply4(word *C, const word *A, const word *B);
static void Multiply8(word *C, const word *A, const word *B);
static inline unsigned int MultiplyRecursionLimit() {return 8;}
- static inline void Multiply2Bottom(word *C, const word *A, const word *B);
+ static void Multiply2Bottom(word *C, const word *A, const word *B);
static void Multiply4Bottom(word *C, const word *A, const word *B);
static void Multiply8Bottom(word *C, const word *A, const word *B);
static inline unsigned int MultiplyBottomRecursionLimit() {return 8;}
@@ -668,7 +668,7 @@ void Portable::Multiply2(word *C, const word *A, const word *B)
C[3] = t.GetHighHalf();
}
-inline void Portable::Multiply2Bottom(word *C, const word *A, const word *B)
+void Portable::Multiply2Bottom(word *C, const word *A, const word *B)
{
DWord t = DWord::Multiply(A[0], B[0]);
C[0] = t.GetLowHalf();