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
e1e1f94f
Commit
e1e1f94f
authored
May 01, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused file and unnecessary #include
parent
93c563d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
69 deletions
+0
-69
mysys/md5_compute.cc
mysys/md5_compute.cc
+0
-68
sql/sql_partition.cc
sql/sql_partition.cc
+0
-1
No files found.
mysys/md5_compute.cc
deleted
100644 → 0
View file @
93c563d3
/* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA */
/**
@file
@brief
Wrapper functions for OpenSSL, YaSSL and MySQL's MD5
implementations. Also provides a Compatibility layer
to make available YaSSL's MD5 implementation.
*/
#include <my_global.h>
#include <my_md5.h>
#ifdef HAVE_YASSL
#include "md5.hpp"
/**
Compute MD5 message digest.
@param digest [out] Computed MD5 digest
@param buf [in] Message to be computed
@param len [in] Length of the message
@return void
*/
void
my_md5_hash
(
char
*
digest
,
const
char
*
buf
,
int
len
)
{
TaoCrypt
::
MD5
hasher
;
hasher
.
Update
((
TaoCrypt
::
byte
*
)
buf
,
len
);
hasher
.
Final
((
TaoCrypt
::
byte
*
)
digest
);
}
#endif
/* HAVE_YASSL */
/**
Wrapper function to compute MD5 message digest.
@param digest [out] Computed MD5 digest
@param buf [in] Message to be computed
@param len [in] Length of the message
@return void
*/
void
compute_md5_hash
(
char
*
digest
,
const
char
*
buf
,
int
len
)
{
#ifdef HAVE_YASSL
my_md5_hash
(
digest
,
buf
,
len
);
#else
MY_MD5_HASH
((
unsigned
char
*
)
digest
,
(
unsigned
char
const
*
)
buf
,
len
);
#endif
/* HAVE_YASSL */
}
sql/sql_partition.cc
View file @
e1e1f94f
...
@@ -57,7 +57,6 @@
...
@@ -57,7 +57,6 @@
#include "lock.h" // mysql_lock_remove
#include "lock.h" // mysql_lock_remove
#include "sql_show.h" // append_identifier
#include "sql_show.h" // append_identifier
#include <m_ctype.h>
#include <m_ctype.h>
#include "my_md5.h"
#include "transaction.h"
#include "transaction.h"
#include "debug_sync.h"
#include "debug_sync.h"
...
...
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