From b1192bbfc991af57736dba7c30fb4d92dd6f436c Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Sun, 4 Apr 2010 13:51:02 +0200 Subject: lib/replace: Don't use StrnCpy inside crypt.c With this and the int32_t/int64_t change, talloc crossbuilds to android --- lib/replace/crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); /* -- cgit