summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorunknown <svoj@mysql.com>2005-05-20 01:44:05 +0500
committerunknown <svoj@mysql.com>2005-05-20 01:44:05 +0500
commit4679c7a8fe36819df60ecf769351e10efa911548 (patch)
tree770cdc4d2e51e24961a9a65462ebcfce7bb2f858 /extra
parent9c1bc4252f925a6cf43433492a49f3107ec1b67a (diff)
downloadmariadb-git-4679c7a8fe36819df60ecf769351e10efa911548.tar.gz
WL#2286 - Compile MySQL w/YASSL support
compilation fixes extra/yassl/src/cert_wrapper.cpp: yaSSL compilation fix on nocona extra/yassl/taocrypt/include/error.hpp: yaSSL compilation fix extra/yassl/taocrypt/include/misc.hpp: yaSSL compilation fix on many platforms tools/Makefile.am: mysqltestmanager with yaSSL enabled compilation fix on FreeBSD 5.3
Diffstat (limited to 'extra')
-rw-r--r--extra/yassl/src/cert_wrapper.cpp4
-rw-r--r--extra/yassl/taocrypt/include/error.hpp2
-rw-r--r--extra/yassl/taocrypt/include/misc.hpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/extra/yassl/src/cert_wrapper.cpp b/extra/yassl/src/cert_wrapper.cpp
index ab3cb471990..98861d01287 100644
--- a/extra/yassl/src/cert_wrapper.cpp
+++ b/extra/yassl/src/cert_wrapper.cpp
@@ -273,8 +273,8 @@ int CertManager::SetPrivateKey(const x509& key)
privateKey_.assign(key.get_buffer(), key.get_length());
// set key type
- if (x509* cert = list_.front()) {
- TaoCrypt::Source source(cert->get_buffer(), cert->get_length());
+ if (x509* cert509 = list_.front()) {
+ TaoCrypt::Source source(cert509->get_buffer(), cert509->get_length());
TaoCrypt::CertDecoder cert(source, false);
cert.DecodeToKey();
if (int err = cert.GetError().What())
diff --git a/extra/yassl/taocrypt/include/error.hpp b/extra/yassl/taocrypt/include/error.hpp
index cb7f82731c7..6170d0349b5 100644
--- a/extra/yassl/taocrypt/include/error.hpp
+++ b/extra/yassl/taocrypt/include/error.hpp
@@ -65,7 +65,7 @@ UNKOWN_HASH_E = 1034, // "unknown hash OID"
DSA_SZ_E = 1035, // "bad DSA r or s size"
BEFORE_DATE_E = 1036, // "before date in the future"
AFTER_DATE_E = 1037, // "after date in the past"
-SIG_CONFIRM_E = 1038, // "bad signature confirmation"
+SIG_CONFIRM_E = 1038 // "bad signature confirmation"
};
diff --git a/extra/yassl/taocrypt/include/misc.hpp b/extra/yassl/taocrypt/include/misc.hpp
index 01a3e8ee731..b9cc9a6fe71 100644
--- a/extra/yassl/taocrypt/include/misc.hpp
+++ b/extra/yassl/taocrypt/include/misc.hpp
@@ -97,7 +97,7 @@ typedef unsigned int word32;
typedef word32 word;
typedef word64 dword;
#else
- typedef word8 hword;
+ typedef byte hword;
typedef word16 word;
typedef word32 dword;
#endif