Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
a1359760
Commit
a1359760
authored
Jun 15, 2005
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gcc 2.96 fixes (workarounds for compiler bugs in namespace handling)
parent
3ece42e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
extra/yassl/include/yassl_int.hpp
extra/yassl/include/yassl_int.hpp
+6
-1
extra/yassl/include/yassl_types.hpp
extra/yassl/include/yassl_types.hpp
+10
-1
No files found.
extra/yassl/include/yassl_int.hpp
View file @
a1359760
...
...
@@ -164,7 +164,12 @@ private:
// openSSL bignum
struct
BIGNUM
{
Integer
int_
;
/*
gcc 2.96 fix: because of two Integer classes (yaSSL::Integer and
TaoCrypt::Integer), we need to explicitly state the namespace
here to let gcc 2.96 deduce the correct type.
*/
yaSSL
::
Integer
int_
;
void
assign
(
const
byte
*
b
,
uint
s
)
{
int_
.
assign
(
b
,
s
);
}
};
...
...
extra/yassl/include/yassl_types.hpp
View file @
a1359760
...
...
@@ -445,6 +445,15 @@ const opaque master_label[MASTER_LABEL_SZ + 1] = "master secret";
const
opaque
key_label
[
KEY_LABEL_SZ
+
1
]
=
"key expansion"
;
}
// naemspace
}
// namespace
#if __GNUC__ == 2 && __GNUC_MINOR__ <= 96
/*
gcc 2.96 bails out because of two declarations of byte: yaSSL::byte and
TaoCrypt::byte. TODO: define global types.hpp and move the declaration of
'byte' there.
*/
using
yaSSL
::
byte
;
#endif
#endif // yaSSL_TYPES_HPP
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment