summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2022-10-25 08:55:07 -0700
committerWayne Davison <wayne@opencoder.net>2022-10-25 09:04:45 -0700
commitbf96cd314c29c042a28399beac2c8b63b957967f (patch)
tree25083abc3c3f309b5b50e218559cae83cd77545e
parent1b2688807d0e0b9486ad88470480c9f8641f9241 (diff)
downloadrsync-bf96cd314c29c042a28399beac2c8b63b957967f.tar.gz
Init the checksum choices before the daemon auth.
-rw-r--r--compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat.c b/compat.c
index 7acedf0e..4ce8c6d0 100644
--- a/compat.c
+++ b/compat.c
@@ -834,6 +834,8 @@ void output_daemon_greeting(int f_out, int am_client)
char tmpbuf[MAX_NSTR_STRLEN];
int our_sub = get_subprotocol_version();
+ init_checksum_choices();
+
get_default_nno_list(&valid_auth_checksums, tmpbuf, MAX_NSTR_STRLEN, '\0');
io_printf(f_out, "@RSYNCD: %d.%d %s\n", protocol_version, our_sub, tmpbuf);