1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

lib/replace: Don't use StrnCpy inside crypt.c

With this and the int32_t/int64_t change, talloc crossbuilds to android
This commit is contained in:
Kai Blin 2010-04-04 13:51:02 +02:00
parent 781a0c0846
commit b1192bbfc9

View File

@ -665,7 +665,7 @@ char *ufc_crypt(const char *key,const char *salt)
* Setup key schedule
*/
clearmem(ktab, sizeof ktab);
StrnCpy(ktab, key, 8);
strncpy(ktab, key, 8);
ufc_mk_keytab(ktab);
/*