Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added "dont compress" option with the default setting of
[rsync/rsync.git]
/
authenticate.c
diff --git
a/authenticate.c
b/authenticate.c
index
0ff318b
..
a4835a6
100644
(file)
--- a/
authenticate.c
+++ b/
authenticate.c
@@
-55,7
+55,7
@@
static void gen_challenge(char *addr, char *challenge)
memset(input, 0, sizeof(input));
memset(input, 0, sizeof(input));
- strlcpy((char *)input, addr, 1
6
);
+ strlcpy((char *)input, addr, 1
7
);
gettimeofday(&tv, NULL);
SIVAL(input, 16, tv.tv_sec);
SIVAL(input, 20, tv.tv_usec);
gettimeofday(&tv, NULL);
SIVAL(input, 16, tv.tv_sec);
SIVAL(input, 20, tv.tv_usec);
@@
-112,7
+112,7
@@
static int get_secret(int module, char *user, char *secret, int len)
}
/* generate a 16 byte hash from a password and challenge */
}
/* generate a 16 byte hash from a password and challenge */
-void generate_hash(char *in, char *challenge, char *out)
+
static
void generate_hash(char *in, char *challenge, char *out)
{
char buf[16];
{
char buf[16];