Skip to content

Commit

Permalink
removed unused function char_val from ma_password.c
Browse files Browse the repository at this point in the history
  • Loading branch information
9EOR9 committed Jan 8, 2018
1 parent b00cdcd commit 72b38f5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions libmariadb/ma_password.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,6 @@ void ma_hash_password(ulong *result, const char *password, size_t len)
return;
}

static inline unsigned int char_val(char X)
{
return (uint) (X >= '0' && X <= '9' ? X-'0' :
X >= 'A' && X <= 'Z' ? X-'A'+10 :
X-'a'+10);
}

/*
* Genererate a new message based on message and password
* The same thing is done in client and server and the results are checked.
Expand Down

0 comments on commit 72b38f5

Please sign in to comment.