diff options
author | Kai Blin <kai@samba.org> | 2010-04-04 13:51:02 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2010-04-04 13:51:02 +0200 |
commit | b1192bbfc991af57736dba7c30fb4d92dd6f436c (patch) | |
tree | c47e910ab7c298fb94e444aa9bfbee153b3929f1 /lib/replace | |
parent | 781a0c08467a29118be85e6ecd035d35fb105e84 (diff) | |
download | samba-b1192bbfc991af57736dba7c30fb4d92dd6f436c.tar.gz samba-b1192bbfc991af57736dba7c30fb4d92dd6f436c.tar.bz2 samba-b1192bbfc991af57736dba7c30fb4d92dd6f436c.zip |
lib/replace: Don't use StrnCpy inside crypt.c
With this and the int32_t/int64_t change, talloc crossbuilds to android
Diffstat (limited to 'lib/replace')
-rw-r--r-- | lib/replace/crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/crypt.c b/lib/replace/crypt.c index aeb8f6e941..3a067bcc77 100644 --- a/lib/replace/crypt.c +++ b/lib/replace/crypt.c @@ -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); /* |