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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
2431ad9a
Commit
2431ad9a
authored
Dec 14, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.0-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
parents
e034a115
cc6f9041
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
extra/yassl/src/ssl.cpp
extra/yassl/src/ssl.cpp
+2
-2
sql/net_serv.cc
sql/net_serv.cc
+4
-1
No files found.
extra/yassl/src/ssl.cpp
View file @
2431ad9a
...
@@ -122,7 +122,7 @@ int read_file(SSL_CTX* ctx, const char* file, int format, CertType type)
...
@@ -122,7 +122,7 @@ int read_file(SSL_CTX* ctx, const char* file, int format, CertType type)
EVP_BytesToKey
(
info
.
name
,
"MD5"
,
info
.
iv
,
(
byte
*
)
password
,
EVP_BytesToKey
(
info
.
name
,
"MD5"
,
info
.
iv
,
(
byte
*
)
password
,
passwordSz
,
1
,
key
,
iv
);
passwordSz
,
1
,
key
,
iv
);
STL
::
auto_ptr
<
BulkCipher
>
cipher
;
my
STL
::
auto_ptr
<
BulkCipher
>
cipher
;
if
(
strncmp
(
info
.
name
,
"DES-CBC"
,
7
)
==
0
)
if
(
strncmp
(
info
.
name
,
"DES-CBC"
,
7
)
==
0
)
cipher
.
reset
(
NEW_YS
DES
);
cipher
.
reset
(
NEW_YS
DES
);
else
if
(
strncmp
(
info
.
name
,
"DES-EDE3-CBC"
,
13
)
==
0
)
else
if
(
strncmp
(
info
.
name
,
"DES-EDE3-CBC"
,
13
)
==
0
)
...
@@ -138,7 +138,7 @@ int read_file(SSL_CTX* ctx, const char* file, int format, CertType type)
...
@@ -138,7 +138,7 @@ int read_file(SSL_CTX* ctx, const char* file, int format, CertType type)
return
SSL_BAD_FILE
;
return
SSL_BAD_FILE
;
}
}
cipher
->
set_decryptKey
(
key
,
info
.
iv
);
cipher
->
set_decryptKey
(
key
,
info
.
iv
);
STL
::
auto_ptr
<
x509
>
newx
(
NEW_YS
x509
(
x
->
get_length
()));
my
STL
::
auto_ptr
<
x509
>
newx
(
NEW_YS
x509
(
x
->
get_length
()));
cipher
->
decrypt
(
newx
->
use_buffer
(),
x
->
get_buffer
(),
cipher
->
decrypt
(
newx
->
use_buffer
(),
x
->
get_buffer
(),
x
->
get_length
());
x
->
get_length
());
ysDelete
(
x
);
ysDelete
(
x
);
...
...
sql/net_serv.cc
View file @
2431ad9a
...
@@ -597,7 +597,10 @@ net_real_write(NET *net,const char *packet,ulong len)
...
@@ -597,7 +597,10 @@ net_real_write(NET *net,const char *packet,ulong len)
}
}
#endif
/* HAVE_COMPRESS */
#endif
/* HAVE_COMPRESS */
/* DBUG_DUMP("net",packet,len); */
#ifdef DEBUG_DATA_PACKETS
DBUG_DUMP
(
"data"
,
packet
,
len
);
#endif
#ifndef NO_ALARM
#ifndef NO_ALARM
thr_alarm_init
(
&
alarmed
);
thr_alarm_init
(
&
alarmed
);
if
(
net_blocking
)
if
(
net_blocking
)
...
...
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