git.samba.org
/
anatoliy
/
anatoliy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
781a0c0
)
lib/replace: Don't use StrnCpy inside crypt.c
author
Kai Blin
<kai@samba.org>
Sun, 4 Apr 2010 11:51:02 +0000
(13:51 +0200)
committer
Kai Blin
<kai@samba.org>
Sun, 4 Apr 2010 11:51:02 +0000
(13:51 +0200)
With this and the int32_t/int64_t change, talloc crossbuilds to android
lib/replace/crypt.c
patch
|
blob
|
history
diff --git
a/lib/replace/crypt.c
b/lib/replace/crypt.c
index aeb8f6e941c74a62c81952035bfe1e48758dfb52..3a067bcc77fa2f70268c130ae5a66006e0418d73 100644
(file)
--- 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);
-
StrnC
py(ktab, key, 8);
+
strnc
py(ktab, key, 8);
ufc_mk_keytab(ktab);
/*