summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkostja@oak.local <>2003-07-04 20:52:04 +0400
committerkostja@oak.local <>2003-07-04 20:52:04 +0400
commit1d20b23247e19aa6aa5e309fc47d5c5c3bbfe433 (patch)
tree8b19a2b1b84bfe2fb3f99f403acec7fb0a600501 /include
parent7df0475847103581798ddacf75dbf634e8f98d0a (diff)
downloadmariadb-git-1d20b23247e19aa6aa5e309fc47d5c5c3bbfe433.tar.gz
Bug fixes for authentication
OLD_PASSWORD made a keyword to allow set password=old_password('abc') constructions.
Diffstat (limited to 'include')
-rw-r--r--include/mysql_com.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h
index c1f18160667..784a7782855 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -327,7 +327,7 @@ void get_salt_from_password_323(unsigned long *res, const char *password);
void make_password_from_salt_323(char *to, const unsigned long *salt);
void make_scrambled_password(char *to, const char *password);
-char *scramble(char *to, const char *message, const char *password);
+void scramble(char *to, const char *message, const char *password);
my_bool check_scramble(const char *reply, const char *message,
const unsigned char *hash_stage2);
void get_salt_from_password(unsigned char *res, const char *password);