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:
parent
781a0c0846
commit
b1192bbfc9
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user