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
1de997d8
Commit
1de997d8
authored
Jun 08, 2010
by
Davi Arnaut
Browse files
Options
Browse Files
Download
Plain Diff
Merge of mysql-5.0-bugteam into mysql-5.1-bugteam.
parents
8f4a3373
514e407c
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
75 additions
and
63 deletions
+75
-63
config/ac-macros/ssl.m4
config/ac-macros/ssl.m4
+10
-1
extra/yassl/CMakeLists.txt
extra/yassl/CMakeLists.txt
+1
-1
extra/yassl/certs/ca-cert.pem
extra/yassl/certs/ca-cert.pem
+21
-21
extra/yassl/certs/client-cert.der
extra/yassl/certs/client-cert.der
+0
-0
extra/yassl/certs/client-cert.pem
extra/yassl/certs/client-cert.pem
+9
-9
extra/yassl/certs/dsa-cert.pem
extra/yassl/certs/dsa-cert.pem
+9
-9
extra/yassl/certs/server-cert.pem
extra/yassl/certs/server-cert.pem
+10
-10
extra/yassl/include/lock.hpp
extra/yassl/include/lock.hpp
+3
-3
extra/yassl/src/Makefile.am
extra/yassl/src/Makefile.am
+1
-1
extra/yassl/src/lock.cpp
extra/yassl/src/lock.cpp
+2
-2
extra/yassl/taocrypt/CMakeLists.txt
extra/yassl/taocrypt/CMakeLists.txt
+2
-0
extra/yassl/taocrypt/benchmark/Makefile.am
extra/yassl/taocrypt/benchmark/Makefile.am
+1
-1
extra/yassl/taocrypt/src/Makefile.am
extra/yassl/taocrypt/src/Makefile.am
+2
-1
extra/yassl/taocrypt/test/Makefile.am
extra/yassl/taocrypt/test/Makefile.am
+1
-1
extra/yassl/taocrypt/test/memory.cpp
extra/yassl/taocrypt/test/memory.cpp
+1
-1
extra/yassl/testsuite/Makefile.am
extra/yassl/testsuite/Makefile.am
+1
-1
include/my_sys.h
include/my_sys.h
+1
-1
No files found.
config/ac-macros/ssl.m4
View file @
1de997d8
...
...
@@ -38,11 +38,20 @@ AC_DEFUN([MYSQL_USE_BUNDLED_YASSL], [
esac
AC_SUBST([yassl_taocrypt_extra_cxxflags])
# Thread safe check
yassl_thread_cxxflags=""
yassl_thread_safe=""
if test "$with_server" != "no" -o "$THREAD_SAFE_CLIENT" != "no"; then
yassl_thread_cxxflags="-DYASSL_THREAD_SAFE"
yassl_thread_safe="(thread-safe)"
fi
AC_SUBST([yassl_thread_cxxflags])
# Link extra/yassl/include/openssl subdir to include/
yassl_h_ln_cmd="\$(LN) -s \$(top_srcdir)/extra/yassl/include/openssl openssl"
AC_SUBST(yassl_h_ln_cmd)
AC_MSG_RESULT([using bundled yaSSL])
AC_MSG_RESULT([using bundled yaSSL
$yassl_thread_safe
])
])
...
...
extra/yassl/CMakeLists.txt
View file @
1de997d8
...
...
@@ -17,7 +17,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/extra/yassl/include
${
CMAKE_SOURCE_DIR
}
/extra/yassl/taocrypt/include
${
CMAKE_SOURCE_DIR
}
/extra/yassl/taocrypt/mySTL
)
ADD_DEFINITIONS
(
"-D_LIB -DYASSL_PREFIX"
)
ADD_DEFINITIONS
(
"-D_LIB -DYASSL_PREFIX
-DYASSL_THREAD_SAFE
"
)
SET
(
YASSL_SOURCES src/buffer.cpp src/cert_wrapper.cpp src/crypto_wrapper.cpp src/handshake.cpp src/lock.cpp
src/log.cpp src/socket_wrapper.cpp src/ssl.cpp src/timer.cpp src/yassl_error.cpp
...
...
extra/yassl/certs/ca-cert.pem
View file @
1de997d8
...
...
@@ -5,49 +5,49 @@ Certificate:
Signature Algorithm: md5WithRSAEncryption
Issuer: C=US, ST=Oregon, L=Portland, O=sawtooth, CN=www.sawtooth-consulting.com/emailAddress=info@yassl.com
Validity
Not Before:
Jan 18 20:12:32
2005 GMT
Not After :
Oct 15 20:12:32 2007
GMT
Not Before:
Mar 7 03:10:11
2005 GMT
Not After :
Apr 1 03:10:11 2046
GMT
Subject: C=US, ST=Oregon, L=Portland, O=sawtooth, CN=www.sawtooth-consulting.com/emailAddress=info@yassl.com
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public Key: (512 bit)
Modulus (512 bit):
00:
cf:2b:14:00:b0:3c:df:6f:9e:91:40:ec:c8:f6
:
90:b2:5b:b4:70:80:a5:a4:0a:73:c7:44:f3:2a:26
:
c4:2f:f1:3a:f1:c3:c4:ac:fc:c3:d2:c3:bf:f5:d7
:
6a:38:42:ad:22:ab:c8:c4:4b:4c:1d:16:af:05:34
:
7d:79:97:5e:e1
00:
ef:c1:e3:9a:3c:6e:6e:cb:26:6f:05:be:e0:cb
:
57:a0:4b:68:e6:1b:f9:95:db:01:92:aa:6e:a6:b5
:
2d:b1:2b:50:fd:db:13:f2:c5:d8:b8:4f:75:28:53
:
72:e8:e5:11:9d:bb:c3:4f:4f:09:fd:4c:e7:46:d5
:
1d:bb:35:02:af
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Subject Key Identifier:
CB:0F:1F:E9:A2:76:71:C9:E6:E8:23:A6:C1:18:B7:CC:44:CF:B9:84
1D:EF:A1:B8:81:78:12:47:E8:57:06:08:74:18:F7:D3:AA:D8:F7:BD
X509v3 Authority Key Identifier:
keyid:
CB:0F:1F:E9:A2:76:71:C9:E6:E8:23:A6:C1:18:B7:CC:44:CF:B9:84
keyid:
1D:EF:A1:B8:81:78:12:47:E8:57:06:08:74:18:F7:D3:AA:D8:F7:BD
DirName:/C=US/ST=Oregon/L=Portland/O=sawtooth/CN=www.sawtooth-consulting.com/emailAddress=info@yassl.com
serial:00
X509v3 Basic Constraints:
CA:TRUE
Signature Algorithm: md5WithRSAEncryption
27:f7:3d:fb:39:6f:73:a4:86:f3:a0:48:22:60:84:e9:5c:3d
:
28:36:05:16:44:98:07:87:e1:5d:b5:f3:a7:bc:33:5f:f4:29
:
a9:5f:87:33:df:e6:8e:bd:e2:f3:0a:c8:00:69:ae:3d:41:47
:
03:ea:0b:4c:67:45:4b:ab:f3:39
d9:77:e3:07:d9:2e:ec:2f:9b:8e:9e:ca:b4:00:0b:ef:c7:74
:
cb:f4:f6:44:2f:02:75:17:a5:74:3e:26:b2:26:fd:1f:ab:3a
:
df:d5:e3:05:14:08:d0:8c:1d:c9:3e:e1:59:6f:b3:38:5d:af
:
78:60:e3:c5:6a:69:96:80:7d:00
-----BEGIN CERTIFICATE-----
MIIC7zCCApmgAwIBAgIBADANBgkqhkiG9w0BAQQFADCBiTELMAkGA1UEBhMCVVMx
DzANBgNVBAgTBk9yZWdvbjERMA8GA1UEBxMIUG9ydGxhbmQxETAPBgNVBAoTCHNh
d3Rvb3RoMSQwIgYDVQQDExt3d3cuc2F3dG9vdGgtY29uc3VsdGluZy5jb20xHTAb
BgkqhkiG9w0BCQEWDmluZm9AeWFzc2wuY29tMB4XDTA1MD
ExODIwMTIzMloXDTA3
M
TAxNTIwMTIzMl
owgYkxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24xETAP
BgkqhkiG9w0BCQEWDmluZm9AeWFzc2wuY29tMB4XDTA1MD
MwNzAzMTAxMVoXDTQ2
M
DQwMTAzMTAxMV
owgYkxCzAJBgNVBAYTAlVTMQ8wDQYDVQQIEwZPcmVnb24xETAP
BgNVBAcTCFBvcnRsYW5kMREwDwYDVQQKEwhzYXd0b290aDEkMCIGA1UEAxMbd3d3
LnNhd3Rvb3RoLWNvbnN1bHRpbmcuY29tMR0wGwYJKoZIhvcNAQkBFg5pbmZvQHlh
c3NsLmNvbTBcMA0GCSqGSIb3DQEBAQUAA0sAMEgCQQD
PKxQAsDzfb56RQOzI9pCy
W7RwgKWkCnPHRPMqJsQv8Trxw8Ss/MPSw7/112o4Qq0iq8jES0wdFq8FNH15l17h
AgMBAAGjgekwgeYwHQYDVR0OBBYEF
MsPH+midnHJ5ugjpsEYt8xEz7mE
MIG2BgNV
HSMEga4wgauAF
MsPH+midnHJ5ugjpsEYt8xEz7mE
oYGPpIGMMIGJMQswCQYDVQQG
c3NsLmNvbTBcMA0GCSqGSIb3DQEBAQUAA0sAMEgCQQD
vweOaPG5uyyZvBb7gy1eg
S2jmG/mV2wGSqm6mtS2xK1D92xPyxdi4T3UoU3Lo5RGdu8NPTwn9TOdG1R27NQKv
AgMBAAGjgekwgeYwHQYDVR0OBBYEF
B3vobiBeBJH6FcGCHQY99Oq2Pe9
MIG2BgNV
HSMEga4wgauAF
B3vobiBeBJH6FcGCHQY99Oq2Pe9
oYGPpIGMMIGJMQswCQYDVQQG
EwJVUzEPMA0GA1UECBMGT3JlZ29uMREwDwYDVQQHEwhQb3J0bGFuZDERMA8GA1UE
ChMIc2F3dG9vdGgxJDAiBgNVBAMTG3d3dy5zYXd0b290aC1jb25zdWx0aW5nLmNv
bTEdMBsGCSqGSIb3DQEJARYOaW5mb0B5YXNzbC5jb22CAQAwDAYDVR0TBAUwAwEB
/zANBgkqhkiG9w0BAQQFAANBA
Cf3Pfs5b3OkhvOgSCJghOlcPSg2BRZEmAeH4V21
86e8M1/0KalfhzPf5o694vMKyABprj1BRwPqC0xnRUur8zk
=
/zANBgkqhkiG9w0BAQQFAANBA
Nl34wfZLuwvm46eyrQAC+/HdMv09kQvAnUXpXQ+
JrIm/R+rOt/V4wUUCNCMHck+4Vlvszhdr3hg48VqaZaAfQA
=
-----END CERTIFICATE-----
extra/yassl/certs/client-cert.der
View file @
1de997d8
No preview for this file type
extra/yassl/certs/client-cert.pem
View file @
1de997d8
...
...
@@ -5,8 +5,8 @@ Certificate:
Signature Algorithm: md5WithRSAEncryption
Issuer: C=US, ST=Oregon, L=Portland, O=yaSSL, CN=www.yassl.com/emailAddress=info@yassl.com
Validity
Not Before:
Jan 18 19:33:15
2005 GMT
Not After :
Oct 15 19:33:15 2007
GMT
Not Before:
Mar 7 03:00:31
2005 GMT
Not After :
Apr 1 03:00:31 2046
GMT
Subject: C=US, ST=Oregon, L=Portland, O=yaSSL, CN=www.yassl.com/emailAddress=info@yassl.com
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
...
...
@@ -29,15 +29,15 @@ Certificate:
X509v3 Basic Constraints:
CA:TRUE
Signature Algorithm: md5WithRSAEncryption
c5:82:26:0c:1f:61:01:14:b0:ce:18:99:64:91:0e:f1:f8:90
:
3e:a3:0e:be:38:7c:97:ba:05:c9:2a:dc:dd:62:2d:12:61:7
9:
7a:86:b1:97:5d:1e:e8:f7:e8:32:34:f7:8f:b1:08:3d:13:71
:
a6:3c:15:91:85:12:35:6e:78:87
59:19:ae:1b:4e:65:9e:ca:f1:b8:3d:ff:c7:5e:15:86:10:97
:
8c:3e:22:32:ab:4e:75:a7:70:83:f2:fb:2f:af:fe:26:28:e
9:
4f:d4:c9:49:7c:6f:51:7e:2a:ff:a0:5b:25:45:2e:66:d9:0d
:
92:94:e5:b8:60:c6:67:1a:f3:03
-----BEGIN CERTIFICATE-----
MIICtzCCAmGgAwIBAgIBADANBgkqhkiG9w0BAQQFADB4MQswCQYDVQQGEwJVUzEP
MA0GA1UECBMGT3JlZ29uMREwDwYDVQQHEwhQb3J0bGFuZDEOMAwGA1UEChMFeWFT
U0wxFjAUBgNVBAMTDXd3dy55YXNzbC5jb20xHTAbBgkqhkiG9w0BCQEWDmluZm9A
eWFzc2wuY29tMB4XDTA1MD
ExODE5MzMxNVoXDTA3MTAxNTE5MzMxN
VoweDELMAkG
eWFzc2wuY29tMB4XDTA1MD
MwNzAzMDAzMVoXDTQ2MDQwMTAzMDAzM
VoweDELMAkG
A1UEBhMCVVMxDzANBgNVBAgTBk9yZWdvbjERMA8GA1UEBxMIUG9ydGxhbmQxDjAM
BgNVBAoTBXlhU1NMMRYwFAYDVQQDEw13d3cueWFzc2wuY29tMR0wGwYJKoZIhvcN
AQkBFg5pbmZvQHlhc3NsLmNvbTBcMA0GCSqGSIb3DQEBAQUAA0sAMEgCQQDNH3hH
...
...
@@ -47,6 +47,6 @@ wP/OtbStMIGiBgNVHSMEgZowgZeAFK4lXvpNo1srh97xKvVCwP/OtbStoXykejB4
MQswCQYDVQQGEwJVUzEPMA0GA1UECBMGT3JlZ29uMREwDwYDVQQHEwhQb3J0bGFu
ZDEOMAwGA1UEChMFeWFTU0wxFjAUBgNVBAMTDXd3dy55YXNzbC5jb20xHTAbBgkq
hkiG9w0BCQEWDmluZm9AeWFzc2wuY29tggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZI
hvcNAQEEBQADQQ
DFgiYMH2EBFLDOGJlkkQ7x+JA+ow6+OHyXugXJKtzdYi0SYXl6
hrGXXR7o9+gyNPePsQg9E3GmPBWRhRI1bniH
hvcNAQEEBQADQQ
BZGa4bTmWeyvG4Pf/HXhWGEJeMPiIyq051p3CD8vsvr/4mKOlP
1MlJfG9Rfir/oFslRS5m2Q2SlOW4YMZnGvMD
-----END CERTIFICATE-----
extra/yassl/certs/dsa-cert.pem
View file @
1de997d8
...
...
@@ -5,8 +5,8 @@ Certificate:
Signature Algorithm: dsaWithSHA1
Issuer: C=US, ST=Oregon, L=Portland, O=yaSSL DSA, CN=yaSSL DSA/emailAddress=info@yassl.com
Validity
Not Before:
Jan 23 22:54:51
2005 GMT
Not After :
Oct 20 22:54:51 2007
GMT
Not Before:
Mar 7 03:22:00
2005 GMT
Not After :
Apr 1 03:22:00 2046
GMT
Subject: C=US, ST=Oregon, L=Portland, O=yaSSL DSA, CN=yaSSL DSA/emailAddress=info@yassl.com
Subject Public Key Info:
Public Key Algorithm: dsaEncryption
...
...
@@ -43,14 +43,14 @@ Certificate:
X509v3 Basic Constraints:
CA:TRUE
Signature Algorithm: dsaWithSHA1
30:2
b:02:14:74:46:9f:91:7b:24:17:3b:ee:0f:10:e3:76:62
:
f4:dc:81:e6:fd:fe:02:13:08:f4:87:0a:ab:ba:9c:de:3a:69
:
72:59:b8:ec:e9:57:f4:bf:37
30:2
c:02:14:7e:5e:94:fc:7f:ca:81:ab:b3:32:f7:21:83:48
:
48:5f:0a:f1:13:ca:02:14:73:54:32:14:51:22:bf:0b:ec:d7
:
6a:6a:fa:a7:1d:46:b4:c2:a3:b5
-----BEGIN CERTIFICATE-----
MIIDM
T
CCAvKgAwIBAgIBADAJBgcqhkjOOAQDMHgxCzAJBgNVBAYTAlVTMQ8wDQYD
MIIDM
j
CCAvKgAwIBAgIBADAJBgcqhkjOOAQDMHgxCzAJBgNVBAYTAlVTMQ8wDQYD
VQQIEwZPcmVnb24xETAPBgNVBAcTCFBvcnRsYW5kMRIwEAYDVQQKEwl5YVNTTCBE
U0ExEjAQBgNVBAMTCXlhU1NMIERTQTEdMBsGCSqGSIb3DQEJARYOaW5mb0B5YXNz
bC5jb20wHhcNMDUwM
TIzMjI1NDUxWhcNMDcxMDIwMjI1NDUx
WjB4MQswCQYDVQQG
bC5jb20wHhcNMDUwM
zA3MDMyMjAwWhcNNDYwNDAxMDMyMjAw
WjB4MQswCQYDVQQG
EwJVUzEPMA0GA1UECBMGT3JlZ29uMREwDwYDVQQHEwhQb3J0bGFuZDESMBAGA1UE
ChMJeWFTU0wgRFNBMRIwEAYDVQQDEwl5YVNTTCBEU0ExHTAbBgkqhkiG9w0BCQEW
DmluZm9AeWFzc2wuY29tMIHwMIGoBgcqhkjOOAQBMIGcAkEAmSlpgMk8mGhFqYL+
...
...
@@ -63,6 +63,6 @@ IeRhRHPp4jCBogYDVR0jBIGaMIGXgBS++Yxd1hy07oHdNlYKIeRhRHPp4qF8pHow
eDELMAkGA1UEBhMCVVMxDzANBgNVBAgTBk9yZWdvbjERMA8GA1UEBxMIUG9ydGxh
bmQxEjAQBgNVBAoTCXlhU1NMIERTQTESMBAGA1UEAxMJeWFTU0wgRFNBMR0wGwYJ
KoZIhvcNAQkBFg5pbmZvQHlhc3NsLmNvbYIBADAMBgNVHRMEBTADAQH/MAkGByqG
SM44BAMDL
gAwKwIUdEafkXskFzvuDxDjdmL03IHm/f4CEwj0hwqrupzeOmlyWbjs
6Vf0vzc=
SM44BAMDL
wAwLAIUfl6U/H/KgauzMvchg0hIXwrxE8oCFHNUMhRRIr8L7Ndqavqn
HUa0wqO1
-----END CERTIFICATE-----
extra/yassl/certs/server-cert.pem
View file @
1de997d8
...
...
@@ -5,8 +5,8 @@ Certificate:
Signature Algorithm: md5WithRSAEncryption
Issuer: C=US, ST=Oregon, L=Portland, O=sawtooth, CN=www.sawtooth-consulting.com/emailAddress=info@yassl.com
Validity
Not Before:
Jan 18 20:50:59
2005 GMT
Not After :
Oct 15 20:50:59 2007
GMT
Not Before:
Mar 8 03:00:47
2005 GMT
Not After :
Apr 2 03:00:47 2046
GMT
Subject: C=US, ST=Oregon, L=Portland, O=taoSoftDev, CN=www.taosoftdev.com/emailAddress=info@yassl.com
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
...
...
@@ -19,20 +19,20 @@ Certificate:
f2:25:93:22:e7
Exponent: 65537 (0x10001)
Signature Algorithm: md5WithRSAEncryption
08:36:07:8c:3a:7f:f9:91:0a:82:d1:6a:c1:34:be:bc:2d:b2
:
20:98:dc:45:50:53:9c:66:e6:26:71:bd:fa:d2:b4:91:d3:53
:
c0:20:05:c0:b6:84:9a:5f:3f:61:75:f5:fd:c6:ec:e2:f6:9f
:
a2:13:17:a9:b7:83:60:cc:cb:eb
36:72:12:3b:ac:e4:58:83:09:86:4f:71:2a:3a:0d:8a:05:27
:
75:f3:3e:62:4f:ab:b8:70:20:cd:ad:70:ab:91:11:68:f8:82
:
33:e2:78:85:a8:16:f5:66:bd:68:2c:5a:26:15:12:1e:6e:83
:
c7:6d:62:b9:c3:ff:e1:86:e4:e6
-----BEGIN CERTIFICATE-----
MIIB9zCCAaECAQEwDQYJKoZIhvcNAQEEBQAwgYkxCzAJBgNVBAYTAlVTMQ8wDQYD
VQQIEwZPcmVnb24xETAPBgNVBAcTCFBvcnRsYW5kMREwDwYDVQQKEwhzYXd0b290
aDEkMCIGA1UEAxMbd3d3LnNhd3Rvb3RoLWNvbnN1bHRpbmcuY29tMR0wGwYJKoZI
hvcNAQkBFg5pbmZvQHlhc3NsLmNvbTAeFw0wNTA
xMTgyMDUwNTlaFw0wNzEwMTUy
M
DUwNTl
aMIGCMQswCQYDVQQGEwJVUzEPMA0GA1UECBMGT3JlZ29uMREwDwYDVQQH
hvcNAQkBFg5pbmZvQHlhc3NsLmNvbTAeFw0wNTA
zMDgwMzAwNDdaFw00NjA0MDIw
M
zAwNDd
aMIGCMQswCQYDVQQGEwJVUzEPMA0GA1UECBMGT3JlZ29uMREwDwYDVQQH
EwhQb3J0bGFuZDETMBEGA1UEChMKdGFvU29mdERldjEbMBkGA1UEAxMSd3d3LnRh
b3NvZnRkZXYuY29tMR0wGwYJKoZIhvcNAQkBFg5pbmZvQHlhc3NsLmNvbTBcMA0G
CSqGSIb3DQEBAQUAA0sAMEgCQQCkaLu8tydfPPV4xhqvuZX8fmEfqIEKykOImgPg
0KZ5cBY0uXx1VMpwGWY4vm4ofqX/azyDLzlCwxXzvfIlkyLnAgMBAAEwDQYJKoZI
hvcNAQEEBQADQQA
INgeMOn/5kQqC0WrBNL68LbIgmNxFUFOcZuYmcb360rSR01PA
IAXAtoSaXz9hdfX9xuzi9p+iExept4NgzMvr
hvcNAQEEBQADQQA
2chI7rORYgwmGT3EqOg2KBSd18z5iT6u4cCDNrXCrkRFo+IIz
4niFqBb1Zr1oLFomFRIeboPHbWK5w//hhuTm
-----END CERTIFICATE-----
extra/yassl/include/lock.hpp
View file @
1de997d8
...
...
@@ -27,7 +27,7 @@
namespace
yaSSL
{
#ifdef
MULTI_THREADED
#ifdef
YASSL_THREAD_SAFE
#ifdef _WIN32
#include <windows.h>
...
...
@@ -69,7 +69,7 @@ namespace yaSSL {
};
#endif // _WIN32
#else //
MULTI_THREADED
(WE'RE SINGLE)
#else //
YASSL_THREAD_SAFE
(WE'RE SINGLE)
class
Mutex
{
public:
...
...
@@ -79,7 +79,7 @@ namespace yaSSL {
};
};
#endif //
MULTI_THREADED
#endif //
YASSL_THREAD_SAFE
...
...
extra/yassl/src/Makefile.am
View file @
1de997d8
...
...
@@ -5,7 +5,7 @@ libyassl_la_SOURCES = buffer.cpp cert_wrapper.cpp crypto_wrapper.cpp \
handshake.cpp lock.cpp log.cpp socket_wrapper.cpp ssl.cpp
\
template_instnt.cpp timer.cpp yassl_imp.cpp yassl_error.cpp yassl_int.cpp
EXTRA_DIST
=
$(
wildcard
../include/
*
.hpp
)
$(
wildcard
../include/openssl/
*
.h
)
AM_CXXFLAGS
=
-DYASSL_PURE_C
-DYASSL_PREFIX
AM_CXXFLAGS
=
-DYASSL_PURE_C
-DYASSL_PREFIX
@yassl_thread_cxxflags@
# Don't update the files from bitkeeper
%
::
SCCS/s.%
...
...
extra/yassl/src/lock.cpp
View file @
1de997d8
...
...
@@ -26,7 +26,7 @@
namespace
yaSSL
{
#ifdef
MULTI_THREADED
#ifdef
YASSL_THREAD_SAFE
#ifdef _WIN32
Mutex
::
Mutex
()
...
...
@@ -79,7 +79,7 @@ namespace yaSSL {
#endif // _WIN32
#endif //
MULTI_THREADED
#endif //
YASSL_THREAD_SAFE
...
...
extra/yassl/taocrypt/CMakeLists.txt
View file @
1de997d8
...
...
@@ -16,6 +16,8 @@
INCLUDE_DIRECTORIES
(
${
CMAKE_SOURCE_DIR
}
/extra/yassl/taocrypt/mySTL
${
CMAKE_SOURCE_DIR
}
/extra/yassl/taocrypt/include
)
ADD_DEFINITIONS
(
"-DYASSL_THREAD_SAFE"
)
SET
(
TAOCRYPT_SOURCES src/aes.cpp src/aestables.cpp src/algebra.cpp src/arc4.cpp src/asn.cpp src/coding.cpp
src/des.cpp src/dh.cpp src/dsa.cpp src/file.cpp src/hash.cpp src/integer.cpp src/md2.cpp
src/md4.cpp src/md5.cpp src/misc.cpp src/random.cpp src/ripemd.cpp src/rsa.cpp src/sha.cpp
...
...
extra/yassl/taocrypt/benchmark/Makefile.am
View file @
1de997d8
...
...
@@ -2,7 +2,7 @@ INCLUDES = -I$(srcdir)/../include -I$(srcdir)/../mySTL
noinst_PROGRAMS
=
benchmark
benchmark_SOURCES
=
benchmark.cpp
benchmark_LDADD
=
$(top_builddir)
/extra/yassl/taocrypt/src/libtaocrypt.la
benchmark_CXXFLAGS
=
-DYASSL_PURE_C
benchmark_CXXFLAGS
=
-DYASSL_PURE_C
@yassl_thread_cxxflags@
EXTRA_DIST
=
benchmark.dsp rsa1024.der dh1024.der dsa1024.der make.bat
# Don't update the files from bitkeeper
...
...
extra/yassl/taocrypt/src/Makefile.am
View file @
1de997d8
...
...
@@ -8,7 +8,8 @@ libtaocrypt_la_SOURCES = aes.cpp aestables.cpp algebra.cpp arc4.cpp \
random.cpp ripemd.cpp rsa.cpp sha.cpp template_instnt.cpp
\
tftables.cpp twofish.cpp
libtaocrypt_la_CXXFLAGS
=
@yassl_taocrypt_extra_cxxflags@
-DYASSL_PURE_C
libtaocrypt_la_CXXFLAGS
=
@yassl_taocrypt_extra_cxxflags@
-DYASSL_PURE_C
\
@yassl_thread_cxxflags@
EXTRA_DIST
=
$(
wildcard
../include/
*
.hpp
)
...
...
extra/yassl/taocrypt/test/Makefile.am
View file @
1de997d8
...
...
@@ -2,7 +2,7 @@ INCLUDES = -I$(srcdir)/../include -I$(srcdir)/../mySTL
noinst_PROGRAMS
=
test
test_SOURCES
=
test.cpp
test_LDADD
=
$(top_builddir)
/extra/yassl/taocrypt/src/libtaocrypt.la
test_CXXFLAGS
=
-DYASSL_PURE_C
test_CXXFLAGS
=
-DYASSL_PURE_C
@yassl_thread_cxxflags@
EXTRA_DIST
=
make.bat
# Don't update the files from bitkeeper
...
...
extra/yassl/taocrypt/test/memory.cpp
View file @
1de997d8
...
...
@@ -13,7 +13,7 @@
To use MemoryTracker merely add this file to your project
No need to instantiate anything
If your app is multi threaded define
MULTI_THREADED
If your app is multi threaded define
YASSL_THREAD_SAFE
*********************************************************************/
...
...
extra/yassl/testsuite/Makefile.am
View file @
1de997d8
...
...
@@ -4,7 +4,7 @@ testsuite_SOURCES = testsuite.cpp ../taocrypt/test/test.cpp \
../examples/client/client.cpp ../examples/server/server.cpp
\
../examples/echoclient/echoclient.cpp
\
../examples/echoserver/echoserver.cpp
testsuite_CXXFLAGS
=
-DYASSL_PURE_C
-DYASSL_PREFIX
-DNO_MAIN_DRIVER
testsuite_CXXFLAGS
=
-DYASSL_PURE_C
-DYASSL_PREFIX
-DNO_MAIN_DRIVER
@yassl_thread_cxxflags@
testsuite_LDADD
=
$(top_builddir)
/extra/yassl/src/libyassl.la
\
$(top_builddir)
/extra/yassl/taocrypt/src/libtaocrypt.la
EXTRA_DIST
=
testsuite.dsp test.hpp input quit make.bat
...
...
include/my_sys.h
View file @
1de997d8
...
...
@@ -50,7 +50,7 @@ extern int NEAR my_errno; /* Last error in mysys */
#define MYSYS_PROGRAM_USES_CURSES() { error_handler_hook = my_message_curses; mysys_uses_curses=1; }
#define MYSYS_PROGRAM_DONT_USE_CURSES() { error_handler_hook = my_message_no_curses; mysys_uses_curses=0;}
#define MY_INIT(name)
;
{ my_progname= name; my_init(); }
#define MY_INIT(name)
{ my_progname= name; my_init(); }
#define MY_FILE_ERROR ((size_t) -1)
...
...
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