mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-16 10:16:42 +00:00
Fix few xopen tsafe issues.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3037 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
6db1291e74
commit
71c54f9440
@ -336,7 +336,7 @@ char *crypt(const char *key, const char *salt)
|
||||
if (real_crypt == NULL) {
|
||||
real_crypt = _get_real_func_ ("crypt");
|
||||
}
|
||||
return real_crypt (salt);
|
||||
return real_crypt (key, salt);
|
||||
}
|
||||
assert(0);
|
||||
return NULL;
|
||||
@ -404,7 +404,7 @@ void encrypt(char block[64], int edflag)
|
||||
if (real_encrypt == NULL) {
|
||||
real_encrypt = _get_real_func_ ("encrypt");
|
||||
}
|
||||
return real_encrypt (edflag);
|
||||
return real_encrypt (block, edflag);
|
||||
}
|
||||
assert(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user