mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
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
This commit is contained in:
parent
8628f2c861
commit
1485e9236c
1 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue