1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Portability fix.

Fixed linking problem with InnoDB.
This commit is contained in:
monty@hundin.mysql.fi
2001-11-07 02:30:34 +02:00
parent f9a321af8a
commit 30209c1d66
10 changed files with 35 additions and 28 deletions

View File

@ -145,7 +145,7 @@ int main(int argc, char** argv)
die("Could not open '%s'(errno=%d)",outfile,errno);
get_pass(pw,sizeof(pw)-1);
my_MD5Init(&context);
my_MD5Update(&context,pw,sizeof(pw)-1);
my_MD5Update(&context,(uchar*) pw,sizeof(pw)-1);
my_MD5Final(digest,&context);
fprintf(fp,"%s:",user);
for (i=0;i<sizeof(digest);i++)