summaryrefslogtreecommitdiff
path: root/sql/password.c
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-05-13 11:53:30 +0200
committerSergei Golubchik <sergii@pisem.net>2014-05-13 11:53:30 +0200
commitedf1fbd25b81ecb0d5636566b35fa2f7fb09b0b8 (patch)
treece67377af1b49c3b3f0fc093b7a12000e9d5744d /sql/password.c
parent1170a54060168d885cbf682836342d4fc4ccae1a (diff)
downloadmariadb-git-edf1fbd25b81ecb0d5636566b35fa2f7fb09b0b8.tar.gz
MDEV-6153 Trivial Lintian errors in MariaDB sources: spelling errors and wrong executable bits
Diffstat (limited to 'sql/password.c')
-rw-r--r--sql/password.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/password.c b/sql/password.c
index 7a3d8aafde3..37d06136d80 100644
--- a/sql/password.c
+++ b/sql/password.c
@@ -442,7 +442,7 @@ void make_scrambled_password(char *to, const char *password)
/*
Produce an obscure octet sequence from password and random
- string, recieved from the server. This sequence corresponds to the
+ string, received from the server. This sequence corresponds to the
password, but password can not be easily restored from it. The sequence
is then sent to the server for validation. Trailing zero is not stored
in the buf as it is not needed.
@@ -476,7 +476,7 @@ scramble(char *to, const char *message, const char *password)
/*
Check that scrambled message corresponds to the password; the function
- is used by server to check that recieved reply is authentic.
+ is used by server to check that received reply is authentic.
This function does not check lengths of given strings: message must be
null-terminated, reply and hash_stage2 must be at least SHA1_HASH_SIZE
long (if not, something fishy is going on).