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
0ce8703e
Commit
0ce8703e
authored
Jan 05, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
password validation plugin API: renames
parent
5e17ca56
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
include/mysql/plugin_password_validation.h
include/mysql/plugin_password_validation.h
+3
-3
include/mysql/plugin_password_validation.h.pp
include/mysql/plugin_password_validation.h.pp
+1
-1
plugin/cracklib_password_check/cracklib_password_check.c
plugin/cracklib_password_check/cracklib_password_check.c
+1
-1
plugin/simple_password_check/simple_password_check.c
plugin/simple_password_check/simple_password_check.c
+1
-1
sql/sql_acl.cc
sql/sql_acl.cc
+2
-2
No files found.
include/mysql/plugin_password_validation.h
View file @
0ce8703e
...
...
@@ -17,9 +17,9 @@
/**
@file
Authentic
ation Plugin API.
Password Valid
ation Plugin API.
This file defines the API for server
authentic
ation plugins.
This file defines the API for server
password valid
ation plugins.
*/
#define MYSQL_PLUGIN_PASSWORD_VALIDATION_INCLUDED
...
...
@@ -31,7 +31,7 @@
/**
Password validation plugin descriptor
*/
struct
st_m
ysql
_password_validation
struct
st_m
ariadb
_password_validation
{
int
interface_version
;
/**< version plugin uses */
/**
...
...
include/mysql/plugin_password_validation.h.pp
View file @
0ce8703e
...
...
@@ -353,7 +353,7 @@ void *thd_get_ha_data(const void* thd, const struct handlerton *hton);
void
thd_set_ha_data
(
void
*
thd
,
const
struct
handlerton
*
hton
,
const
void
*
ha_data
);
void
thd_wakeup_subsequent_commits
(
void
*
thd
,
int
wakeup_error
);
struct
st_m
ysql
_password_validation
struct
st_m
ariadb
_password_validation
{
int
interface_version
;
int
(
*
validate_password
)(
MYSQL_LEX_STRING
*
username
,
...
...
plugin/cracklib_password_check/cracklib_password_check.c
View file @
0ce8703e
...
...
@@ -58,7 +58,7 @@ static struct st_mysql_sys_var* sysvars[]= {
NULL
};
static
struct
st_m
ysql
_password_validation
info
=
static
struct
st_m
ariadb
_password_validation
info
=
{
MariaDB_PASSWORD_VALIDATION_INTERFACE_VERSION
,
crackme
...
...
plugin/simple_password_check/simple_password_check.c
View file @
0ce8703e
...
...
@@ -79,7 +79,7 @@ static struct st_mysql_sys_var* sysvars[]= {
NULL
};
static
struct
st_m
ysql
_password_validation
info
=
static
struct
st_m
ariadb
_password_validation
info
=
{
MariaDB_PASSWORD_VALIDATION_INTERFACE_VERSION
,
validate
...
...
sql/sql_acl.cc
View file @
0ce8703e
...
...
@@ -879,8 +879,8 @@ struct validation_data { LEX_STRING *user, *password; };
static
my_bool
do_validate
(
THD
*
,
plugin_ref
plugin
,
void
*
arg
)
{
struct
validation_data
*
data
=
(
struct
validation_data
*
)
arg
;
struct
st_m
ysql
_password_validation
*
handler
=
(
st_m
ysql
_password_validation
*
)
plugin_decl
(
plugin
)
->
info
;
struct
st_m
ariadb
_password_validation
*
handler
=
(
st_m
ariadb
_password_validation
*
)
plugin_decl
(
plugin
)
->
info
;
return
handler
->
validate_password
(
data
->
user
,
data
->
password
);
}
...
...
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