1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Pre requiste MDEV-9245: add host to validate password interface

Hostname added to the interface.

Cracklib plugin fixed according to the new interface.
This commit is contained in:
Oleksandr Byelkin
2021-08-20 14:03:56 +02:00
parent 26c1311c39
commit 9d1a8665cb
8 changed files with 51 additions and 17 deletions

View File

@@ -649,6 +649,7 @@ struct st_mariadb_password_validation
{
int interface_version;
int (*validate_password)(const MYSQL_CONST_LEX_STRING *username,
const MYSQL_CONST_LEX_STRING *password);
const MYSQL_CONST_LEX_STRING *password,
const MYSQL_CONST_LEX_STRING *hostname);
};
}