diff options
-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); /* |