From: Aki Tuomi Date: Thu, 13 Aug 2020 16:13:04 +0000 (+0300) Subject: auth: test-mech - Fix APOP challenge format X-Git-Tag: 2.3.13~343 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a744f282947907c794bd23838775b9124c90b11d;p=thirdparty%2Fdovecot%2Fcore.git auth: test-mech - Fix APOP challenge format --- diff --git a/src/auth/test-mech.c b/src/auth/test-mech.c index cf05370035..0a030a2be0 100644 --- a/src/auth/test-mech.c +++ b/src/auth/test-mech.c @@ -196,8 +196,8 @@ test_mech_construct_apop_challenge(unsigned int connect_uid, unsigned long *len_ { string_t *apop_challenge = t_str_new(128); - str_printfa(apop_challenge,"<%lx.%u.%"PRIdTIME_T"", (unsigned long) getpid(), - connect_uid, process_start_time+10); + str_printfa(apop_challenge,"<%lx.%lx.%"PRIxTIME_T".", (unsigned long)getpid(), + (unsigned long)connect_uid, process_start_time+10); str_append_data(apop_challenge, "\0testuser\0responseoflen16-", 26); *len_r = apop_challenge->used; return apop_challenge->data;